[android-developers] Re: Start new activity in TAB

2010-01-06 Thread jotobjects
Are you calling this method to set the action for the tab?

http://developer.android.com/intl/fr/reference/android/widget/TabHost.TabSpec.html#setContent%28android.content.Intent%29

On Jan 5, 3:11 pm, smyl smy...@gmail.com wrote:
 the activites are with in the same application , but the thing is that
 when the user clicks on a particular city i can start the  activity
 which contains the forecast for that city but that new activity
 launches on the whole screen not within the current tab , i.e it
 doesn't replaces the  activity that launched it  with in the current
 tab  rather it covers the whole screen .

 On Jan 6, 12:29 am, jotobjects jotobje...@gmail.com wrote:

  Unless the Activities that you want to show under the tabs are
  activities in the same application you may run into the problem
  described here regarding TabWidget -

 http://groups.google.com/group/android-beginners/msg/17c95a6881e1dfe4

  On Jan 5, 5:50 am, smyl smy...@gmail.com wrote:

   i am working on a travelling application and  i am using tabs and each
   tab has an activity i.e world clock in one tab ,weather data in
   another tab and so on

   with in the weather tab i am displaying the users selected cities and
   the scenario is that when the user selects a city  that city's
   forecast is to be displayed and  later to view details as well which
   is in another activity .

   so how can i launch this new activity from the already started
   activity with in the same tab ?
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Start new activity in TAB

2010-01-05 Thread jotobjects
Unless the Activities that you want to show under the tabs are
activities in the same application you may run into the problem
described here regarding TabWidget -

http://groups.google.com/group/android-beginners/msg/17c95a6881e1dfe4

On Jan 5, 5:50 am, smyl smy...@gmail.com wrote:
 i am working on a travelling application and  i am using tabs and each
 tab has an activity i.e world clock in one tab ,weather data in
 another tab and so on

 with in the weather tab i am displaying the users selected cities and
 the scenario is that when the user selects a city  that city's
 forecast is to be displayed and  later to view details as well which
 is in another activity .

 so how can i launch this new activity from the already started
 activity with in the same tab ?
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Start new activity in TAB

2010-01-05 Thread smyl
the activites are with in the same application , but the thing is that
when the user clicks on a particular city i can start the  activity
which contains the forecast for that city but that new activity
launches on the whole screen not within the current tab , i.e it
doesn't replaces the  activity that launched it  with in the current
tab  rather it covers the whole screen .

On Jan 6, 12:29 am, jotobjects jotobje...@gmail.com wrote:
 Unless the Activities that you want to show under the tabs are
 activities in the same application you may run into the problem
 described here regarding TabWidget -

 http://groups.google.com/group/android-beginners/msg/17c95a6881e1dfe4

 On Jan 5, 5:50 am, smyl smy...@gmail.com wrote:



  i am working on a travelling application and  i am using tabs and each
  tab has an activity i.e world clock in one tab ,weather data in
  another tab and so on

  with in the weather tab i am displaying the users selected cities and
  the scenario is that when the user selects a city  that city's
  forecast is to be displayed and  later to view details as well which
  is in another activity .

  so how can i launch this new activity from the already started
  activity with in the same tab ?
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en