onCreate -Prob?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

onCreate -Prob?

Postby chaoz1336 » Fri Aug 21, 2009 3:10 pm

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: System services not available to Activities before onCreate()"

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
chaoz1336
Experienced Developer
Experienced Developer
 
Posts: 90
Joined: Wed Dec 10, 2008 5:19 pm

Top

Postby chaoz1336 » Mon Aug 24, 2009 8:10 am

need some help =(=(=(
chaoz1336
Experienced Developer
Experienced Developer
 
Posts: 90
Joined: Wed Dec 10, 2008 5:19 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests