Thanks Yongsheng, great news!

         We'd like to migrate the design doc into google doc. Any guideline or 
BKM?

That should be fine, I'm just curious to know why the wiki isn't sufficient?


From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] 
On Behalf Of Zhu, Yongsheng
Sent: Wednesday, October 30, 2013 7:23 AM
To: crosswalk-dev@lists.crosswalk-project.org
Cc: Gao, Chun
Subject: [Crosswalk-dev] Crosswalk Java extension mechanism on Android

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

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to