Skip to content

Instantly share code, notes, and snippets.

@NunciosChums
Last active January 23, 2017 01:35
Show Gist options
  • Save NunciosChums/832047ec0ad46debc2387267422f9f88 to your computer and use it in GitHub Desktop.
Save NunciosChums/832047ec0ad46debc2387267422f9f88 to your computer and use it in GitHub Desktop.
// http://stackoverflow.com/a/15074150/1025379
Bundle bundle = getIntent().getExtras();
if (bundle != null) {
for (String key : bundle.keySet()) {
Object value = bundle.get(key);
Log.w("###", String.format("%s: %s (%s)", key, value.toString(), value.getClass().getName()));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment