David Corticchiato created CB-568:
-------------------------------------
Summary: 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, CordovaJS
Reporter: David Corticchiato
Assignee: Joe Bowser
Fix For: 1.6.1
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