*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 <asheesharya...@gmail.com>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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en