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.

已提问 2 年前90 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则