When i started my Android project i had a misunderstanding that every screen that\'s shown in the application must be a new activity. Now i am finished with the project , i have
If your project has many activities but some activity is not important,it means that you do not need any activity after another activity start.
In manifest file set : android:noHistory="true"
Example:
Activity1 -> Activity2 -> Activity3 -> Activity4..................-> Activity20
In manifest file:
activity android:name=".Activity1" android:label="@string/app_name" android:noHistory="true"
if u call again Activity1 using Intent than set finish() before startActivity()
I think this can help you