Hi,

I've managed to find out why my application wasn't restarting correctly
after a boot up and it was an uninitialised array that is normally set-up by
the main activity when the application starts.

The question now is....how do I get the main application activity?

The reason  it isn't so straight forward is that I've created a library
which I use in several similar applications, in the library I have a base
activity class which provides core functionality, in that class I have
defined an abstract method called 'setupArray'.

The name of the derived activity class may be different in each
application.  What I would like to do is get a reference to the application
activity from within the library then call the setupArray method to ensure
the array is set-up from the reboot onReceive method.

Does that make sense?

-- 
Regards,
Sy

-- 
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