dennisjzh / GwtMobile-PhoneGap

gwtmobile-phonegap is a GWT wrapper of the PhoneGap Javascript library. PhoneGap is a cross-platform development framework that provides core mobile device features to web-based mobile apps. GWT by Google is a new way of developing web applications -- write apps in Java then compile into javascript. gwtmobile-phonegap enables a GWT mobile application to use PhoneGap functions.
57 stars 14 forks source link

File95 #2

Closed gcauchon closed 12 years ago

gcauchon commented 12 years ago

fixed the compilation errors on File95 and minor code cleanup to remove warnings.

dennisjzh commented 12 years ago

I am very close to finish up this File functions for the phonegap 0.9.5 version. I have some local changes that are not committed yet. So I am going to cherry-pick your changes and merge them with mine. Thanks for helping with the project. I do have question regarding the code. See my other comment.

gcauchon commented 12 years ago

here the documentation about $entry :

http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#calling

[...] Notice that the reference to the exported method has been wrapped in a call to the $entry function. This implicitly-defined function ensures that the Java-derived method is executed with the uncaught exception handler installed and pumps a number of other utility services. The $entry function is reentrant-safe and should be used anywhere that GWT-derived JavaScript may be called into from a non-GWT context.