activity#getApplicationContext returns the Application context, which is a reference to this class, http://developer.android.com/reference/android/app/Application.html, and is available for the livetime of your application.
On Oct 26, 11:40 am, Bluemercury <[email protected]> wrote: > Also wouldnt using the activity.getApplicationContext() result in the same > problem??? if activity is null i would stil lget the null exception??? > > regards, -- 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

