The problem is most likely in your Profile class... You need to refresh it when you log in.
Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 5, 2012 at 7:21 AM, naseem Rafique <[email protected]>wrote: > Hi folks, > > I am working on an app in which I need to show three Tabs, on Logout I > want to show remove these abs and on login I want to show these tabs with > new user's data who just logged in. > For this I used > > *On Logout:* > * > * > this.tabHost.clearAllTabs(); > > *On Login:* > * > * > * *intent = new Intent(this, Profile.class); > spec = > mTabHost.newTabSpec("Profile").setIndicator("Profile",res.getDrawable(R.drawable.ic_launcher)).setContent(intent); > mTabHost.addTab(spec); > > But it doesn't show my contents of new user, but show old contents. > > Any one, any thoughts. > > Thanks, > Sam. > > -- > 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 > -- 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

