Pass paremeters between Activity
// calling activity | |
Intent i= new Intent(context, QRActivity.class); | |
i.putExtra("url", url); | |
startActivity(i); | |
// 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