I want to open the email application on my android app: The following code crashes Am I doing anything wrong? please provide code
Intent i = new Intent (Intent.ACTION_SEND,Uri.fromParts("mailto", "testemail@gmail.com", null));
this.startActivity(i);
Try this, it is a bit more clear. Nonetheless intent for emails only works if you are using the application in a real phone, so if you are using the emulator, try it on a real phone.
Try This :