new release

This commit is contained in:
Page Asgardius 2023-12-07 05:44:20 -07:00
parent 7149bd22fc
commit 34d176efe1
6 changed files with 25 additions and 22 deletions

View file

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="DesignSurface"> <component name="DesignSurface">
<option name="filePathToZoomLevelMap"> <option name="filePathToZoomLevelMap">

View file

@ -9,8 +9,8 @@ android {
applicationId "asgardius.page.s3music" applicationId "asgardius.page.s3music"
minSdk 21 minSdk 21
targetSdk 33 targetSdk 33
versionCode 11 versionCode 12
versionName "0.2.0" versionName "0.2.1"
setProperty("archivesBaseName", "s3-music-$versionName") setProperty("archivesBaseName", "s3-music-$versionName")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@ -37,13 +37,13 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0' implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
def exoplayer_version = "2.18.7" def exoplayer_version = "2.19.1"
implementation "com.google.android.exoplayer:exoplayer:$exoplayer_version" implementation "com.google.android.exoplayer:exoplayer:$exoplayer_version"
implementation "com.google.android.exoplayer:extension-mediasession:$exoplayer_version" implementation "com.google.android.exoplayer:extension-mediasession:$exoplayer_version"
implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation"com.otaliastudios:zoomlayout:1.9.0" implementation"com.otaliastudios:zoomlayout:1.9.0"
// BEGIN AWS DEPENDENCIES // BEGIN AWS DEPENDENCIES
def aws_version = "2.71.0" def aws_version = "2.73.0"
implementation "com.amazonaws:aws-android-sdk-s3:$aws_version" implementation "com.amazonaws:aws-android-sdk-s3:$aws_version"
implementation ("com.amazonaws:aws-android-sdk-mobile-client:$aws_version") { transitive = true } implementation ("com.amazonaws:aws-android-sdk-mobile-client:$aws_version") { transitive = true }
// END AWS DEPENDENCIES // END AWS DEPENDENCIES

View file

@ -9,8 +9,8 @@
<H3>Created by Page Asgardius</H3> <H3>Created by Page Asgardius</H3>
<H3>Libraries used in this app</H3> <H3>Libraries used in this app</H3>
<ul> <ul>
<li>Amazon Web Services SDK 2.71.0</li> <li>Amazon Web Services SDK 2.73.0</li>
<li>ExoPlayer 2.18.7</li> <li>ExoPlayer 2.19.1</li>
<li>Adwaita Icon Theme for GNOME 43</li> <li>Adwaita Icon Theme for GNOME 43</li>
<li>Font Awesome icons</li> <li>Font Awesome icons</li>
</ul> </ul>

View file

@ -117,19 +117,6 @@ public class ObjectSelect extends AppCompatActivity {
//i++; //i++;
} }
while (result.isTruncated()) {
result = s3client.listNextBatchOfObjects (result);
od = result.getCommonPrefixes();
for (String os : od) {
filename = os.split("/");
if (filename.length == treelevel+1) {
object.add(filename[treelevel]+"/");
}
//i++;
}
}
//This get file list //This get file list
List<S3ObjectSummary> ob = result.getObjectSummaries(); List<S3ObjectSummary> ob = result.getObjectSummaries();
for (S3ObjectSummary os : ob) { for (S3ObjectSummary os : ob) {
@ -143,8 +130,23 @@ public class ObjectSelect extends AppCompatActivity {
//i++; //i++;
} }
//Get next batch
while (result.isTruncated()) { while (result.isTruncated()) {
result = s3client.listNextBatchOfObjects (result); result = s3client.listNextBatchOfObjects (result);
//This get folder list
od = result.getCommonPrefixes();
for (String os : od) {
filename = os.split("/");
if (filename.length == treelevel+1) {
object.add(filename[treelevel]+"/");
}
//i++;
}
//This get file list
ob = result.getObjectSummaries(); ob = result.getObjectSummaries();
for (S3ObjectSummary os : ob) { for (S3ObjectSummary os : ob) {
filename = os.getKey().split("/"); filename = os.getKey().split("/");

View file

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins { plugins {
id 'com.android.application' version '8.0.2' apply false id 'com.android.application' version '8.1.4' apply false
id 'com.android.library' version '8.0.2' apply false id 'com.android.library' version '8.1.4' apply false
} }
task clean(type: Delete) { task clean(type: Delete) {

View file

@ -0,0 +1,2 @@
* Dependencies upgraded
* Fixed large file list being truncate