A screen that contains and runs multiple embedded activities
Questions tagged [activitygroup]
191 questions
16
votes
2 answers
Android 1.6 & Fragment & Tabhost
I'm working on upgrading an Android application (1.6 compatibility) which uses a TabHost to show 3 different tabs with nested activities.
At the time I used the ActivityGroup trick to show nested activities in a tab but I'm very unhappy with this…

Vivi
- 972
- 1
- 14
- 30
14
votes
3 answers
Android: AsyncTask ProgressDialog will not open in ActivityGroup
I am trying to have a a progress dialog open when polling my server. The class is an ActivityGroup because it is nested within a tab bar. To keep the view within the frame, the ActivityGroup is needed. Here is the declaration of my ActivityGroup…

mbseid
- 1,044
- 10
- 18
9
votes
2 answers
startActivityForResult from ActivityGroup?
I can't seem to get ANY result when trying to start an activity from an activitygroup. I've put an onactivityresult in the activity and activitygroup? Specifically I'm trying to let the user choose a photo/video from the Intent.ACTION_GET_CONTENT,…

Matt
- 161
- 1
- 3
7
votes
1 answer
pausing and resuming child activities in ActivityGroup
I am making a first try att creating a custom ActivityGroup. I am getting everything working except the activity lifecycle methods of the groups child activities. How can i call the onResume/onPause methods in my child activities when they…

Emil Sjölander
- 1,773
- 4
- 19
- 27
7
votes
1 answer
Android Fragment vs. Activity Group
I am working on an Android App where I want to implement an Activity Group for each tab. But since Activity Group is deprecated I have to use Fragments. I googled the last days and did some research on that topic but I still don't get it. The…

Bins Ich
- 1,822
- 6
- 33
- 47
6
votes
1 answer
ActivityGroup switch view with animation
So I have this ActivityGroup in which I show 2 Activities. When I'm switching I want to have this transition effect, the current view sliding to the left out of the screen, the new view coming in from the right.
This is my code for switching,…

nhaarman
- 98,571
- 55
- 246
- 278
6
votes
3 answers
Android: Viewing Two Activities in One Screen
I'm looking for the simplest way to have two activities displayed at once, so that one Activity always remains visible, and the other changes with user interaction.
In other words:
I currently have code for a program with several Activities.
The…

Kyre
- 143
- 2
- 7
5
votes
2 answers
ActivityGroup is Deprecated
I am making android application containing three tabs.. On third tab there is login screen..
when i click on login button ...i want to replace the activity with activity containing list view and logout button....
Previously i was using Activity…

Gopesh Gupta
- 707
- 8
- 19
5
votes
1 answer
ActivityGroup Example
Can anybody please give me an example of ActivityGroup. I have heard that by making use of ActivityGroup we can change the nested activities maintaining the TabHost as it is.
Any help would be greatly appreciated.
Thanks,
david brown

David Brown
- 4,783
- 17
- 50
- 75
5
votes
1 answer
Manage navigation properly Tabbar with ActivityGroup or Fragments etc in Android?
I am using Tabbar with ActivityGroup in one of my example application. Following is the structure of my application
Tab1 -> ParentActivity1 -> ChildActivity_11 -> ChildActivity_12
Tab2 -> ParentActivity2 -> ChildActivity_21 -> ChildActivity_22
Tab4…

Vishal Bhingaradiya
- 81
- 4
4
votes
1 answer
onBackPressed() not working inside ActivityGroup
I have an ActivityGroup inside of which I have an Activity. I have overrided the onBackPressed() in this Activity. But unfortunately my onBackPressed() is not being called. So I tried with onKeyDown(). But no effect at all. My problem is, the…

Andro Selva
- 53,910
- 52
- 193
- 240
4
votes
3 answers
Android ActivityGroup Screen Orientation
I am facing a serious issue and i cant find any answers for on the internet. In my application i have an activity group which contains four activities. In the activity which extends activity group i haven't specified the screen orientation code…

nala4ever
- 757
- 2
- 8
- 18
4
votes
1 answer
android: memory usage is increasing each time on tab click (when using activitygroup)
I am using an activity group in my application to show the tabs.
Each time when I click on any tab, its total memory usage increases by 1 MB. And also if I again go to any inner activity within that tab, its memory usage increases again.
I am using…

Jomia
- 3,414
- 10
- 46
- 63
4
votes
1 answer
Switch activities using ActivityGroup in tab(Android)
In the transition between activities(using ActivityGroup in tabs) error:
04-26 08:46:04.599: ERROR/AndroidRuntime(992): java.lang.StackOverflowError
04-26 08:46:04.599: ERROR/AndroidRuntime(992): at…

AlexPohilko
- 41
- 3
4
votes
3 answers
AlertDialog cannot be shown from ListActivity within ActivityGroup
I am trying to show an AlertDialog when an item in a ListActivity is clicked. My app displays the ListActivity under a tab of a TabActivity, and the AlertDialog shows up no problem. The ListActivity (called FavouritesActivity) is pretty much…

GJP
- 415
- 4
- 13