skip to Main Content

Intent Not Working on Emulator Android Studio

trying to use Email intent on emulator logged in to Gmail on emulator but still, it is not connecting to Gmail. Intent email = new Intent(Intent.ACTION_SENDTO); email.setData(Uri.parse("mailto:")); // only email apps should handle this email.putExtra(Intent.EXTRA_SUBJECT, "Your Order"); email.putExtra(Intent.EXTRA_TEXT,pricemessage); if (email.resolveActivity(getPackageManager())…

VIEW QUESTION
Back To Top
Search