guptha wrote:
> hi,
> what is the scenario that makes me to pick between startActivity and
> startSubActivity

First, there is no startSubActivity() any more -- it is
startActivityForResult().

You will choose startActivityForResult() if you are expecting the "sub"
activity to return a result (e.g., ACTION_PICK) and you want to have the
calling activity be notified when that result is ready.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to