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?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to