Hi, In V1.1, there are some changes on the DeviceStorage API and that is in order to support internal/external storage. V1.1 introduced a new "navigator.getDeviceStorages(...)" which will return an array of device storages. And old one "navigator.getDeviceStorage()" will return a preferred storage or the first storage in volume list.
I think your problem is related to this change. Sincerely yours. ----- Original Message ----- From: "Igor Leturia" <[email protected]> To: [email protected] Sent: Saturday, September 14, 2013 2:23:51 AM Subject: [b2g] Problem with sd-card API in Geeksphone Peak with Firefox OS 1.1 Hello, I recently flashed my Geeksphone Peak with a Firefox OS 1.1 downloaded from they website, and an app I made that was working all right with Firefox OS 1.0 (it is in the marketplace, https://marketplace.firefox.com/app/hiking-guide) stopped working. The problem is that the sd-card API does not find any files in the card... And other apps seem to be having the same problem: for example, EPUBReader (https://marketplace.firefox.com/app/epubreader) seems to be having the same problem (it does not find any files in the SD card, although there are some epubs there. However, preinstalled apps (like Gallery, Videos...) find those files in the SD card all right. So could there be a problem with privileged apps that try to have access to the SD card? Maybe some change in the API? Or is there any known general issue regarding this? Or is it an issue of the Peak only? Any help will be appreciated. Thansk in advance, Igor Leturia _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
