Linked Questions

1109 votes
14 answers
934k views

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

is it possible to have method onActivityResume within adapter & call startActivityForResult?
napster's user avatar
  • 747
3 votes
7 answers
28k views

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

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

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

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

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

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

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 ...
kalpana c's user avatar
  • 2,739
3 votes
3 answers
2k views

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 ...
pengwang's user avatar
  • 20k
0 votes
2 answers
5k views

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 ...
CQM's user avatar
  • 44.6k
2 votes
1 answer
4k views

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

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

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

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 ...

15 30 50 per page
1
2 3