Reputation: 79
I know that file managers allow you to choose, what program will open the file you chose from list of some programs.
I write music player, and i'm interested, whether is the way to put my program to such list?
I want other programs to know, that my program is a music player and can open music files; and i want my program to be able to read command from another program...
Or it is very difficult?
Upvotes: 2
Views: 36
Reputation: 13936
You simply add the intent filter for the type of intents you want your to allow. This article will tell you more on how to implement and explain the details: I would also read up on this SO thread that also describes intent filter for music applications more closely.
Upvotes: 3