Using S3 selectObjectContent in Android Studio

1

Hi, I'm developing an Android App in Android studio, and I want to use the select function of S3 to retrieve some data in .csv files stored in S3. However, if I use Java SDK (aws-java-sdk), it has the method selectObjectContent, but there will be some error when running the project because this SDK cannot fully support Android. And if I use android SDK (by adding implementation "com.amazonaws:aws-android-sdk:2.50.0" in build.gradle), the AmazonS3 s3Client has no method named selectObjectContent. Is the select function currently not supported in Android development?

  • I'm having the same issue, did you ever find a solution?

  • No. Instead, I used boto3 in Python to implement the same function and encrypted it into an API by FastAPI, so that I could invoke that API from Android Studio to get the desired functionality. Hope this can help.

asked a year ago81 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions