Skip to content

Instantly share code, notes, and snippets.

@topherPedersen
Created November 26, 2017 10:46
Show Gist options
  • Save topherPedersen/2fa1f842ab3dc0aabe95c029cf3e9b0e to your computer and use it in GitHub Desktop.
Save topherPedersen/2fa1f842ab3dc0aabe95c029cf3e9b0e to your computer and use it in GitHub Desktop.
Create Intent, Start Activity (Android/Java)
Intent i = new Intent(this, NewActivity.class);
i.putExtra(EXTRA_FOO, "bar");
startActivity(i);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment