Hi, All
I'm glad to announce that the Java extension on Android is basically ready for 
usages of both internal and external extensions. That's to say, crosswalk 
developers and web developers can develop SysApps APIs and external extensions 
combined with their web apps together on Android. Thanks to Gao Chun, Huo 
Halton and Wu Donna to help me set up this mechanism. Thanks to the guys from 
native extension mechanism as well.

* Features:
Sit on top of native extension mechanism but de-coupled. No changes to 
JavaScript code stub. Pure Java implementation since Android only provides Java 
system APIs.
Support multiple instances of extensions.
Support internal extension. Now extensions like WiDi and Device capabilities 
have already based on internal extensions and work well.
External extensions are supported on both shared mode and embedded mode.
* Why:

Current native extension mechanism only works for C++. However, all Android 
APIs are exposed as Java language. It's more convenient and easy to develop and 
maintain extension implementations based on Android Java extension system.
* How to develop extensions:
For external extensions, please see the documentation 
here<https://github.com/crosswalk-project/crosswalk-website/wiki/Writing-a-Crosswalk-Java-Extension-on-Android>.
 More automatic scripts to aid web developers are needed. Welcome to your 
comments. JamesK, could you please help review it and might migrate it to 
crosswalk-project.org in future?
For internal extensions, please follow up the code of WiDi and Device 
capabilities. Easy to use.
* Limitations:
Currently if a Java implementation of extension needs additional Android 
permissions, we don't support them in crosswalk tools. But we'll add the 
support soon.
* Open:
         We'd like to migrate the design doc into google doc. Any guideline or 
BKM?

Yongsheng

_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to