Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWill context.getApplicationContext return null happen? #356
Comments
Can you show those crashes? |
Possible in theory bizarre in practicality. |
Yes it will some times. |
It happened on a few devices. I can't reproduce. |
Services are running in a different sandbox from the app, having a service running doesn't guarantee keeping the app alive. |
Careful when using |
According to this page Understanding the Android Application Class
So the application will be released when somes components is alive? My app has some crash reports caused by application null pointer exception in service.