Hello hackbod,

That is exactly, what I was looking for! Thanks! I think, that
application code, which is
independent of any activity, should be placed some neutral place.

Best regards,
Jakob Bjerre Jensen

On 21 Mar., 20:48, hackbod <[EMAIL PROTECTED]> wrote:
> One approach you can take:
>
> http://code.google.com/android/reference/android/app/Application.html
>
> On Mar 21, 12:03 am,JakobBjerreJensen
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > Hello,
>
> > As far as I understand the Android framework, the entry point for an
> > application is the
> > onCreate() method for some activity. However I would like to do some
> > initialization (prior
> > to showing the first window in the app), which are related to the whole
> > application, not to
> > a specific activity.
>
> > Does there exist some hook for doing this? Or is there any other natural
> > place to put this kind of
> > initialization code?
>
> > Best regards,
> >JakobBjerreJensen- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to