http://groups.google.com/group/android-developers/browse_thread/thread/3d510d76d38cde51/a8c686fd834a2196
>From this link, I realized TabHost is assosiated with TabActivity, So we can't create Tabs without tabActivity. When executed I got this exception in Logcat.. "Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs'" and this is from setUp()... So, just out of curiosity, I created a TabWidget and added the id as, int id = android.R.id.tabs; and set this id to my TabWidget. But I can't add this TabWidget to my TabHost. Then again, I got stuck... Nithin On May 18, 6:47 pm, Nithin <[email protected]> wrote: > Hi, > > Is it necessary to use TabActivity for displaying Tabs. I want to > display tabs from Activity. Is it possible. > > Nithin > > -- > 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 > athttp://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

