I'm developing a very Simple App. I tested my App in various devices. It works fine. But I do not use OnPause or onStop or onResume methods. because my app running well and resume and stop well without any crash. ... Is these methods useless for simple apps like mine? or I'm wrong? or it is because I declared min-sdk 11?
Asked
Active
Viewed 59 times
0
-
If you are not using, you can simply remove it...no need to override it.. – SweetWisher ツ Nov 29 '14 at 07:06
-
if there is no any problem then there is not mandotry to override activity all or any method. – Haresh Chhelana Nov 29 '14 at 07:09
-
Here is explanation of Activity LifeCycle http://developer.android.com/reference/android/app/Activity.html – Jaydeep Nov 29 '14 at 07:46
2 Answers
0
those are Activity life-cycle callback functions means that they will trigger even you are not using/overriding them and they are not related to min SDK.
you can find very useful information here:

Arash GM
- 10,316
- 6
- 58
- 76
0
The use of different Activity life-cycle methods is already discussed in below Link. Android activity life cycle - what are all these methods for?
Here, you can find good discussion about these life-cycle methods of Activities.
Check in your application if you need to override any of them. For more comprehensive details of Activity life-cycle, refer Activity life-cycle

Community
- 1
- 1

AADProgramming
- 6,077
- 11
- 38
- 58