How to change label, size of child-tab(tabspec) (of tabhost)

by Huynh Ngoc Bang » Fri, 20 May 2011 09:34:00 GMT

Sponsored Links
 I create tabhost with 4 tabspec.

I would like to change label (setIndicator), size of tab  when tab
change from this  tab to another.
How can I do.?



Other Threads

1. Adding image into imageadapter at runtime

I just want to ask that how it is possible to add images ( bitmaps ) into
ImageAdapter which is BaseAdapter at runtime.

Thank You,
Abdul Ma{*filter*}.


2. Configuring a DNS server IP address on android while using 3G


I wish to configure the IP address of the primary DNS server while using 3G
access from an android application. This is because, the DNS server is part
of a private infrastructure and I need the application to resolve domain
names from this particular DNS server only.

For WiFi access, I have found ways to do this (both from the WiFi Settings)
and also programatically by using android.permission.WRITE_SETTINGS in my
application and then using the System.Settings.WIFI_STATIC_DNS1 and
System.Settings.WIFI_STATIC_DNS2 APIs.

However, for 3G I have not found any such settings or APIs. How do we
configure DNS servers for 3G access? This is an important point, as most 3G
radio access systems use their own DNS servers in the infrastructure. Any

Best Regards



3. Regarding web radio channel playing

4. play audio from a stream in android...

5. CacheManager.getCacheFileBaseDir() always returns null

6. how to Play music from AudioTrack

7. Network connectivity checking without wakelock