Skip to content Skip to sidebar Skip to footer

Best Way To Play A Video File?

I have a URL for a video file which I need to play using the native Video-player of the handset. I figured using Intent.ACTION_VIEW and setting the URI as Intent data, I am able to

Solution 1:

Note: Writing a standalone Video Player for our app is NOT an option we can afford at the moment.

First, the video player is not part of the SDK, and relying upon it is a big mistake, as you have already discovered.

Second, creating a simple video player takes about 40 lines of code, and you have already spent more time trying to avoid writing those 40 lines of code that it would have taken just to write the lines in the first place.

Post a Comment for "Best Way To Play A Video File?"