Tabs can't receive results, only the container (if that is what you are asking, it is really not clear).
On Mon, Apr 6, 2009 at 9:19 AM, zeeshan <genx...@gmail.com> wrote: > > any solution? > > On Apr 6, 10:44 am, zeeshan <genx...@gmail.com> wrote: > > Hi Experts, > > > > i need to start startActivityForResult on a tab click, > > > > here is my activity senario: > > > > Activity A calling startActivityForResult -> B (tab activity) > > startActivityForResult -> C onResult -> A > > > > -> D onResult -> A > > > > tabHost.addTab(tabHost.newTabSpec("Search") > > .setIndicator("",getResources().getDrawable > > (R.drawable.search_icon)) > > .setContent(new Intent(this, MyClass.class))); > > > > how can i call the above MyClass as startActivityForResult ? > > > > also can i call any function on tab click? > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---