Hey, this works fine, but my tab control is now gone?
–
Peter WenzelJul 22 '11 at 16:22

Not gone, just sent back on the stack behind the new Activity window. The important thing is to understand that you need to start Activities rather than instantiate them. Now you should rethink your UI options; perhaps a new activity isn't what you need. (Can't help you there, yet, because I'm not sure what effect you're trying to accomplish.) Also, the Android version that you're targeting could be relevant (as per the fragment "trick" discussed in the TabActivity javadoc).
–
cdhabeckerJul 22 '11 at 17:08

the trick should be to reload or restart the Tab WatchActivity in the current UI. The user has the opportunity to set up the watch and with this settings the watch needs to be designed. So what would be the best way to get to a solution where I see the tab UI?
–
Peter WenzelJul 22 '11 at 17:17

Let's start by getting a better picture of what you want. Near as I can tell, you are trying to define a screen with a few tabs, one of which is Watch. The other tabs let the user do things that should affect the contents of Watch, and you are using onTabChanged as an opportunity to tell WatchActivity to update itself. Close?
–
cdhabeckerJul 22 '11 at 17:41

Your original TabChange question morphed into a new navigation topic. If I may be so bold, I think that you should close the original question by accepting my answer. The questions that I mentioned in my previous comment cover your new navigation topic, but if you think there is more to add, then ask a new question and answer it yourself -- that would turn your knowledge into a concise unit that others can query.
–
cdhabeckerJul 27 '11 at 18:44

I presume you have a layout in res/layout called watch.xml? If so check the headers in your WatchActivity and make sure you aren't importing android.R. If you are change it to yournamespace.R e.g. com.myproject.R;
–
GenesisJul 22 '11 at 15:28