From 42081e7c15f0648d92ae89f73847fa639e221a64 Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Sat, 10 Sep 2022 09:27:02 -0700 Subject: [PATCH] new release --- .idea/deploymentTargetDropDown.xml | 17 +++++++++++++++++ app/build.gradle | 4 ++-- .../asgardius/page/s3manager/MainActivity.java | 5 +++++ .../main/res/layout/activity_account_add.xml | 10 +++++----- app/src/main/res/layout/activity_main.xml | 3 ++- app/src/main/res/values/strings.xml | 5 ++++- 6 files changed, 35 insertions(+), 9 deletions(-) create mode 100644 .idea/deploymentTargetDropDown.xml diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml new file mode 100644 index 0000000..ab03e24 --- /dev/null +++ b/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 387a246..ee22437 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "asgardius.page.s3manager" minSdk 24 targetSdk 32 - versionCode 3 - versionName "0.1.1" + versionCode 4 + versionName "0.1.2" setProperty("archivesBaseName", "s3-manager-$versionName") testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/java/asgardius/page/s3manager/MainActivity.java b/app/src/main/java/asgardius/page/s3manager/MainActivity.java index 50cdeff..86c7ce6 100644 --- a/app/src/main/java/asgardius/page/s3manager/MainActivity.java +++ b/app/src/main/java/asgardius/page/s3manager/MainActivity.java @@ -206,6 +206,11 @@ public class MainActivity extends AppCompatActivity { @Override public void onClick(View view) { //buttonaction + endpoint = getResources().getString(R.string.endpoint_url); + username = getResources().getString(R.string.access_key); + password = getResources().getString(R.string.secret_key); + location = "us-east-1"; + explorer(); } }); } diff --git a/app/src/main/res/layout/activity_account_add.xml b/app/src/main/res/layout/activity_account_add.xml index bd484b8..f4d3e41 100644 --- a/app/src/main/res/layout/activity_account_add.xml +++ b/app/src/main/res/layout/activity_account_add.xml @@ -10,7 +10,7 @@ @@ -48,6 +48,7 @@ android:id="@+id/alist" android:layout_width="match_parent" android:layout_height="match_parent" + android:contentDescription="@string/account_list" tools:layout_editor_absoluteX="27dp" /> \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e68f78e..d9335f3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,6 +1,9 @@ S3 Manager .amazonaws.com + https://object.asgardius.company + asgardius + DTMp5kftamr49Ke7 VideoPlayer Account list Bucket list @@ -32,7 +35,7 @@ Endpoint URL must start with https:// File Explorer Test Unsupported file type - Video Test + Connect to test server Cannot retrieve remote file Invalid media file Cannot connect to server