forked from github/cordova-android
Forgot to add mailto to the activities launched by intent
This commit is contained in:
parent
db9d603881
commit
310766180f
@ -223,6 +223,12 @@ public class DroidGap extends Activity {
|
|||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
else if(url.startsWith("mailto:"))
|
||||||
|
{
|
||||||
|
Intent mail = new Intent(Intent.ACTION_SENDTO, Uri.parse(url));
|
||||||
|
startActivity(mail);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//We clear the back button state
|
//We clear the back button state
|
||||||
|
Loading…
Reference in New Issue
Block a user