i've asked this before, and wonderful dianne has answered, but i'm not
satisfied with the answer :) -- dang he's stubborn!

i want to know within a method / code, is there a way to get at the
global application object or current activity without having an
activity / context / whatever first.

for example:

public static Object getApp() {
    // insert code here to get a handle to an android.app.Application
object.
}

it just seems there *has* to be a way...

tia.
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to