Change
This commit is contained in:
Generated
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
<ConfirmationsSetting value="0" id="Add" />
|
<ConfirmationsSetting value="0" id="Add" />
|
||||||
<ConfirmationsSetting value="0" id="Remove" />
|
<ConfirmationsSetting value="0" id="Remove" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectType">
|
<component name="ProjectType">
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class MainActivity extends AppCompatActivity
|
|||||||
|
|
||||||
webView = (WebView) findViewById(R.id.webview);
|
webView = (WebView) findViewById(R.id.webview);
|
||||||
|
|
||||||
String url = preferences.getString(CommonString.KEY_NOTICE_BOARD_LINK,"");
|
String url = preferences.getString(CommonString.KEY_NOTICE_BOARD_LINK, "");
|
||||||
user_name = preferences.getString(CommonString.KEY_USERNAME, null);
|
user_name = preferences.getString(CommonString.KEY_USERNAME, null);
|
||||||
//user_type = preferences.getString(CommonString.KEY_USER_TYPE, null);
|
//user_type = preferences.getString(CommonString.KEY_USER_TYPE, null);
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ public class MainActivity extends AppCompatActivity
|
|||||||
|
|
||||||
webView.getSettings().setJavaScriptEnabled(true);
|
webView.getSettings().setJavaScriptEnabled(true);
|
||||||
|
|
||||||
if(!url.equals("")){
|
if (!url.equals("")) {
|
||||||
|
|
||||||
webView.loadUrl(url);
|
webView.loadUrl(url);
|
||||||
|
|
||||||
@@ -133,31 +133,13 @@ public class MainActivity extends AppCompatActivity
|
|||||||
|
|
||||||
} else if (id == R.id.nav_upload) {
|
} else if (id == R.id.nav_upload) {
|
||||||
|
|
||||||
}
|
} else if (id == R.id.nav_geotag) {
|
||||||
else if (id == R.id.nav_geotag) {
|
|
||||||
|
|
||||||
|
} else if (id == R.id.nav_exit) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
else if (id == R.id.nav_export) {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
else if (id == R.id.nav_exit) {
|
|
||||||
|
|
||||||
} else if (id == R.id.nav_services) {
|
} else if (id == R.id.nav_services) {
|
||||||
|
|
||||||
}else if (id == R.id.nav_setting) {
|
} else if (id == R.id.nav_setting) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user