From 3b79c22ba96cdebd8f52f84f9d91a04276442968 Mon Sep 17 00:00:00 2001 From: RicomenPL Date: Sun, 9 Apr 2017 15:33:55 +0200 Subject: [PATCH] Delete possibility of return to splashscreen --- app/src/main/AndroidManifest.xml | 3 ++- .../wulkanowy/activity/started/LoadingTask.java | 1 + .../activity/started/StartedActivity.java | 2 ++ app/src/main/res/values-pl/strings.xml | 1 + app/src/main/res/values/loginData.xml | 15 +++++++-------- app/src/main/res/values/strings.xml | 1 + 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9b5747792..9584a528a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -14,7 +14,8 @@ android:theme="@android:style/Theme.DeviceDefault"> + android:theme = "@style/NoActionBar" + android:noHistory="true"> diff --git a/app/src/main/java/leszcz_team/wulkanowy/activity/started/LoadingTask.java b/app/src/main/java/leszcz_team/wulkanowy/activity/started/LoadingTask.java index 4e785b0c7..f467e75e1 100644 --- a/app/src/main/java/leszcz_team/wulkanowy/activity/started/LoadingTask.java +++ b/app/src/main/java/leszcz_team/wulkanowy/activity/started/LoadingTask.java @@ -30,6 +30,7 @@ public class LoadingTask extends AsyncTask { Intent intent = new Intent(activity,MainActivity.class); activity.startActivity(intent); + } } diff --git a/app/src/main/java/leszcz_team/wulkanowy/activity/started/StartedActivity.java b/app/src/main/java/leszcz_team/wulkanowy/activity/started/StartedActivity.java index 5ccd82749..d05aae9c5 100644 --- a/app/src/main/java/leszcz_team/wulkanowy/activity/started/StartedActivity.java +++ b/app/src/main/java/leszcz_team/wulkanowy/activity/started/StartedActivity.java @@ -18,5 +18,7 @@ public class StartedActivity extends Activity { new LoadingTask(this).execute(); + + } } diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 0ce47cd28..66e9ab019 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -13,4 +13,5 @@ Funkcja którą chciałeś uruchomić nie działa Pomyślnie zalogowano Logowanie nie powiodło się + Proszę czekać... \ No newline at end of file diff --git a/app/src/main/res/values/loginData.xml b/app/src/main/res/values/loginData.xml index f0cbfe76e..f4390b33b 100644 --- a/app/src/main/res/values/loginData.xml +++ b/app/src/main/res/values/loginData.xml @@ -1,11 +1,10 @@ - https://cufs.vulcan.net.pl/Default/Account/LogOn - https://cufs.vulcan.net.pl/{locationID}/FS/LS?wa=wsignin1.0&wtrealm=https://uonetplus.vulcan.net.pl/{locationID}/LoginEndpoint.aspx&wctx=https://uonetplus.vulcan.net.pl/{locationID}/LoginEndpoint.aspx - https://uonetplus.vulcan.net.pl/{locationID}/LoginEndpoint.aspx" - https://cufsdemo.vulcan.net.pl/Default/Account/LogOn - https://cufsdemo.vulcan.net.pl/{locationID}/FS/LS?wa=wsignin1.0&wtrealm=https://uonetplusdemo.vulcan.net.pl/{locationID}/LoginEndpoint.aspx&wctx=https://uonetplusdemo.vulcan.net.pl/{locationID}/LoginEndpoint.aspx - https://uonetplusdemo.vulcan.net.pl/{locationID}/LoginEndpoint.aspx" - u43063@demouonetplus.vulcan.net.pl - demouonetplus + https://cufs.vulcan.net.pl/Default/Account/LogOn + https://cufs.vulcan.net.pl/{locationID}/FS/LS?wa=wsignin1.0&wtrealm=https://uonetplus.vulcan.net.pl/{locationID}/LoginEndpoint.aspx&wctx=https://uonetplus.vulcan.net.pl/{locationID}/LoginEndpoint.aspx + https://uonetplus.vulcan.net.pl/{locationID}/LoginEndpoint.aspx" + https://cufsdemo.vulcan.net.pl/Default/Account/LogOn + https://cufsdemo.vulcan.net.pl/{locationID}/FS/LS?wa=wsignin1.0&wtrealm=https://uonetplusdemo.vulcan.net.pl/{locationID}/LoginEndpoint.aspx&wctx=https://uonetplusdemo.vulcan.net.pl/{locationID}/LoginEndpoint.aspx + https://uonetplusdemo.vulcan.net.pl/{locationID}/LoginEndpoint.aspx" + demouonetplus diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9859e9ff6..e08747351 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -12,4 +12,5 @@ The function you wanted to run does not work Login is successful Login is failed + Please wait...