I wrote a class to allow for rapid development of tabbed UI in android using Java’s reflection features. While you can develop tabs rapidly this way, you must make sure you enter the names of your classes correctly. If you don’t, the app can crash at runtime (hopefully something you’ll realize when testing it) Regardless, I think it’s a cool feature and android already makes use of this reflection facility anyway — so the same risks are involved.

The main difference is with this method, you get to parameterize tabs. It’s as simple as making a few Activities or Views in XML and calling makeTabs() on them in your Activity that extends SCTabActivity. This came out of my need for a way to make an application with several, several, tabs rapidly.

The code is on my github as a gist: SCTabActivity for android