调整启动页地址配置
Showing
2 changed files
with
4 additions
and
1 deletions
... | @@ -36,7 +36,7 @@ public class MainActivity extends AppCompatActivity { | ... | @@ -36,7 +36,7 @@ public class MainActivity extends AppCompatActivity { |
36 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { | 36 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { |
37 | requestPermissions(permissions,0); | 37 | requestPermissions(permissions,0); |
38 | } | 38 | } |
39 | webView.loadUrl("http://192.168.12.98:8080/JsAppLaunch/JsAppStartUp.html"); | 39 | webView.loadUrl(TestConfig.homeUrl); |
40 | } | 40 | } |
41 | 41 | ||
42 | private void initWeb() { | 42 | private void initWeb() { | ... | ... |
... | @@ -7,4 +7,7 @@ public class TestConfig { | ... | @@ -7,4 +7,7 @@ public class TestConfig { |
7 | public static final int FiberHome = 1; | 7 | public static final int FiberHome = 1; |
8 | 8 | ||
9 | public static int testDist = FiberHome; | 9 | public static int testDist = FiberHome; |
10 | |||
11 | //启动页地址 | ||
12 | public static final String homeUrl = "http://192.168.12.98:8080/JsAppLaunch/JsAppStartUp.html"; | ||
10 | } | 13 | } | ... | ... |
-
Please register or sign in to post a comment