You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Matthew Windwer (Created) (JIRA)" <ji...@apache.org> on 2012/03/13 21:56:44 UTC

[jira] [Created] (CB-320) Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)

Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)
------------------------------------------------------------------

                 Key: CB-320
                 URL: https://issues.apache.org/jira/browse/CB-320
             Project: Apache Callback
          Issue Type: Bug
          Components: Android
    Affects Versions: 1.5.0
            Reporter: Matthew Windwer
            Assignee: Joe Bowser


According to the release notes for 5.0, this should not be an issue:

"Prefix URIs for file API with file:/// and persistent storage should never point to SD card"

However, using the following method, my file is still being stored to the SD card:

window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) {
  fileSystem.root.getFile("account.txt", { create: true , exclusive: false }, function(fileEntry) {
    fileEntry.file(function(file) {
      console.log(file); // {"fullPath": "/mnt/sdcard/account.txt", "lastModifiedDate": 1331530073000, "name": "account.txt", "size": 64, "type": "text/plain"}
    });
  });
});


--
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

        

[jira] [Commented] (CB-320) Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)

Posted by "Matthew Windwer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228779#comment-13228779 ] 

Matthew Windwer commented on CB-320:
------------------------------------

Is this still something that you guys are planning to at some point on Android 4.0? Main reason being-- when uninstalling an Android app, the files remain on the sd card, which could cause issues if the user re-installs the app in the future.
                
> Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)
> ------------------------------------------------------------------
>
>                 Key: CB-320
>                 URL: https://issues.apache.org/jira/browse/CB-320
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 1.5.0
>            Reporter: Matthew Windwer
>            Assignee: Joe Bowser
>            Priority: Minor
>
> According to the release notes for 5.0, this should not be an issue:
> "Prefix URIs for file API with file:/// and persistent storage should never point to SD card"
> However, using the following method, my file is still being stored to the SD card:
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) {
>   fileSystem.root.getFile("account.txt", { create: true , exclusive: false }, function(fileEntry) {
>     fileEntry.file(function(file) {
>       console.log(file); // {"fullPath": "/mnt/sdcard/account.txt", "lastModifiedDate": 1331530073000, "name": "account.txt", "size": 64, "type": "text/plain"}
>     });
>   });
> });

--
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

        

[jira] [Updated] (CB-320) Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Brooks updated CB-320:
------------------------------

    Fix Version/s: Master

Setting the _Fix Version_ to _Master_. In other words, an indefinite fix date.
                
> Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)
> ------------------------------------------------------------------
>
>                 Key: CB-320
>                 URL: https://issues.apache.org/jira/browse/CB-320
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 1.5.0
>            Reporter: Matthew Windwer
>            Assignee: Joe Bowser
>            Priority: Minor
>             Fix For: Master
>
>
> According to the release notes for 5.0, this should not be an issue:
> "Prefix URIs for file API with file:/// and persistent storage should never point to SD card"
> However, using the following method, my file is still being stored to the SD card:
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) {
>   fileSystem.root.getFile("account.txt", { create: true , exclusive: false }, function(fileEntry) {
>     fileEntry.file(function(file) {
>       console.log(file); // {"fullPath": "/mnt/sdcard/account.txt", "lastModifiedDate": 1331530073000, "name": "account.txt", "size": 64, "type": "text/plain"}
>     });
>   });
> });

--
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

        

[jira] [Updated] (CB-320) Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)

Posted by "Joe Bowser (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-320:
--------------------------

    Component/s:     (was: Android)
                 Docs
       Priority: Minor  (was: Major)

This was intentionally changed right before release for 1.5.0.  During regression, there was discussion on the mailing list for this issue and it was changed back.  It seems that the release notes for this are wrong, so I'm making this a docs bug and lowering this down to minor.
                
> Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)
> ------------------------------------------------------------------
>
>                 Key: CB-320
>                 URL: https://issues.apache.org/jira/browse/CB-320
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 1.5.0
>            Reporter: Matthew Windwer
>            Assignee: Joe Bowser
>            Priority: Minor
>
> According to the release notes for 5.0, this should not be an issue:
> "Prefix URIs for file API with file:/// and persistent storage should never point to SD card"
> However, using the following method, my file is still being stored to the SD card:
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) {
>   fileSystem.root.getFile("account.txt", { create: true , exclusive: false }, function(fileEntry) {
>     fileEntry.file(function(file) {
>       console.log(file); // {"fullPath": "/mnt/sdcard/account.txt", "lastModifiedDate": 1331530073000, "name": "account.txt", "size": 64, "type": "text/plain"}
>     });
>   });
> });

--
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

        

[jira] [Issue Comment Edited] (CB-320) Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)

Posted by "Matthew Windwer (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228779#comment-13228779 ] 

Matthew Windwer edited comment on CB-320 at 3/13/12 10:47 PM:
--------------------------------------------------------------

Is this still something that you guys are planning to change at some point on Android 4.0? Main reason being-- when uninstalling an Android app, the files remain on the sd card, which could cause issues if the user re-installs the app in the future.
                
      was (Author: mwindwer):
    Is this still something that you guys are planning to at some point on Android 4.0? Main reason being-- when uninstalling an Android app, the files remain on the sd card, which could cause issues if the user re-installs the app in the future.
                  
> Persistent storage points to SD Card on Android 4.0 (Galaxy Nexus)
> ------------------------------------------------------------------
>
>                 Key: CB-320
>                 URL: https://issues.apache.org/jira/browse/CB-320
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 1.5.0
>            Reporter: Matthew Windwer
>            Assignee: Joe Bowser
>            Priority: Minor
>
> According to the release notes for 5.0, this should not be an issue:
> "Prefix URIs for file API with file:/// and persistent storage should never point to SD card"
> However, using the following method, my file is still being stored to the SD card:
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) {
>   fileSystem.root.getFile("account.txt", { create: true , exclusive: false }, function(fileEntry) {
>     fileEntry.file(function(file) {
>       console.log(file); // {"fullPath": "/mnt/sdcard/account.txt", "lastModifiedDate": 1331530073000, "name": "account.txt", "size": 64, "type": "text/plain"}
>     });
>   });
> });

--
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