Commit f3fa46d2 by Kim Jinsung

Bug #42435 パノラマ(動画・画像)とオブジェクトコンテンツでメールアクションボタン問題

parent fd6a2268
...@@ -291,6 +291,15 @@ public class HTMLWebViewActivity extends ParentWebViewActivity { ...@@ -291,6 +291,15 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
} }
return true; return true;
} }
//mailtoスキームチェック
String mailUrl = ABookKeys.MAIL_TO_URL;
if (url.length() > mailUrl.length() && mailUrl.equals(url.substring(0, mailUrl.length()))) {
//メーラー起動
Intent intent = new Intent(Intent.ACTION_SENDTO,Uri.parse(url));
startActivity(intent);
return true;
}
return false; return false;
} }
......
...@@ -352,6 +352,14 @@ public class HTMLXWalkWebViewActivity extends ParentWebViewActivity { ...@@ -352,6 +352,14 @@ public class HTMLXWalkWebViewActivity extends ParentWebViewActivity {
} else if (url.startsWith(ABookKeys.PING)) { } else if (url.startsWith(ABookKeys.PING)) {
return true; return true;
} }
//mailtoスキームチェック
String mailUrl = ABookKeys.MAIL_TO_URL;
if (url.length() > mailUrl.length() && mailUrl.equals(url.substring(0, mailUrl.length()))) {
//メーラー起動
Intent intent = new Intent(Intent.ACTION_SENDTO,Uri.parse(url));
startActivity(intent);
return true;
}
return false; return false;
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment