I have an issue where I have an ActivityGroup using TabActivities. Everything works great switching between different activities. However, I have some views that I don’t want to have tabs. They are completely different views I don’t want to be part of the activity group.
Currently I’m leaving the activity group by just doing a regular startActivity(intent) in the ActivityGroup‘s startActivityFromChild function.
This works, but when I hit the back button, though I return to the previous TabActivity, onCreate() is called twice as a result.
How can I properly leave a TabActivity to a regular Activity then properly go back to it?
Fixed. The issue had to do with getLocalActivityManager().startActivity(newRecord.id, newRecord.intent); being called twice in the activity group in different functions.