To deal with tabs in Android'e or replacement of TabActivity?

Good night, all.

Decided to look into this matter. Google helped very quickly and I came across two of the tutorial:


Chose the first, as I'm interested in Android version 3.2. Eclipse in response to my TabActivity code highlighted in red and crossed out, explained by the fact that TabActivity is deprecated. The gugleniya on this issue stubbornly insists on using Fragments, but in the sdk for 3.2, this is not and what to do, I don't quite understand. Please help me in this matter...


P. S. Please do not minusovat, if the topic has already izezzhena... I'm just learning.
October 8th 19 at 03:07
1 answer
October 8th 19 at 03:09
Solution
You need to use a compatibility library:
stackoverflow.com/questions/7599816/tabactivity-is-deprecated
I wonder why is there nothing said? - Modesto.Conroy60 commented on October 8th 19 at 03:12
This, of course, cool. While you can use. And what came to replace this TabActivity? - nikita.Stracke commented on October 8th 19 at 03:15

Find more questions by tags JavaAndroid