Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-20 Thread Michael Leung
Can you set the tab with B Fragment to be active?

On Mon, Jan 21, 2013 at 9:25 AM, Summer  wrote:

> https://github.com/Leandros/**ActionBar-with-Tabs
>
>
> say I am in A fragment, i have a button, after I click this button, how
> can I jump to B fragment, as B tab is clicked?
>
> Thanks
> --S
>
>  --
> 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




-- 
Regards,
Michael Leung
http://www.itblogs.info - My IT Blog
http://diary.skynovel.info - My Blog
http://www.michaelleung.info - My Homepage

-- 
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

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-21 Thread Summer Xia Jiang
Could you give me an example of how to set the fragment to be active?
Thanks


On Sun, Jan 20, 2013 at 9:15 PM, Michael Leung wrote:

> Can you set the tab with B Fragment to be active?
>
>
> On Mon, Jan 21, 2013 at 9:25 AM, Summer  wrote:
>
>> https://github.com/Leandros/**ActionBar-with-Tabs
>>
>>
>> say I am in A fragment, i have a button, after I click this button, how
>> can I jump to B fragment, as B tab is clicked?
>>
>> Thanks
>> --S
>>
>>  --
>> 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
>
>
>
>
> --
> Regards,
> Michael Leung
> http://www.itblogs.info - My IT Blog
> http://diary.skynovel.info - My Blog
> http://www.michaelleung.info - My Homepage
>
> --
> 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
>

-- 
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

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-21 Thread Summer
Could you give me an example of how to set the fragment to be active?
Thanks

在 2013年1月20日星期日UTC-8下午9时15分22秒,Michael Leung写道:
>
> Can you set the tab with B Fragment to be active?
>
> On Mon, Jan 21, 2013 at 9:25 AM, Summer  >wrote:
>
>> https://github.com/Leandros/**ActionBar-with-Tabs
>>
>>
>> say I am in A fragment, i have a button, after I click this button, how 
>> can I jump to B fragment, as B tab is clicked?
>>
>> Thanks
>> --S
>>
>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> android-d...@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
>
>
>
>
> -- 
> Regards,
> Michael Leung
> http://www.itblogs.info - My IT Blog
> http://diary.skynovel.info - My Blog
> http://www.michaelleung.info - My Homepage
>

-- 
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

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-21 Thread Michael Leung
actionBar.setSelectedNavigationItem(x)?


On Tue, Jan 22, 2013 at 4:17 AM, Summer  wrote:

> Could you give me an example of how to set the fragment to be active?
> Thanks
>
> 在 2013年1月20日星期日UTC-8下午9时15分22秒,Michael Leung写道:
>>
>> Can you set the tab with B Fragment to be active?
>>
>> On Mon, Jan 21, 2013 at 9:25 AM, Summer  wrote:
>>
>>> https://github.com/Leandros/**Ac**tionBar-with-Tabs
>>>
>>>
>>> say I am in A fragment, i have a button, after I click this button, how
>>> can I jump to B fragment, as B tab is clicked?
>>>
>>> Thanks
>>> --S
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-d...@**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
>>>
>>
>>
>>
>> --
>> Regards,
>> Michael Leung
>> http://www.itblogs.info - My IT Blog
>> http://diary.skynovel.info - My Blog
>> http://www.michaelleung.info - My Homepage
>>
>  --
> 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
>



-- 
Regards,
Michael Leung
http://www.itblogs.info - My IT Blog
http://diary.skynovel.info - My Blog
http://www.michaelleung.info - My Homepage

-- 
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

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-22 Thread Summer Xia Jiang
Yes, this works. Thanks!


On Mon, Jan 21, 2013 at 5:08 PM, Michael Leung wrote:

> actionBar.setSelectedNavigationItem(x)?
>
>
> On Tue, Jan 22, 2013 at 4:17 AM, Summer  wrote:
>
>> Could you give me an example of how to set the fragment to be active?
>> Thanks
>>
>> 在 2013年1月20日星期日UTC-8下午9时15分22秒,Michael Leung写道:
>>>
>>> Can you set the tab with B Fragment to be active?
>>>
>>> On Mon, Jan 21, 2013 at 9:25 AM, Summer  wrote:
>>>
 https://github.com/Leandros/**Ac**tionBar-with-Tabs


 say I am in A fragment, i have a button, after I click this button, how
 can I jump to B fragment, as B tab is clicked?

 Thanks
 --S

  --
 You received this message because you are subscribed to the Google
 Groups "Android Developers" group.
 To post to this group, send email to android-d...@**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

>>>
>>>
>>>
>>> --
>>> Regards,
>>> Michael Leung
>>> http://www.itblogs.info - My IT Blog
>>> http://diary.skynovel.info - My Blog
>>> http://www.michaelleung.info - My Homepage
>>>
>>  --
>> 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
>>
>
>
>
> --
> Regards,
> Michael Leung
> http://www.itblogs.info - My IT Blog
> http://diary.skynovel.info - My Blog
> http://www.michaelleung.info - My Homepage
>
> --
> 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
>

-- 
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

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-22 Thread Summer
yeah, it works. thx

在 2013年1月21日星期一UTC-8上午10时17分32秒,Summer写道:
>
> Could you give me an example of how to set the fragment to be active?
> Thanks
>
> 在 2013年1月20日星期日UTC-8下午9时15分22秒,Michael Leung写道:
>>
>> Can you set the tab with B Fragment to be active?
>>
>> On Mon, Jan 21, 2013 at 9:25 AM, Summer  wrote:
>>
>>> https://github.com/Leandros/**ActionBar-with-Tabs
>>>
>>>
>>> say I am in A fragment, i have a button, after I click this button, how 
>>> can I jump to B fragment, as B tab is clicked?
>>>
>>> Thanks
>>> --S
>>>
>>>  -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-d...@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
>>
>>
>>
>>
>> -- 
>> Regards,
>> Michael Leung
>> http://www.itblogs.info - My IT Blog
>> http://diary.skynovel.info - My Blog
>> http://www.michaelleung.info - My Homepage
>>
>

-- 
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