问题
i used netbeans 6.5 for developing android application. i need to add LWUIT for this application. how we can add into this application?
回答1:
LWUIT is a library that works on MIDP.
It is possible to get lwuit running on android through the use of the Activity class. Although no official port exists.
An official Blackberry port does exist. and instructions can be found here: http://lwuit.blogspot.com/2009/11/building-project-on-blackberry.html
回答2:
There already is (for quite a while now) a native LWUIT port for Android contributed by community member Thorsten Schemm with instructions here: http://www.pader-sync.com/lwuit-for-blackberry-and-android.html
This port is fully open source under the same license as LWUIT and available in the LWUIT incubator project here: http://lwuit-incubator.java.net/
There are several commercial applications deployed based on this port to Android, it allows creating an Activity and binding it just like any other activity.
回答3:
Android has its own UI library, concept and lifecycle. It is completely different to the MDIP UI concept.
To use LWUIT, it has to be ported to Android.
Also see: http://developer.android.com/guide/topics/fundamentals.html
来源:https://stackoverflow.com/questions/4086276/how-we-can-add-lwuit-in-android-application