A screen that contains and runs multiple embedded activities
Questions tagged [activitygroup]
191 questions
2
votes
2 answers
android activitygroup and listactivity
I need to have a List in an Activity that is in a TabHost. The list gets opened when a button is clicked. I however want the new activity to open up and keep the tabs on top, so I created a class, TabActivityGroup, that extends the ActivityGroup and…

Robert de Klerk
- 624
- 3
- 12
- 24
2
votes
1 answer
Maintainig state of child activities in TabGroupActivity
I have followed this tutorial for my application.
I have:
Tab 1: Tabgroupactivity1>(startchildactivity)MainActivty>(startchildactivity)ListActivity>(startchildactivity)DetailActivity
similarly I have other two tabs.
The thing is that when i Return…

Hanry
- 5,481
- 2
- 40
- 53
2
votes
4 answers
Android Activity-Lifecycle... how to avoid onDestroy()?
I have an App, which uses an ActicityGroup to have a stack of Activitys. If I start a new Activity, I do this as Child of my ActivityGroup. Lets assume I'm in my starting Activity (1), and I start a new one(2), so here is what's getting called:
(1):…

Rafael T
- 15,401
- 15
- 83
- 144
2
votes
1 answer
Android-Problem in Menu of Activity in Activity Group
I have used a technique (http://united-coders.com/nico-heid/use-android-activitygroup-within-tabhost-to-show-different-activity)
to develop an app where I have 3 tabs and each tab has its own ActivityGroup. I have menus for each activity. But when…

Manish
- 668
- 1
- 9
- 30
2
votes
1 answer
Slide transition animation in a ActivityGroup on Android
I want to add slide transition animation while changing activities within a ActivityGroup. I have used following function to change activities using intent:
public void replaceContentView(String id, Intent newIntent) {
View view =…

Junaid
- 1,179
- 2
- 18
- 35
2
votes
1 answer
How to animate Activities of ActivityGroup
I am using an ActivityGroup and want a slide_in_up transition while new activity is started.
I am currently using overridePendingTransition(...) method but it has no effect on animation.
Here is the snippet which I am using to launch the new…

wasaig
- 666
- 5
- 18
2
votes
2 answers
Android: many activities on single screen?
I'm creating my first app for Android device and I was faced with a challenge... I want to create fixed bottom bar on every screen of my application (something similar to bars from tunein radio).
However I do not know how to make bars which are…

radzio
- 2,862
- 4
- 26
- 35
2
votes
2 answers
Need Help on TabActivity
I implement a TabActivity exactly like this -
http://blog.henriklarsentoft.com/2010/07/android-tabactivity-nested-activities/
Now the problem is, I have some Spinner in an activity. When i click to expand the Spinner - the following exception…

Shaiful
- 5,643
- 5
- 38
- 41
2
votes
1 answer
Is there a way to pass data between activities in an activity group?
I have all of my intents in activity groups so I can navigate easily using tabs. I've now encountered the problem where I need to pass information to another activity and I don't know how to approach because the activity isn't loaded the normal…

NotACleverMan
- 12,107
- 12
- 47
- 67
2
votes
1 answer
Start activity did not work for android emulator
I use my custom implementation tabhost. Create a new activity as follows:
public class TabsActivityGroup extends ActivityGroup {
//
//...
//
private void startGroupActivity(String activityID, Intent activityIntent) {
final…

Nikolay Moskvin
- 1,038
- 1
- 16
- 27
2
votes
3 answers
How to use TabHost under android 6.0+
Okay, I decided that using TabHost would be nice in my little app.
However, under Android 6.0+, TabActivity and several others have been deprecated.
So I have written this:
public class TabMain extends Activity{
@Override
protected void…

Alphasis
- 75
- 8
2
votes
1 answer
OnResume() Not called in the child activity when used with TabGroupActivity in Xamarin Droid
I am using Tabgroupactivity in Xamarin to develop a droid app.
I have a TabGroupActivity with 4 child activities.
The OnResume() is not being called in any of the child activities.
Can Anyone please help me with the right solution why is it not…

Ravitheja
- 761
- 1
- 8
- 24
2
votes
0 answers
Image is not being displayed in child activity
Here, I have to select an image from gallery or camera. When user selects image from gallery, that selected image should be displayed to next activity. But here these both activities are under the same tab, say tab A. Means in tab A there are two…

Looking Forward
- 3,579
- 8
- 45
- 65
2
votes
2 answers
datepicker in child activity of activitygroup raises BadTokenException error
I need to display two datepickers in a child activity of an activitygroup in a tabbed activity.
the code for the two textviews and to buttons to display the date is:
incorp_date=(TextView)findViewById(R.id.edt_incorpdate);
…

shivani
- 746
- 3
- 22
- 40
2
votes
0 answers
Activity orientation in ActivityGroup
I have problem with recreating activity in ActivityGroup when orientation of screen is changed. This is the structure of app:
I use TabActivity with TabHost. From each tab own ActivityGroup is started and works like stack for next activities.…

Doctor Zoidberg
- 93
- 1
- 8