Android Tutorial How they do... #1

netchicken

Active Member
Licensed User
Longtime User
Fantastic resources. Its great to have lessons from someone who really know how to design and code. They will be invaluable. Thanks for that.
 

aklisiewicz

Active Member
Licensed User
Longtime User
You have done great job, this could be an example for others how to make great tutorials.
We can buy everything but time, so... THANK YOU FOR YOUR TIME !
 

LucaMs

Expert
Licensed User
Longtime User
You are too expert, Informatix.

So, you MUST add your method to get the inner tabs to the Snippets forum.
B4X:
Dim r As Reflector
r.Target = TabHost1
r.Target = r.RunMethod("getTabWidget")
For t = 0 To TabHost1.TabCount - 1
  Dim TabPanel As Panel
  TabPanel = r.RunMethod2("getChildAt", t, "java.lang.int")
'...
Next

I'm kidding, of course ... but you should!
 

Informatix

Expert
Licensed User
Longtime User
With the new version of TabHostExtras, I think that you can do the same thing without using the reflection lib, so it's better to use it.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…