incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Corticchiato (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-568) Cordova on android mobiles without sdcard
Date Wed, 25 Apr 2012 13:32:20 GMT
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

        

Mime
View raw message