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 {
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
*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
3 matches
Mail list logo