android - Go back to original app after opening another app through an intent -
i have android app in open email app this:
intent intent = new intent(intent.action_sendto); intent.settype("image/*"); intent.setdata(uri.parse("mailto:" + email_protectora)); intent.putextra(intent.extra_subject, "adopt"); intent.putextra(intent.extra_text, mpetdetails); uri pictureuri = uri.fromfile(new file(mphotouri)); intent.putextra(intent.extra_stream, pictureuri); if (intent.resolveactivity(getactivity().getpackagemanager()) != null) { startactivity(intent); } it works fine, after email has been sent want go app again, , when hit can navigate through email app without reaching original app again. there way fix that? in advance
Comments
Post a Comment