FORUMS

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … more

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were … more

playing audio files in an app

201 posts
Thanks Meter: 11
 
By xirokx, Senior Member on 11th July 2014, 11:47 PM
Post Reply Subscribe to Thread Email Thread
27th July 2014, 04:49 AM |#11  
deanwray's Avatar
Senior Member
Thanks Meter: 429
 
Donate to Me
More
Quote:
Originally Posted by xirokx

I am now debugging my app on my device

I have changed the code a little so only 1 file plays at any one time and it works....




However when I click on the list item, a menu opens up asking which browser I want to play the file in....when instead it should open a list of mediaplayers for me to play the file in.

How can I change it?

Thanks for your help.


well thats the way it will work if down to the user not choosing a default and also the way you set it up.... I do reccomend you read the android docs like http://developer.android.com/guide/c...s-filters.html
it will help when asking question and most of the time you wont have to ask cause the answers are there.
 
 
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes