I am having a problem with android 4.0 that is
TabActivity in android is deprecated
Then how can we build a project with Tab?
Is Fragment is the right option or it can replace the use of Tabs?
Any suggestion, tutorial or code.
Please help, thanks in advance.
Yes the usage of TabActivity has been deprecated since android 3.0. From now on fragments are supposed to be used. The android compatibility library is a standalone library in the form of a jar file which can be included in projects. This library makes available the api’s for fragments and other new functions introduced in Honeycomb for devices with os version less than 3.0. With the compatibility library fragments can be implmented from android 1.5 upwards.