提交 6115786f 编写于 作者: Y Yuki Takeya

Add Alipay Support for WebViewEx

上级 1f45e547
...@@ -5,7 +5,7 @@ publish { ...@@ -5,7 +5,7 @@ publish {
userOrg = 'takeya-yuki-studio' //bintray注册的用户名 userOrg = 'takeya-yuki-studio' //bintray注册的用户名
groupId = 'jp.ruby.rubylib' //compile引用时的第1部分groupId groupId = 'jp.ruby.rubylib' //compile引用时的第1部分groupId
artifactId = 'webviewex' //compile引用时的第2部分项目名 artifactId = 'webviewex' //compile引用时的第2部分项目名
publishVersion = '2.1.2' //compile引用时的第3部分版本号 publishVersion = '2.1.3' //compile引用时的第3部分版本号
desc = 'Ruby Extended Controls - WebViewEx' desc = 'Ruby Extended Controls - WebViewEx'
website = 'https://github.com/Takeya-Yuki/RubyLib.git' website = 'https://github.com/Takeya-Yuki/RubyLib.git'
} }
......
...@@ -553,6 +553,9 @@ public class WebViewEx extends WebView{ ...@@ -553,6 +553,9 @@ public class WebViewEx extends WebView{
else if(scheme.equals("weixin")){ else if(scheme.equals("weixin")){
externalSchemeIntent=new Intent(Intent.ACTION_VIEW,uri); externalSchemeIntent=new Intent(Intent.ACTION_VIEW,uri);
} }
else if(scheme.equals("alipays")){
externalSchemeIntent=new Intent(Intent.ACTION_VIEW,uri);
}
else { else {
externalSchemeIntent = null; externalSchemeIntent = null;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册