To fix the issue you can do 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.
Android: TabActivity deprecated using Fragment instead