I have an app up and running in Play store,i have an issue where android OS kills my app.
Scenario/Steps :
1) Open app, move to any screen.
2) Minimise the app by clicking HOME button.
3) Open several other apps.(say 14 to 15 apps).
4) And now launch my app it CRASHES!!!!.
What i have noticed is instead of app starting from Splash screen it starts from where it was left of and since all my data is lost it gives me NULL POINTER EXCEPTIONS.
Ideally my app should start from the Splash Screen since i am loading all my data there and passing it other activities.
How do i check if my app is killed and load from splash screen ?
I have Application class extended as well but i am not sure how to use that.