Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean shouldOverrideUrlLoading(WebView myWebView, String url) {
- if (url != null && url.startsWith("sms:?")) {
- myWebView.getContext().startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
- return true;
- } else {
- return false;
- }
- }
- if (url != null && url.startsWith("sms")) {
Add Comment
Please, Sign In to add comment