It works !!!!
Thanx a million, you're all doing such a great job.
Thanks :-)
regards
Cristina
btw., If somebody is interested in porting over the tutorial from the
luminis blog to the felix wiki/webpage feel free to do so. I was
planning in doing this myself but I don't really find the time atm.
The outline would be roughly like this:
dex felix 1.0.3 + plus some bundles
adb it to android
run them
the detail of how we got it to work are not needed since it is working
out of the box by now.
regards,
Karl
On 3/7/08, Karl Pauls <[EMAIL PROTECTED]> wrote:
>
> Did you try this with Felix 1.0.3 or the current trunk?
>
> We now have android support build into felix directly (as of Felix
1.0.3).
>
> regards,
>
> Karl
>
>
> On Fri, Mar 7, 2008 at 9:37 AM, Cristina Tabacaru
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I'm trying to port SIP-Communicator on (OSGI based application)
> Google's
> > Android.
> > I've followed the excellent tutorial on luminis for using Felix
with
> Android
> > and I've already run some tests with simple jar bundles.
> > SIP Communicator needs
>
> > org.apache.felix.servicebinder-0.9.0-SNAPSHOT.jarbundle, but
when I'm
>
> > launching it on Android, Felix throws the exception
> > below, saying it can't load a Java class file; I mention I've
added the
> > classes.dex to this jar.
> >
> > Has anyone else had a similar problem with this bundle or
another ?
> > How do you think I can work it out ?
> >
> > Thanx,
> > Cristina
> >
>
> > org.osgi.framework.BundleException: Activator start error.
>
> > at org.apache.felix.framework.Felix._startBundle(
Felix.java
> :1607)
> > at org.apache.felix.framework.Felix.startBundle(
Felix.java:1497)
> > at org.apache.felix.framework.BundleImpl.start(
BundleImpl.java
> :354)
> > at org.apache.felix.shell.impl.StartCommandImpl.execute
> > (StartCommandImpl
> > .java:82)
> > at
> >
org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand
> > (Activator.java:265)
> > at
org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(
> > Activator.j
> > ava:167)
> > at java.lang.Thread.run(Thread.java:896)
> > Caused by: java.lang.UnsupportedOperationException: can't load
Java
> class
> > file
> > at java.lang.VMClassLoader.defineClass(Native Method)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java
:245)
> > at
> >
org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(
> > ContentClassLoader.java:182)
> > at
> >
org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassF
> > romModule(ContentClassLoader.java:53)
> > at
> >
org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(Co
> > ntentLoaderImpl.java:121)
> > at
org.apache.felix.framework.searchpolicy.R4Wire.getClass(
> > R4Wire.java:1
> > 01)
> > at
> >
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.searchImpo
> > rts(R4SearchPolicyCore.java:441)
> > at
> >
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassO
> > rResource(R4SearchPolicyCore.java:402)
> > at
> >
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(
> > R4SearchPolicyCore.java:185)
> > at
> org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass
> > (R4Se
> > archPolicy.java:45)
> > at org.apache.felix.moduleloader.ModuleImpl.getClass(
> ModuleImpl.java
> > :152
> > )
> > at org.apache.felix.framework.Felix.createBundleActivator
(
> Felix.java
> > :345
> > 3)
> > at org.apache.felix.framework.Felix._startBundle(
Felix.java
> :1558)
> > ... 6 more
> > java.lang.UnsupportedOperationException: can't load Java class
file
> >
>
>
>
>
> --
> Karl Pauls
> [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Karl Pauls
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]