[
https://issues.apache.org/jira/browse/CB-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261968#comment-13261968
]
Joe Bowser commented on CB-568:
-------------------------------
Actually, there's nothing to fix here. Despite the error in logcat, the image
still appears when I modify the test case to use the DATA_URL. Also, despite
the error, the file actually does exist. I'm going to mark this as not a
problem, since it's not on the Galaxy Nexus or the Nexus S.
> Cordova on android mobiles without sdcard
> -----------------------------------------
>
> Key: CB-568
> URL: https://issues.apache.org/jira/browse/CB-568
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.6.1
> Reporter: David Corticchiato
> Assignee: Joe Bowser
> Fix For: 1.7.0
>
>
> I am testing the getPicture API to get a picture from gallery.
> I wrote this :
> navigator.camera.getPicture(
> this.onSuccess,
> this.onFail,
> {
> destinationType: Camera.DestinationType.DATA_URL,
> sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
> allowEdit: false,
> mediaType: Camera.MediaType.PICTURE,
> }
> Then, I get :
> can't open '/mnt/sdcard/Android/data/com.myapp/cache/Pic.jpg'
> I think PhoneGap try to put the cache in sd card by default. My "Google
> Nexus" don't have any.
> Someone got the same issue ?
> [EDIT]
> I've got this permission in my Manifest, but it does not change anything :
> <uses-permission
> android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira