here is my code
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
public class Practice extends Activity {
String
recipientArray[]={"[email protected]","[email protected]"};
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
/* Intent intent = new Intent(this, Pracice2.class);
startActivity(intent);*/
Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_EMAIL, recipientArray);
startActivity(intent);
}
}
When i am trying to run it it is showing that Application Stopped
Unexpectedly please help.
--
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