Linked Questions
39 questions linked to/from How to return a result (startActivityForResult) from a TabHost Activity?
1109
votes
14
answers
934k
views
How to manage startActivityForResult on Android
In my activity, I'm calling a second activity from the main activity by startActivityForResult. In my second activity, there are some methods that finish this activity (maybe without a result), ...
40
votes
4
answers
37k
views
can we call startActivityForResult from adapter?
is it possible to have method onActivityResume within adapter & call startActivityForResult?
3
votes
7
answers
28k
views
Android onActivityResult NEVER called
my onActivityResult method is never called. am using android 2.2
I am using a Tabhost, where TabHosts contain TabGroups which contain individual Activities.
One of my individual activity runs the ...
6
votes
2
answers
6k
views
How to pull string from bundle in onResume()?
I have an activity that is resumed after a user picks a contact. Now before the user picks a contact onSavedInstanceState is called and i put a string in the Bundle. Now, After the user selects the ...
6
votes
1
answer
4k
views
onActivityResult not being called
The 1st Activity (EditCycle) calls the 2nd activity (EditChooseLists)
Intent i=new Intent(EditCycle.this,EditChooseLists.class);
startActivityForResult(i, RESULT_OK);
The 2nd activity (...
2
votes
3
answers
2k
views
onActivityResult() not called when Action Bar 'Up button' is clicked
I'm trying to use startActivityForResult(), I need to start an activity from a fragment, and then process the result in the original activity rather than the fragment that started it (when back is ...
3
votes
4
answers
3k
views
onActivityResult() not called inside a TabHost
I have two Activities, one is a picker activity and the other is a list of choices. Once a choice is clicked, data is returned to the picker activity.
These two activities are part of an activity ...
0
votes
3
answers
6k
views
Call method of an activity from dialog
I have a Tab Interface with two separate activities, lets call them ActA and ActB. Both of these activities can launch a custom Dialog, and I would like to have a button within this dialog call a ...
3
votes
1
answer
4k
views
Issue with onActivityResult in tab activity
I'm developing an application that uses tabHost. In that 5 tabs, Each and every single tab can open multiple activities. My problem is that in last tab (5th tab) I did the functionality of camera ...
3
votes
3
answers
2k
views
How to return a result (startActivityForResult) from a Activity to TabHost Activity?
my Class A calls a startActivityForResult: class A is activitygroup in the one tab of tabactivity
Intent intent = new Intent(this, ClassB.class);
startActivityForResult(intent, "STRING");
ClassB is a ...
0
votes
2
answers
5k
views
Android load gallery onclick, return image as bitmap
I am having difficulty returning information from an activity, my understanding of the implementation is incomplete.
What I want is the user to be able to click a button to load up the android ...
2
votes
1
answer
4k
views
Android Use startActivityForResult from a nested activity in a tab.
I am writing an application that is composed of several tabs created in a tabhost with:
intent = new Intent().setClass(this, Home.class);
spec = tabHost.newTabSpec("Home").setIndicator("Home",
...
3
votes
4
answers
2k
views
how to put progress bar in starting of a new activity
i Have two activities A and B. i used intent to jump from A to B. now in B.
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R....
0
votes
1
answer
2k
views
Simple MVC in android; passing object to activities
I have just recently started working with android development and I am trying to grasp a relatively simple concept I believe. Some background to the question first.
I had recently created a Java ...
0
votes
2
answers
2k
views
How to startactivityforresult in tab child of TabHost
I have TabHost with tab child like this:
tabHost.addTab(tabHost.newTabSpec("web")
.setIndicator("web")
.setContent(new Intent(this, webview.class)));
In WebView class, I ...