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.

gefragt vor 2 Jahren87 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen