How can an Android Activity use a Knopflerfish OSGi Bundle installed on the device

。_饼干妹妹 提交于 2019-11-29 15:36:34

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!