Hi,

Playing MP3 from the following code works fine:

Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
File file = new File(<your mp3>);
intent.setDataAndType(Uri.fromFile(file), "audio/*");
startActivity(intent);

This launches the built in MediaPlaybackActivity and begins playing
the
desired track. However, I'm now trying to figure out to keep that
track playing when you back out of the MediaPlaybackActivity. My
problem is that when you back out of the MediaPlaybackActivity, the
track stops.

Is is possible ? Is there any extra intent ?

Thanks for your help.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to