How to set selected tabwedgets manually?

705 Views Asked by At

Currently I have a TabHost implemented with 3 tabs each containing a separate activity. My question is how can I change my default selected tab . Default selected tabwedget position is 0, but I want to selecte my tab according to requirment. may be selected tab 1 or 2 or 3 ..when i switch to tabactivity. thanks

1

There are 1 best solutions below

0
On

Really?

[Tab Object].setCurrentTab(x);