Questions tagged [tabactivity]

This tag is related to android TabActivity. It is an activity that contains and runs multiple embedded activities or views.

320 questions
0
votes
1 answer

TabActivity and getTabHost() aren't working in my eclipse. How to solve these problems?

Here is my code There're some problems here Why TabActivity is scratch in my eclipse? getTabHost() is getting error? Can anyone fix this code? I'll try to learn from androidhive.com then i see this tutorial but when I write it in eclipse, it's…
0
votes
2 answers

Adding Search functionality to TabActivity

As per my application requirement i created a activity which extends TabActivity, added Tabs and different Activities as Content for those tabs. Upto this everything okay, but I want to add search functionality to entire TabActivity, that means…
Mahesh
  • 75
  • 1
  • 1
  • 6
0
votes
1 answer

How to access to a class of a tab?

I use a TabActivity, and I have a menu (on the title bar). I want that when I click on a menu button, I instantiate this class in one of my tabs. So, my tab : public class Tab1 extends ListActivity { ... class Chargement extends AsyncTask
Pierre
  • 450
  • 6
  • 18
0
votes
1 answer

My Tab changed to 1st tab on screen rotation

I am creating an android application, where a tabActivity resides. the on create method of my tab activity is given below. protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub …
Vikky
  • 933
  • 2
  • 15
  • 29
0
votes
2 answers

Error during running application

In my Android application's main Activity is a tabActivity and one of the tab contains another Tab activity. I load the 2nd activity with different views. There is an error on loading the Application on the emulator. 03-11 16:28:46.463:…
Vikky
  • 933
  • 2
  • 15
  • 29
0
votes
1 answer

left and right swipe animation in tabActivity

I want to provide swipe(left and right) feature same as of Sherlock action bar, how can i achieve it in TabActivity. I have implemented onfling() but could not achieve it here is the code package com.restaurantapp.pkg; import…
Vivek Singh
  • 1,201
  • 3
  • 17
  • 39
0
votes
1 answer

TabActivity not starting activity when tab widget touched

@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_uicreate_session); TabHost tabHost = getTabHost(); TabSpec sessionTab =…
JamieB
  • 923
  • 9
  • 30
0
votes
1 answer

How to know last tab id in activity group?

i have implemented activity group in tab host.having 4 activity group.in every first activity of each activity group i have a back button.i am facing one problem.let's assume i am having 4activity group say A,B,C,D.now when application launch,on…
Aamirkhan
  • 5,746
  • 10
  • 47
  • 74
0
votes
1 answer

How to display tab view without extending TabActivity

I am experimenting with a TabHost widget. I did not realise that the TabActivity has been deprecated. I am having trouble actually displaying my TabHost on the screen when I run my activity. At present My XML file contains the…
Javacadabra
  • 5,578
  • 15
  • 84
  • 152
0
votes
1 answer

3 tabs with each listview populated via database in a single activity? Can it slow down the phone?

i was planning to that way, i dont know how to use tab activity or fragments, and im in kinda rush now. Is this way of building the class may slow down the phone? each listview will probably have 30 entries each. Thanks developing with platform 2.2.
mcr619619
  • 435
  • 1
  • 4
  • 13
0
votes
1 answer

TabActivity to FragmentActivity

I have been searching answer but no where to be found. Seem that this is really new. Google says TabActivity is deprecated and should use FragmentActivity. Previously I have all the activities to be switched in tabHost. Now if I want to switch to…
neobie
  • 2,847
  • 5
  • 27
  • 31
0
votes
0 answers

How to Handle onActivityResult function in TabLayout in Android

I have Tab Activity with 5 tab namely camera,gallery,listing ,history and logout in camera tab I open camera and take picture and save in gallery and at the same time I open form with this picked image. My problem is when I don't fill form and move…
0
votes
1 answer

Android TabActivity how to start Intent only on TabChange

I have a problem with my Code: I want to make a Highscore list with Google AppEngine and it works. Google AppEngine returns a String which is parsed and filled in a Layout. The activity HighscoreListe connects to AppEngine and will get this…
user1718339
  • 373
  • 1
  • 3
  • 7
0
votes
3 answers

Call startActivityForResult From the TabActivity

I am having a TabActivity class which is hosting three tabs Tab1 Tab2 and Tab3 I want to start an activity from tab2 which delivers result to tab1. All the tabs are hosted in a class MyTabActivity.java Plz help guyz
anurag
  • 82
  • 2
  • 10
0
votes
2 answers

How to handle back pressed on sub activity of TabActivity?

I am implementing Tab environment as follow : There is one class TabScreenABCActivity extends TabActivity,in that i have handled the tabchange functionality. I have implemented MyTabGroupActivity extends TabGroupActivity. From this class, i have…
Bhavik Goswami
  • 163
  • 1
  • 11