I created an application that can play video from internet. I used the following code to start media player
Using java Syntax Highlighting
- Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(strMediaUrl));
- getContext().startActivity(myIntent);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
It working fine for mp4. But for m4v format it trying to download that file. What I want is to open default media player with the url as argument. But it open the url through the browser. Is there any way to do that?. Or I need to create my own player? Any help will be greatly appreciated.


