@ -123,6 +125,11 @@ public class EDaiJiaActivity extends Activity implements View.OnClickListener {
123 125
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
124 126
                //  重写此方法表明点击网页里面的链接还是在当前的webview里跳转,不跳到浏览器那边
125 127
//                view.loadUrl(url);
128
                if (url.startsWith("tel:")) {
129
                    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
130
                    startActivity(intent);
131
                    return true;
132
                }
126 133
                return false;
127 134
            }
128 135
        });

+ 1 - 0
app/src/main/java/com/electric/chargingpile/activity/H5Activity.java

@ -271,6 +271,7 @@ public class H5Activity extends Activity implements View.OnClickListener, Platfo
271 271
                    Intent intent = new Intent(Intent.ACTION_VIEW,
272 272
                            Uri.parse(url));
273 273
                    startActivity(intent);
274
                    return true;
274 275
                } else {
275 276
                    view.loadUrl(url);
276 277
                }

+ 6 - 0
app/src/main/java/com/electric/chargingpile/activity/HomeWebActivity.java

@ -6,6 +6,7 @@ import android.app.AlertDialog;
6 6
import android.content.Context;
7 7
import android.content.DialogInterface;
8 8
import android.content.Intent;
9
import android.net.Uri;
9 10
import android.net.http.SslError;
10 11
import android.os.Bundle;
11 12
import android.util.Log;
@ -164,6 +165,11 @@ public class HomeWebActivity extends Activity implements View.OnClickListener, P
164 165
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
165 166
                //  重写此方法表明点击网页里面的链接还是在当前的webview里跳转,不跳到浏览器那边
166 167
//                view.loadUrl(url);
168
                if (url.startsWith("tel:")) {
169
                    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
170
                    startActivity(intent);
171
                    return true;
172
                }
167 173
                return false;
168 174
            }
169 175
        });

+ 7 - 0
app/src/main/java/com/electric/chargingpile/activity/IntegralDescriptionActivity.java

@ -1,5 +1,7 @@
1 1
package com.electric.chargingpile.activity;
2 2
3
import android.content.Intent;
4
import android.net.Uri;
3 5
import android.net.http.SslError;
4 6
import android.os.Bundle;
5 7
import android.util.Log;
@ -89,6 +91,11 @@ public class IntegralDescriptionActivity extends AutoLayoutActivity {
89 91
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
90 92
                //  重写此方法表明点击网页里面的链接还是在当前的webview里跳转,不跳到浏览器那边
91 93
//                view.loadUrl(url);
94
                if (url.startsWith("tel:")) {
95
                    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
96
                    startActivity(intent);
97
                    return true;
98
                }
92 99
                return false;
93 100
            }
94 101
        });

+ 1 - 0
app/src/main/java/com/electric/chargingpile/activity/MyWebViewActivity.java

@ -1336,6 +1336,7 @@ public class MyWebViewActivity extends Activity implements PlatformActionListene
1336 1336
                Intent intent = new Intent(Intent.ACTION_VIEW,
1337 1337
                        Uri.parse(url));
1338 1338
                startActivity(intent);
1339
                return true;
1339 1340
            } else {
1340 1341
                Log.e(TAG, "shouldOverrideUrlLoading: 1");
1341 1342
                view.loadUrl(url);

+ 7 - 0
app/src/main/java/com/electric/chargingpile/activity/OpenFromH5Activity.java

@ -1,6 +1,8 @@
1 1
package com.electric.chargingpile.activity;
2 2
3 3
import android.app.Activity;
4
import android.content.Intent;
5
import android.net.Uri;
4 6
import android.net.http.SslError;
5 7
import android.os.Bundle;
6 8
import android.util.Log;
@ -92,6 +94,11 @@ public class OpenFromH5Activity extends Activity implements View.OnClickListener
92 94
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
93 95
                //  重写此方法表明点击网页里面的链接还是在当前的webview里跳转,不跳到浏览器那边
94 96
//                view.loadUrl(url);
97
                if (url.startsWith("tel:")) {
98
                    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
99
                    startActivity(intent);
100
                    return true;
101
                }
95 102
                return false;
96 103
            }
97 104
        });

+ 6 - 0
app/src/main/java/com/electric/chargingpile/activity/RefundActivity.java

@ -5,6 +5,7 @@ import android.content.Context;
5 5
import android.content.Intent;
6 6
import android.graphics.Bitmap;
7 7
import android.graphics.drawable.ColorDrawable;
8
import android.net.Uri;
8 9
import android.net.http.SslError;
9 10
import android.os.Bundle;
10 11
import android.support.v7.app.AppCompatActivity;
@ -98,6 +99,11 @@ public class RefundActivity extends AppCompatActivity implements View.OnClickLis
98 99
99 100
        @Override
100 101
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
102
            if (url.startsWith("tel:")) {
103
                Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
104
                startActivity(intent);
105
                return true;
106
            }
101 107
//            Log.e(TAG, "onPage1 :"+url );
102 108
//            //  重写此方法表明点击网页里面的链接还是在当前的webview里跳转,不跳到浏览器那边
103 109
////                view.loadUrl(url);

+ 7 - 0
app/src/main/java/com/electric/chargingpile/activity/ShopActivity.java

@ -1,5 +1,7 @@
1 1
package com.electric.chargingpile.activity;
2 2
3
import android.content.Intent;
4
import android.net.Uri;
3 5
import android.os.Bundle;
4 6
import android.util.Log;
5 7
import android.view.KeyEvent;
@ -105,6 +107,11 @@ public class ShopActivity extends CreditActivity implements View.OnClickListener
105 107
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
106 108
                //  重写此方法表明点击网页里面的链接还是在当前的webview里跳转,不跳到浏览器那边
107 109
//                view.loadUrl(url);
110
                if (url.startsWith("tel:")) {
111
                    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
112
                    startActivity(intent);
113
                    return true;
114
                }
108 115
                return false;
109 116
            }
110 117
        });

+ 7 - 0
app/src/main/java/com/electric/chargingpile/activity/WebQianDaoActivity.java

@ -1,6 +1,8 @@
1 1
package com.electric.chargingpile.activity;
2 2
3 3
import android.app.Activity;
4
import android.content.Intent;
5
import android.net.Uri;
4 6
import android.os.Bundle;
5 7
import android.util.Log;
6 8
import android.view.KeyEvent;
@ -108,6 +110,11 @@ public class WebQianDaoActivity extends Activity implements View.OnClickListener
108 110
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
109 111
                //  重写此方法表明点击网页里面的链接还是在当前的webview里跳转,不跳到浏览器那边
110 112
//                view.loadUrl(url);
113
                if (url.startsWith("tel:")) {
114
                    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
115
                    startActivity(intent);
116
                    return true;
117
                }
111 118
                return false;
112 119
            }
113 120
        });

+ 7 - 0
app/src/main/java/com/electric/chargingpile/activity/XieYiActivity.java

@ -1,6 +1,8 @@
1 1
package com.electric.chargingpile.activity;
2 2
3 3
import android.app.Activity;
4
import android.content.Intent;
5
import android.net.Uri;
4 6
import android.os.Bundle;
5 7
import android.util.Log;
6 8
import android.view.KeyEvent;
@ -107,6 +109,11 @@ public class XieYiActivity extends Activity implements View.OnClickListener {
107 109
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
108 110
                //  重写此方法表明点击网页里面的链接还是在当前的webview里跳转,不跳到浏览器那边
109 111
//                view.loadUrl(url);
112
                if (url.startsWith("tel:")) {
113
                    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
114
                    startActivity(intent);
115
                    return true;
116
                }
110 117
                return false;
111 118
            }
112 119
        });

dudu/cdzApp - Gogs: Go Git Service

542 Commits (master)

Author SHA1 Message Date
  huyuguo 45611a4d09 气泡页快慢充数据显示样式修改 6 years ago
  huyuguo 7e0613ff16 气泡页分时电价显示 6 years ago
  huyuguo b6375b8b36 代码更新 6 years ago
  huyuguo 54df60fe50 提醒 6 years ago
  huyuguo 319397b60f 配置信息优化 6 years ago
  huyuguo e1ca1e4e50 配置信息更改 6 years ago
  huyuguo 12be06a50d 配置文件修改 6 years ago
  huyuguo 2336e74bea Merge branch 'master' of http://59.110.68.162:3000/dudu/cdzApp 6 years ago
  huyuguo de269dfd50 提交 6 years ago
  huyuguo 38214819ea Revert "扫码支付bug修改" 6 years ago
  huyuguo 0ba865f275 Merge branch 'master' of http://59.110.68.162:3000/dudu/cdzApp 6 years ago
  huyuguo b0d5d8432c 版本信息修改 6 years ago
  huyuguo 67f8811dbc Merge branch 'master' of http://59.110.68.162:3000/dudu/cdzApp 6 years ago
  huyuguo 756a5867ed 扫码问题解决 6 years ago
  huyuguo 6b9e47955f 更新版本 6 years ago
  huyuguo bffced235f 修改最低支持版本为7.0 6 years ago
  huyuguo b45d5a16d6 高德地图SDK更新 6 years ago
  huyuguo c2b1368794 扫码支付bug修改 6 years ago
  huyuguo 4fd7d2f253 原因为空不显示 6 years ago
  huyuguo cff54c978f bug修复 6 years ago
  huyuguo f0b6d4f922 bug修复 6 years ago
  huyuguo 6b98fb3afb 运营商信息获取 6 years ago
  huyuguo b72a712313 bug修改 6 years ago
  huyuguo 002222945b 弹屏广告bug修复 6 years ago
  huyuguo dcf0968c1c Update build.gradle 6 years ago
  huyuguo 2ccff5dbe6 配置优化 6 years ago
  huyuguo 1d839ca8f3 Update ChargingCommentActivity.java 6 years ago
  huyuguo c28066b694 文件更新 6 years ago
  huyuguo f5cfbbc1a1 Update dialog_hongbao_result.xml 6 years ago
  huyuguo b1f7fbe000 Merge branch 'master' of http://59.110.68.162:3000/dudu/cdzApp 6 years ago
  huyuguo e04cd4c39a 代码更新 6 years ago
  huyuguo 06d8b7460a 代码更新 6 years ago
  huyuguo ebd55df6f1 代码更新 6 years ago
  huyuguo 631bb6a0c8 代码更新 6 years ago
  huyuguo a90ec777b5 视频功能完成 6 years ago
  huyuguo df6eeeb220 冲突解决 6 years ago
  huyuguo a9109d36d1 Merge branch 'master' of http://59.110.68.162:3000/dudu/cdzApp 6 years ago
  huyuguo 4ac8653cde 聊聊图文发布问题解决 6 years ago
  huyuguo 6efbc9d6e9 聊聊图文发布问题解决 6 years ago
  huyuguo e428698b43 代码优化 6 years ago
  huyuguo e94929b9c6 管理私人桩修改完成 6 years ago
  huyuguo 5bf0afbc17 信息错误修改完成 6 years ago
  huyuguo 4b8ab939f1 问题描述修改完成 6 years ago
  huyuguo 7c745c835d 问题修改 6 years ago
  huyuguo a6818ce9ae 回答及回复详情修改完成 6 years ago
  huyuguo b98aa2e34f 代码修改 6 years ago
  huyuguo eb46b26633 修改站点功能开发完成 6 years ago
  huyuguo 96b718ad72 添加新站点 6 years ago
  huyuguo 40151bb6cc vivo触摸事件处理 6 years ago
  huyuguo f9c981d55b 首页二手车广告添加 6 years ago