开发者

file not found exception

Hi I am using this code for my android app so that it can capture a image and then use that image for further process, but i get a file not found exception, Can any one help on this source code can be found in the below link.

Thanks Deepesh

Exception for camera :-/sdcard/1312203454810.jpg (Permission denied)
W/System.err( 4931): java.io.FileNotFoundException: /sdcard/1312203454810.jpg (Permission denied)

http://www.brighthub.com/mobile/go开发者_开发技巧ogle-android/articles/43414.aspx


Add this to manifest:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 


Permission denied. You can't access the SDCard. You need to modify your AndroidManifest.xml and add

   <uses-permission
    android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜