incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-568) Cordova on android mobiles without sdcard
Date Wed, 25 Apr 2012 18:24:21 GMT

     [ https://issues.apache.org/jira/browse/CB-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Filip Maj updated CB-568:
-------------------------

    Component/s:     (was: CordovaJS)

Removing cordova-js tag, sounds like this is a native Android issue.
                
> 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
>            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