No... just the one that takes your intent.  You are creating the intent but
never using it.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, May 11, 2012 at 12:23 AM, Brian Muscat <brianmuscat...@gmail.com>wrote:

> Thanks should I use 2 setcontent?
>
>
> On Thursday, May 10, 2012 6:26:07 AM UTC+2, MagouyaWare wrote:
>>
>> http://developer.android.com/**reference/android/widget/**
>> TabHost.TabSpec.html#**setContent%28android.content.**Intent%29<http://developer.android.com/reference/android/widget/TabHost.TabSpec.html#setContent%28android.content.Intent%29>
>>
>> Thanks,
>> Justin Anderson
>> MagouyaWare Developer
>> http://sites.google.com/site/**magouyaware<http://sites.google.com/site/magouyaware>
>>
>>
>> On Tue, May 8, 2012 at 5:11 AM, Brian Muscat <brianmus...@dss.com.mt>wrote:
>>
>>> Hi,
>>>
>>> I am trying to set the tab host so that each of the tabs has an XML file
>>> and and Activity file currently I am using
>>>
>>> intent = new Intent().setClass(this, Settings.class);
>>>         spec = tabHost.newTabSpec("Settings")**.setIndicator("Settings",
>>>                           res.getDrawable(R.drawable.**ic_tab_settings))
>>>                       .setContent(R.layout.**settings);
>>>         tabHost.addTab(spec);
>>>
>>> whit this tabs are viewed as it is supposed buy the Activity class is
>>> not connected how can I do this pls?
>>>
>>> --
>>> 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 <android-developers@googlegroups.com>
>>> To unsubscribe from this group, send email to
>>> android-developers+**unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/android-developers?hl=en<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
>

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

Reply via email to