Hi Siju,

Did you configure your AndroidManifest.xml file correctly to invoke
the creation of your custom Application sub-class?

You need to set the "Name" field under the "Application Attributes"
section.


On Dec 17, 5:28 am, Siju <[email protected]> wrote:
> Hi
>
> I got a null pointer exception in an Activity onCreate() while trying
> to access myApplicationobject (extended from
> android.app.Application).This exception occurred very rarely and i
> have no way to reproduce this again.My App starts a service on
> BOOT_COMPLETED intent and the null pointer exception seems to have
> occurred during boot up. Can somebody please throw some light on this
> issue?Applicationshould have been created before creating any
> activities.
>
> Regards
> Siju

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