TabHost1.AddTabWithIcon : Problem

ciginfo

Well-Known Member
Licensed User
Longtime User
Hi,
I use TabHost1.AddTabWithIcon
B4X:
TabHost1.AddTabWithIcon ("A l'affiche",  bmp1_kinda, bmp2_kinda, "affiche")
   TabHost1.AddTabWithIcon ("Se restaurer", bmp1_restau, bmp2_restau, "restau")
    TabHost1.AddTabWithIcon ("Shopping", bmp1_shopping, bmp2_shopping, "shopping")
   TabHost1.AddTabWithIcon ("Sortir", bmp1_sortir, bmp2_sortir, "Sortir")

Icons appear when I run my appli on the Emulator.
But they don't appear on the real device when I use BA4 Brige (Wireless) or when I install the appli on my Galaxy S2.
I have not this problem with others appli I have created.
Mysterious? Where is the problem?
Thank you
 

ciginfo

Well-Known Member
Licensed User
Longtime User
1°)Like this?
B4X:
TabHost1.AddTabWithIcon ("",  bmp1, bmp2, "mylayout")
2°) What is the alternative?
 
Upvote 0
Top