You need to edit the property:

org.osgi.framework.system.packages

in the following file,

conf/config.properties

Just add the package add the end of the list like:

...
 javax.net.ssl; \
android.content.res; \
 ${dalvik-1.0.0-m3-r22a}

This will make the package available via the system bundle and your
bundle should be able to resolve. Feel free to ask felix related
questions on the felix mailinglist as well :-)

regards,

Karl

On Wed, Feb 18, 2009 at 3:37 PM, ff <[email protected]> wrote:
>
> Hi,
>
> I try felix OSGi on android it works fine... until i try to embed an
> activity.
>
> now some package are missing:
>   Unresolved constraint in bundle 4: package;
> (package=android.content.res))
>
> i'm unable to find where is this package... I think i must customize
> bootclasspath but how ?
>
> I launch felix with this command (found on felix web site):
> /system/bin/dalvikvm -Xbootclasspath:/system/framework/core.jar -
> classpath bin/felix.jar org.apache.felix.main.Main.
>
>
> Any idea !
>
> Franck
>
> >
>



-- 
Karl Pauls
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to