I am following the example here
http://developer.android.com/reference/android/app/TabActivity.html
creating tabs using fragments and in the tutorial it uses TabManager but on my version it says it cannot be resolved.
I am using minsdk set to 14 and targetsdk set to 15.
I don’t wish to use the backward compatible support.
Any ideas which package it is in?
Eclipse doesn’t provide me any help, only asks me to create the class TabManager.
Thanks in advance
TabManageris for the compatibility fragment tabs, not for the 3.0+ fragment tabs. That’s why it can’t be resolved.The tutorial here shows how to create fragment tabs in 3.0+:
http://developer.android.com/reference/android/app/ActionBar.html#newTab()
Also, you don’t have to inherit from
FragmentActivitystarting in Honeycomb unless you want backwards compatibility. You can just inherit fromActivityandFragmentwill be supported.