Jump to content

Standard Android Intent to play track - BUG?

Recommended Posts

I think this is the right place to post this

I'm using the following code in my application:

Intent playMediaIntent = new Intent(Intent.ACTION_VIEW);


Uri data = Uri.parse("file://" + mediaURI);

playMediaIntent.setDataAndType(data, "audio/mp3");


When Poweramp is selected from the chooser, it starts to play the track for a split second and then pauses.

Is this a bug, or is there something else I haven't spotted?

Thanks in advance

Share this post

Link to post
Share on other sites

What is the device/os version you reproduce this issue on? Also what is exactly Poweramp version?

Basically this is intent received by Poweramp when file is chosen in file managers and Poweramp starts it ok, though we've never tested the intent directly.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...