Skip to content

Instantly share code, notes, and snippets.

@a-v-ebrahimi
Last active October 1, 2015 11:48
Show Gist options
  • Save a-v-ebrahimi/1986376 to your computer and use it in GitHub Desktop.
Save a-v-ebrahimi/1986376 to your computer and use it in GitHub Desktop.
get data from Activity Bundle
Bundle bundle = this.getIntent().getExtras();
if (bundle!=null && bundle.containsKey("input"))
{
String txt=bundle.getString("input");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment