开发者

Code of customized video media player in Android

开发者 https://www.devze.com 2023-03-16 22:48 出处:网络
I am getting Permission denied and NullPointerException in following URL code at line when new temporary file is created when streams of bytes 开发者_StackOverfloware downloaded in that file in the ge

I am getting Permission denied and NullPointerException in following URL code at line when new temporary file is created when streams of bytes 开发者_StackOverfloware downloaded in that file in the getDataSource() at File temp = File.createTempFile("mediaplayertmp", "dat");.

The Wi-Fi, Internet, and ExternalStorage permissions are added in manifest file.Is there I am missing any more permissions or any settings or any code?

http://davanum.wordpress.com/2009/12/04/android-–-videomusic-player-sample-take-2/


At last i got my my code solution by my self.. i needed to install sdcard image on emulator..the above errors where coming because it was not getting its internal memory to create temporary file.. Now my code is running fine...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号