Skip to content

Instantly share code, notes, and snippets.



Created Oct 19, 2011
What would you like to do?
Pass paremeters between Activity
// calling activity
Intent i= new Intent(context, QRActivity.class);
i.putExtra("url", url);
// callee activity
Bundle extras = getIntent().getExtras();
if (extras != null) {
mUrl = extras.getString("url");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment