Hi guys,
my prob is the following:

-my android application has the class TestActivity (entrypoint)
-my app uses "library.jar" wich contains J2ME classes, used as library
-library.jar also includes "UIActivity" [can spawn several dialogs]
wich is called by a (j2me) class of library.jar
-I only have the .class files of the j2me-lib stuff, so I cant modify
them, but I can do so on Android-classes

so... the short form:

TestActivity (Entrypoint)

~Uses function of~
Library.jar (J2ME Lib)

~Uses function of~
UIActivity (also in Library.jar, spawns different dialogs)


finally I get the error:

" -6812675448313451206SetDef java.lang.IllegalStateException: [b]
System services not available to Activities before onCreate()[/b]"

Do I have to use Services instead of Activities?
But afaik I have to give a reference of an activity to spawn dialogs.

I need help... its urgent... any tip would be very great =)=)=)
thx a lot in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to