问题
I have installed Knopflerfish on an Android emulator using this tutorial: http://www.knopflerfish.org/releases/current/docs/android_dalvik_tutorial.html
The installation on the emulator is ok, and now I would like to call an OSGi bundle running on the emulator from my Android Activity. But I just can't find any way to do this.
Is there somebody who has already done such a thing?
回答1:
Have you seen this?
http://nilvec.com/embedding-osgi-into-an-android-application-part-1.html
The patches I submitted for better Android/Dalvik support in Knopflerfish have been merged so patching and recompiling KF should not be necessary anymore:
http://knopflerfish.blogspot.hu/2012/07/knopflerfish-33-released.html
I haven't tested this myself, though.
来源:https://stackoverflow.com/questions/8591976/how-can-an-android-activity-use-a-knopflerfish-osgi-bundle-installed-on-the-devi