Forgot to add mailto to the activities launched by intent

This commit is contained in:
Joe Bowser 2010-06-25 14:31:47 -07:00
parent db9d603881
commit 310766180f

View File

@ -223,6 +223,12 @@ public class DroidGap extends Activity {
startActivity(intent);
return true;
}
else if(url.startsWith("mailto:"))
{
Intent mail = new Intent(Intent.ACTION_SENDTO, Uri.parse(url));
startActivity(mail);
return true;
}
else
{
//We clear the back button state