[android-developers] Trying to send a message to second activity and then change the second activity textView text to that message

2012-07-31 Thread zep
Hi. For the main acitivity I have this code: package com.example.myapp_0; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.EditText; public class MainActivity extends Activity {

Re: [android-developers] Trying to send a message to second activity and then change the second activity textView text to that message

2012-07-31 Thread Asheesh Arya
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

Re: [android-developers] Trying to send a message to second activity and then change the second activity textView text to that message

2012-07-31 Thread fahad mullaji
*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