startActivity and startSubActivity

Hunt picture Hunt · Nov 7, 2011 · Viewed 7.4k times · Source

Can anyone tell me the difference between startActivity and startActivityForResult?

Is startActivity used to call Activity asynchronously and startActivityForResult for a synchronous call?

Are startActivity(intent) and startActivityForResult(intent,-1) same?

Answer

Rogério Limas picture Rogério Limas · Oct 7, 2013

Both startActvity() and startActivityForResult() are ASYNCHRONOUS.