As a follow up, I may have gotten the two to work together, or I may
not have.. I am not sure...

So, I got Android to call the AIM class (called AIM_Connect), but when
it does, I get this error:
An error has occurred in com.straightforwardcode.AndrAIM.
java.lang.ExceptionInInitializerError.

So there is some exception when running:
AIM_Connect connection1 = new AIM_Connect ("username", "password");

Is there any way for me to get more information on the specific
reason?  or might this be the java vs android problem I asked about
above?

On Apr 11, 12:58 pm, kfealz <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I'm pretty new to this, but starting to figure things out.
>
> I was under the impression that Android would be able to run Java
> code, so I had the idea of developing an AIM application for Android
> using AOL's Java back end (http://dev.aol.com/aim/sdk), and then
> developing the front end to work with Android.  I've been having some
> problems getting this to work.  When I run the back end as a Java app,
> it works fine, and when I run the Android front end, it works well
> too, but when I try to run the AOL code as part of my Android project
> (in eclipse), I get this:
>
> Error occurred during initialization of VM
> java.lang.StackOverflowError
>         at java.lang.Throwable.nativeFillInStackTrace(Native Method)
>         at java.lang.Throwable.fillInStackTrace(Throwable.java:119)
>         at java.lang.Throwable.<init>(Throwable.java:69)
>         at java.lang.Throwable.<init>(Throwable.java:79)
>         at java.lang.Error.<init>(Error.java:49)
> etc...
>
> those overflows continue for 200+ errors.  I started looking around a
> little and am starting to see that Android doesn't use a strict
> version of Java, so Java apps might not run.  Have I been wasting my
> time?  Is there any way to get this back end to run on Android?  Can
> someone please explain the difference in the type of Java that Android
> uses, and when a Java app would run/won't run?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to