Thursday, August 26, 2010

Lets Talk about TabHosts and ActivityResult, finish() and so on

If you are using TabHosts and Activities in your application, you should read http://stackoverflow.com/questions/2497205/how-to-return-a-result-startactivityforresult-from-a-tabhost-activity

The is a quick stackoverflow question that everyone should read if you intend to use TabHosts and Activities.  If you have Activities returning results and Intents from inside the tab, or tab group, you will need to use the methods discussed.

There is even a nice paste of some Android 1.6 source code that helps explain finish().  It is really impressive how light the Android framework really is.

- Cory

No comments: