You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2013/09/18 23:27:56 UTC

[jira] [Resolved] (CB-4851) Android Storage API

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

Joe Bowser resolved CB-4851.
----------------------------

    Resolution: Incomplete

This is an issue tracker, not the support forums, which is the Google Group found here: (https://groups.google.com/forum/#!forum/phonegap)  Sadly, there are already a series of issues that are open regarding the state of storage on Android.
                
> Android Storage API
> -------------------
>
>                 Key: CB-4851
>                 URL: https://issues.apache.org/jira/browse/CB-4851
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.0.0
>            Reporter: Dick van den Brink
>            Assignee: Joe Bowser
>              Labels: android, storage
>
> According to the documentation the Storage API is provided in the core of cordova, but it is removed from the Android Core.
> Documentation: http://cordova.apache.org/docs/en/3.0.0/cordova_storage_storage.md.html#Storage
> {quote}As of version 3.0, access to Storage APIs is built into Cordova, and does not require using the CLI to add plugins as described in The Command-line Interface.
> {quote}
> I did add the xml to the config page but I get the following error:
> {quote}
> Error adding plugin org.apache.cordova.Storage.
> exec() call to unknown plugin: Storage
> java.lang.ClassNotFoundException: org.apache.cordova.Storage
> at java.lang.Class.classForName(Native Method)
> at java.lang.Class.forName(Class.java:217)
> at java.lang.Class.forName(Class.java:172)
> at org.apache.cordova.PluginEntry.getClassByName(PluginEntry.java:117)
> {quote}
> Is the documentation wrong or is the Storage class incorrectly deleted?
> Note: the storage code is still provided in cordova.js, but not in the jar. Also the Java code is in the 2.9 branch. It is deleted in the commit with sha1 id: adcbd879c846dd3f7a3db960a3c7af14acbbda41

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira