Android -- Cannot get the videos streaming from my server -


i using following code stream videos server on android phone:

intent = new intent(intent.action_view); i.setdata(uri.parse(videourl)); // when hit url in web browser on pc, works startactivity(i); 

when run code, asks me select player. when select player, player opens , nothing happens. i've tried waiting minutes, video never starts.

my question is, simple put video on webserver , on android run above code video streaming?

do need make changes on server? can please me this? cannot figure out if problem sever or client side.

it problem of vlc player using on android phone testing. downloaded mx player , tried that. working fine :-)

that means not every video player on google play mature enough take url , start streaming video. need video player supports feature.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -