new release
This commit is contained in:
parent
4b9714ed72
commit
42081e7c15
6 changed files with 35 additions and 9 deletions
17
.idea/deploymentTargetDropDown.xml
Normal file
17
.idea/deploymentTargetDropDown.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetDropDown">
|
||||
<targetSelectedWithDropDown>
|
||||
<Target>
|
||||
<type value="QUICK_BOOT_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="VIRTUAL_DEVICE_PATH" />
|
||||
<value value="$USER_HOME$/.android/avd/4.7_WXGA_API_31.avd" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</targetSelectedWithDropDown>
|
||||
<timeTargetWasSelectedWithDropDown value="2022-09-10T15:42:15.258642Z" />
|
||||
</component>
|
||||
</project>
|
|
@ -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"
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<EditText
|
||||
android:id="@+id/alias"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:focusable="true"
|
||||
android:hint="@string/accountadd_alias"
|
||||
android:importantForAutofill="no"
|
||||
|
@ -30,7 +30,7 @@
|
|||
<EditText
|
||||
android:id="@+id/endpoint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
android:focusable="true"
|
||||
android:hint="@string/accountadd_endpoint"
|
||||
|
@ -42,7 +42,7 @@
|
|||
<EditText
|
||||
android:id="@+id/region"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
android:focusable="true"
|
||||
android:hint="@string/accountadd_region"
|
||||
|
@ -56,7 +56,7 @@
|
|||
<EditText
|
||||
android:id="@+id/username"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:autofillHints="username"
|
||||
android:focusable="true"
|
||||
android:hint="@string/accountadd_username"
|
||||
|
@ -67,7 +67,7 @@
|
|||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:autofillHints="username"
|
||||
android:focusable="true"
|
||||
android:hint="@string/accountadd_password"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/dummy_button"
|
||||
android:text="@string/test_server_button"
|
||||
tools:ignore="MissingConstraints"
|
||||
style="?android:attr/buttonStyle" />
|
||||
|
||||
|
@ -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" />
|
||||
|
||||
</LinearLayout>
|
|
@ -1,6 +1,9 @@
|
|||
<resources>
|
||||
<string name="app_name">S3 Manager</string>
|
||||
<string name="aws_endpoint">.amazonaws.com</string>
|
||||
<string name="endpoint_url">https://object.asgardius.company</string>
|
||||
<string name="access_key">asgardius</string>
|
||||
<string name="secret_key">DTMp5kftamr49Ke7</string>
|
||||
<string name="title_activity_video_player">VideoPlayer</string>
|
||||
<string name="account_list">Account list</string>
|
||||
<string name="bucket_list">Bucket list</string>
|
||||
|
@ -32,7 +35,7 @@
|
|||
<string name="invalid_url">Endpoint URL must start with https://</string>
|
||||
<string name="explorer_test_button">File Explorer Test</string>
|
||||
<string name="unsupported_file">Unsupported file type</string>
|
||||
<string name="video_test_button">Video Test</string>
|
||||
<string name="test_server_button">Connect to test server</string>
|
||||
<string name="media_conn_fail">Cannot retrieve remote file</string>
|
||||
<string name="media_wrong_type">Invalid media file</string>
|
||||
<string name="media_list_fail">Cannot connect to server</string>
|
||||
|
|
Loading…
Reference in a new issue