[Solved] StartActivityforResult brackets meaning [closed]


public void startActivityForResult (Intent intent, int requestCode) Added in API level 1

Same as calling startActivityForResult(Intent, int, Bundle) with no options.

Parameters

  • intent The intent to start.
  • requestCode If >= 0, this code will be returned in onActivityResult() when the activity
    exits.

Quoted from Android Developers. It’s like a reply for the calling method.

1

solved StartActivityforResult brackets meaning [closed]