knopflerfish

Service and Component in OSGI

女生的网名这么多〃 提交于 2020-01-17 14:02:10
问题 I have some little silly doubts in an OSGI concepts but they need to be clarified to have better understanding of concepts. Can anybody tell me what is the difference between OSGI Service and Component. What i know is that Service is like an interface file in java that can be used either by a different service or by a component. While component is like a particular implementation of the service. Please let me know if i am wrong or suggest some link from where i can get the things nicely. 回答1:

Service and Component in OSGI

六眼飞鱼酱① 提交于 2020-01-17 14:02:09
问题 I have some little silly doubts in an OSGI concepts but they need to be clarified to have better understanding of concepts. Can anybody tell me what is the difference between OSGI Service and Component. What i know is that Service is like an interface file in java that can be used either by a different service or by a component. While component is like a particular implementation of the service. Please let me know if i am wrong or suggest some link from where i can get the things nicely. 回答1:

Embedding Knopflerfish in Android doesn't work

徘徊边缘 提交于 2019-12-30 07:29:40
问题 I am trying to embed the Knopflerfish framework into an android application to load and unload bundles dynamically. I followed this tutorial The first step I did is to download framework.jar frome this link, and to add it to my class path in my eclipse project. Additionally, below is my onCreate() method: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Map fwprops = new Hashtable(); //CHANGED // add any

Starting a Bundle on Knopflerfish embedded into Android doesn't work

人走茶凉 提交于 2019-12-25 10:58:50
问题 I am embedding Knopflerfish framework into an android application to start and stop bundles dynamically. I followed this tutorial, downloaded framework.jar frome this link, and added it to my class path in my eclipse project. Additionally, below is Activity class, which launches the framework and starts one bundle: package com.example.knopflerfish_android; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Dictionary; import java.util.Hashtable;

Pax Web on Knopflerfish on Android

拟墨画扇 提交于 2019-12-24 12:48:22
问题 I'm planning to start OSGi on Android with Web Services, wherein I will be able to run Java Server Pages (jsp) and Java Servlets on Android Browser. My initial step was installing Knopflerfish on Android. I have followed this tutorial from knopflerfish: http://www.knopflerfish.org/releases/5.0.0/docs/android_dalvik_tutorial.html Knopflerfish did well, I have seen the localhost:8080 on the Android phone's browser. My second step was to install Pax Web on Knopflerfish that was also installed on

Full Android support for OSGi bundles [closed]

二次信任 提交于 2019-12-17 17:26:47
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago . This topic explains how you can transform an OSGI framework to run on android. Then it gives tips to convert android packages as OSGI bundles capable of calling android API. At the current stage, the only thing these Android OSGI bundles cannot do is manipulate activities and use resources and

OSGI container identification Equinox / knopflerfish and relation ship between equinox osgi jar and core osgi jar

纵饮孤独 提交于 2019-12-11 23:50:15
问题 Question 1:- I am working on a project which heavily uses OSGI. I am a newbee to OSGI. In my project I see JARS for both equinox and knopflerfish / and or knopflerfish bundles. Question2:- How do I determine among Equinox and Knoplerfish, which container does the OSGI use in my project? I assume OSGI can not use both the containers at a time. Question 3:- This link mentions Equinox framework requires org.eclipse.osgi_<version>.jar to implement OSGI core. So does this mean it does not require

Embedding Knopflerfish in Android doesn't work

瘦欲@ 提交于 2019-12-01 00:26:35
I am trying to embed the Knopflerfish framework into an android application to load and unload bundles dynamically. I followed this tutorial The first step I did is to download framework.jar frome this link, and to add it to my class path in my eclipse project. Additionally, below is my onCreate() method: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Map fwprops = new Hashtable(); //CHANGED // add any framework properties to fwprops FrameworkFactory ff = new FrameworkFactoryImpl(); mFramework = ff

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

孤街醉人 提交于 2019-11-30 10:27:09
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? 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

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