Email us

malitanyo@gmail.com

Read, Learn and Apply

Play videos from url in android project

Creating video player in your android app project that play the videos from the url.


First goto your MainActivity.java or any java files that you want to put the videos player codes, here my full sample codes below.


Screenshot:


Next goto your Layout and add this following codes, located at res/layout/main
Screenshot:


Before start build your project make sure you add the internet permission in your project to allowed your application to connect to internet. if none goto your AndroidManifest.xml and add this two permission.

Done!

No comments:
Write comments

For more android apps develop by Malitanyo.
Please visit here: Malitanyo in Playstore.