*marcelopalmadenoronha*,
Check below code and also check manifest settings whatever asheesh was
asking you to check
Intent i = new Intent(getApplicationContext(), NewActivity.class);
i.putExtra("new_variable_name","value");
startActivity(i);
Then in the new Activity, retrieve those values:
*Bundle extras = getIntent().getExtras();*
if (extras != null) {
String value = extras.getString("new_variable_name");
}
*Thanks*
Fahad Mullaji
On Tue, Jul 31, 2012 at 11:59 AM, Asheesh Arya <[email protected]>wrote:
> have you declared your second activity in manifest file!! check it out!!
>
> --
> 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
>
--
Regards
Fahad Mullaji
--
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