[
https://issues.apache.org/jira/browse/CB-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180829#comment-13180829
]
David Sauvier commented on CB-137:
----------------------------------
Thanks for the response.
I looked at GWT-Phonegap-1.2.0.0 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 code.
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: https://issues.apache.org/jira/browse/CB-137
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira