handle internal clicked poslinks correctly
This commit is contained in:
parent
c4dc899eeb
commit
c3f37f949f
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.cradle.iitc_mobile"
|
||||
android:versionCode="9"
|
||||
android:versionName="0.2.8" >
|
||||
android:versionCode="10"
|
||||
android:versionName="0.2.8.1" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="14"
|
||||
|
@ -119,6 +119,10 @@ public class IITC_WebViewClient extends WebViewClient {
|
||||
@Override
|
||||
public boolean shouldOverrideUrlLoading(WebView view, String url) {
|
||||
if (url.contains("ingress.com")) {
|
||||
if (url.contains("ingress.com/intel") && url.contains("latE6") && url.contains("lngE6")) {
|
||||
Log.d("iitcm", "should be an internal clicked position link...reload script for: " + url);
|
||||
((IITC_Mobile) context).loadUrl(url);
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
Log.d("iitcm", "no ingress intel link, start external app to load url: " + url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user