Hello,

I am working on a application that would allow users to play remote
files. My question is how do I open those remote files to be played in
the default android player?

I have tried something like

Integer i = v.getId();
String link = "http://www.site.com/file.mp3";;
Uri uri = Uri.parse(link);
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

but this does not give me control of what is happening!

Do you know another way?

-- 
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