Hi all, I have an Android application with 3 tabs. Eash tab have more than one view/Activity. Each Activity retrieves the data from Internet, so I do it in an AsyncTask. So, when the user selects a tab the data loads in the AsyncTask and it is displayed in a Listview. This works perfect.
The problem is that after the AsyncTask it returns to the ActivityGroup instead of the Activity loaded in that tab. So if I push the "menu" button no menu appears. However it you change the tab, then get back to the tab and you press the menu button, it works perfect. Also if you select a item from listview, after the asynctask, the menu appears perfectly. So, where is the problem? Do I have to do something after the AsyncTask to return to the UI thread of the Activity loaded in the tab instead of to the ActivityGroup? I have override "onKeyDown" function and now I know that after the AsyncTask the ActivityGroup "onKeyDown" in executed. Thanks in advanced, Marta -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

