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. pesky problems with AVD at wits end what the hell am I doing wrong?

I get this error every time I click create AVD
[2010-06-17 13:28:16 - SDK Manager] Failed to create the SD card.

I also have another problem. When I try to open my simple hello world
app in the emulator I get a bus error. Example:

* I launch the emulator from an avd with no sd card size settings.

* then I install .apk file to the emulator. When I do I get a bus

I think this is because I cannot create an emulator with a proper SD
card setting. Am I right? Or is this another issue I need to deal
with? Of course, any assistance is much appreciated.


2. Media.insertImage locked to heavy compression

So from what I can tell Media.insertImage is locked to heavy
compression on all images. This includes when passing in the path to a
photo in the filesystem. As a test I used a 3000x2000 pixel jpg which
had been previously saved at maximum quality and was ~6MB. After
passing the path to Media.insertImage, the resultant copy (still
3000x2000) is 623KB.

I passed in another copy of the 3000x2000 image, this one compressed
down to 393KB. After Media.insertImage, the image filesize is 492KB.

I'm wondering if there's a way to specify the compression when images
are saved by insertImage.

I'm also wondering why this is recompressing jpgs, rather than simply
copying them into DCIM. A side-effect of opening and re-compressing
these images is that it imposes a rather low VM cap on what
insertImage can handle. I'm getting out-of-memory errors when trying
to pass the path of a 10 megapixel image.

As an aside: are there any problems with a developer creating their
own file/folder structure under DCIM? Is this frowned upon?

Thanks for any thoughts,



3. Audio plugin.

4. Abridged summary of - 22 Messages in 18 Topics

5. AudioTrackTread

6. Gmail, Youtube, Maps

7. Social networking gateway performance....