Hello, I want to pass a String like the input of a new activity, to
let this one use the String some operations. The code I try is this...
Intent i2 = new Intent(this, SaveContact.class);
i2.putExtra("contactcode", result);
startActivityForResult(i2, 2);
And in the activity I try to recover it:
String textout = savedInstanceState.getString("contactcode");
In the onCreate part. I have seen that uris are normally used, but I
don't know how to pass that String by using a URI.
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en