[java]android Videoview Works Only With Local Files
I tried to play a video from a url, but only local videos works in my code. If I try to open a video from a url my nexus 7 displays Can not play this video. Here is the code for th
Solution 1:
Make sure you have the correct permissions for internet access; put the following lines in your AndroidManifest.xml:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Post a Comment for "[java]android Videoview Works Only With Local Files"