Thank u for the tip, I also thought about installing them with a custom
activator, I'll see which of the solutions suits me best.

Regards,
Cristina

On 3/10/08, Karl Pauls <[EMAIL PROTECTED]> wrote:
>
> You will likely have to write a custom launcher. Due to the fact that
> Felix.class implements the Bundle interface, what you can do is
> something along the following lines:
>
> Felix felix = new Felix(...);
> Bundle bundle = felix.getBundleContext().installBundle(location, stream):
> bundle.start();
>
> of course, you could use a custom activator as well, or just provide
> your own bundle that does it but the launcher is probably the easiest
> for now.
>
> regards,
>
> Karl
>
>
> On Mon, Mar 10, 2008 at 9:09 AM, Cristina Tabacaru
> <[EMAIL PROTECTED]> wrote:
> > Hi again,
> >
> >  I have one more question related to embedding Felix into an Android
> >  application.
> >  Thus far, I have launched bundles located outside the .apk file, whose
> paths
> >  were specified in the configuration file.
> >
> >  I would like to include jar files inside the apk in order to simplify
> >  installation process.
> >  I can't specify bundle paths inside the apk but I have access to the
> bundles
> >  as InputStream.By looking at the BundleContext.class, I've seen that
> >  startBundle method takes an InputStream as a parameter. I may use it in
> >  order to pass the jar files of the bundles as parameters; however, this
> >  means rewriting Felix launching method.
> >
> >  Does anyone know a more efficient way to launch InputStream bundles or
> >  should I stick to my new Felix launcher idea ?
> >
> >  Regards,
> >  Cristina
> >
>
>
>
>
> --
> Karl Pauls
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to