Questions tagged [android-tabactivity]

TabActivity is an Activity class that contains and runs multiple embedded activities or views.

The TabActivity is an Android Activity subclass that can be used to show content in the form of tabs(with either Views or other child Activities). With the introduction of Fragments the TabActivity is deprecated and shouldn't be used in new written code(in favor of the more robust Fragment framework).

260 questions
-1
votes
1 answer

Is there any option to implement `LoaderManager.LoaderCallbacks` and respective methods from a `TabActivity`?

Is there any option to implement LoaderManager.LoaderCallbacks and respective methods and getSupportLoaderManager().initLoader(1, null, this); from a TabActivity ? I know that TabActivity is deprecated, but I can't find a solution without…
-1
votes
2 answers

Come back with last updated tab activity

When i come back from tab 1 with saving data and come on the my main tab activity so i come on the current tab 0 so how can i come back with my last updated tab activity ? Thanks
user1496130
-2
votes
1 answer

how to add tab like chrome browser

I want to create a TabActivity that works like a browser. When the activity is created, it has two tabs: "Tab1" and "Add Tab". When the "Add Tab" is clicked, it should Add a new tab. Tab 1 | Add Tab ==> Add Tab is clicked Tab 1 | Tab 2 | Add…
-3
votes
2 answers

I have 2 activities. I need to play one background music to all the activities.I want play and stop song from main activity

This is my main activity which is actually a tab activity. I am choosing list of song and i am trying to play radio in activity given below. public class MainActivity extends TabActivity { String[] actions = new String[] { "Tune-Up", "About Us",…
-4
votes
1 answer

How to implement tab activity

I had already started with a blank activity but now i want to use a tab activity instead is there any way of converting the blank activity to a tab activity
1 2 3
17
18