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.A
Try This :
Intent intent = new Intent(Intent.ACTION_VIEW); Uri data = Uri.parse("mailto:" + "xyz@abc.com" + "?subject=" + "Feedback" + "&body=" + ""); intent.setData(data); startActivity(intent);