incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sauvier (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-137) FileAPI system.root.isDirectory returns false
Date Thu, 05 Jan 2012 20:50:39 GMT


David Sauvier commented on CB-137:

Thanks for the response.

I looked at GWT-Phonegap- with PhoneGap 1.3.0 on the Emulator, my Samsung Galaxy S
running 2.2.1 and Motorola Xoom running 3.2.4. 

In the emulator system.root.isDirectory returns true in javascript code as well as GWT code;
on initial load. 

On both Samsung Galaxy S (phone) and Motorola Xoom Tablet system.root.isDirectory returns
true in javascript code BUT FALSE in GWT code; on initial load.

After backing out of the app and loading again, it returns true in both javascript and GWT

It seems like it's a GWT to phonegap issue, not necessarily a phonegap issue.

> FileAPI system.root.isDirectory returns false
> ---------------------------------------------
>                 Key: CB-137
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.1.0
>         Environment: Android 3.2.4 on Verizon Motorola Xoom Tablet
>            Reporter: David Sauvier
>              Labels: api-change, build, javascript, patch
> While developing GWT-phonegap applications for Android Tablet, we discovered the following:
> Upon the initial loading of the app (a fresh install) system.root.isDirectory of the
FileAPI returns False, rendering the FileAPI inoperable.
> After backing out (back button) and reloading the app, system.root.isDirectory then returns
True and the FileAPI begins to work properly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message