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?
There is no
startSubActivity()
in Android. It was replaced a long time ago bystartActivityForResult()
.