Questions tagged [childactivity]
11 questions
2
votes
3 answers
How to BringtoFront the Parent Activity in Android?
As we know, startActivityForResult() used to get a result for a task from parent activity. Here when we click the setResult(). It returns the result to the parent Activity.
Child Activity means it should maintain the persistent state. That is when…

Praveen
- 90,477
- 74
- 177
- 219
1
vote
3 answers
Android finish child activity error
I'm working on a project where I need to put a few activities under a Tab in Tabhost. I'm using custom tabgroupactivity example which i find somewhere over the internet, but now I have a little issue with finishing my activities. First here is the…

Android-Droid
- 14,365
- 41
- 114
- 185
1
vote
1 answer
Android: YouTubePlayer does not work in childactivity
I'm trying to implement a Video into my app. I thought I can use the YouTubePlayer API and open my Video. This is working fine if I open a normal new intent.
But it does not really work if I open the YouTubeVideoPlayer in my childActivity which has…

Mareinsc
- 9
- 3
1
vote
0 answers
Android: getApplicationcontext.bindService() is not working for the second child activity of Tabhost
I have a dependency project named RemoteServiceConnection() and through this using AIDL I could able to access the methods inside my child activity of Tabhost.
I have a Tabhost with 3 child activities
So for the first child activity of tabhost, …

Randroid
- 3,688
- 5
- 30
- 55
1
vote
1 answer
How to call a function of child activity inside an activity group from parent activity / tab activity?
Suppose , i have a tab activity consist of a TabHost. The TabHost contains 2 tabs, each of two has an activity group of it. Each activity group contains of one activity. Now , say , Tab Activity is a class A. Two activity groups are class B & class…

Junaid
- 1,179
- 2
- 18
- 35
0
votes
1 answer
TabGroupActivity startChildActivity - pause currentActivity
Extending TabGroupActivity, when I start a new childActivity:
public void startChildActivity(String Id, Intent intent) {
Window window = getLocalActivityManager().startActivity(Id,
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP));
…
user849998
0
votes
2 answers
how to transfer data from one child activity to another using startChildActivity?
this is my class name
public class Register extends TabGroupActivity
I am calling 2nd activity through
startChildActivity("Register", new Intent(Register.this,RegisterForm.class));
can any one help me how to transfer some data through this…

user878275
- 21
- 2
0
votes
1 answer
When I open soft keyboard in child activity of activity group.Tabs shifted upward in Android
When I open soft keyboard in child activity of activity group.Tabs shifted upward
here is the images for the problem.
Bugs TabActivity in Child ActivityGroup

Manish Singla
- 1,361
- 1
- 10
- 15
0
votes
1 answer
getParent() is null in onResume inside TabHost child activity
I have a tabhost widget which starts different activies by using Intents.
TabSpec tab = mTabHost.newTabSpec("profile");
tab.setIndicator("profile");
Intent i3 = new Intent(ctx, ProfileActivity.class);
tab.setContent(i3);
mTabHost.addTab(tab);
All…

Arkadiusz 'flies' Rzadkowolski
- 5,676
- 2
- 29
- 31
0
votes
0 answers
Download Manager crashing when calling from child activity
I am facing a head scratching issue and not able to resolve. Can someone here help...
I have one activity (parent) that starts another activity(child). And I am initiating Download Manager from child activity. When I am clicking a button on child…

ravi tiwari
- 521
- 1
- 8
- 24
0
votes
1 answer
Android: How to get a variable from a service to tabhost child activity
I have a Tabhost with 3 child activities
1)TabbarExample.java //tab activity
2)FirstTab.java //child activity
3)SecondTab.java // child activity
4)ThirdTab.java // child activity
So for the first child activity of tabhost,…

Randroid
- 3,688
- 5
- 30
- 55