开发者

TabHost: how to start an activity in another TabGroupActivity

My application contains a TabHost with 3 Tabs:

Tab 1: activity 1, activity 2 ...

Tab 2: activity A, activity B ...

I am using the google tutorial: http://developer.android.com/resources/tutorials/view开发者_运维百科s/hello-tabwidget.html

When I am in activity B, I want to launch, when I click on a button, the activity 1. The problem is the activity is launched in Tab2 and not in Tab1. Any idea to launch it in the good tab?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜