Add AWS client in custom Android build - android

I need to install AWS client in custom Android OS.
Found source code of AWS client from here
Can anyone have Idea how to write make file to integrate with source code of Android?

This is the Python client for the backend, you need to use AWS for Android SDK

Related

Using AWS Amplify for android for Auth without connecting to AWS (amplify cli)

I am trying to integrate AWS Cognito to an existing android project. All resources lead me to use Amplify. I need only Amplify Auth.
With a js web app I managed to setup amplify Auth manually without CLI using Is it possible to use the amplify framework without using the cli?
While trying to set it up for Android all documentation asks to run amplify init which would require access to AWS through access key/ profile.
Even Manual Setup Instructions, depend on files created with amplify init
Any direction on how to create the files manually or configure Amplify.auth without the files would be greatly appreciated.

How can I import/open the Twilio android code in the same Android Studio where I already have the ionic and capacitor code opened?

I have Ionic and Capacitor code imported opened in Android Studio. I am trying to open Twilio SDK in the same Android studio. But it's not letting me do that and the Twilio SDK is opening in a new Android studio. Am I missing something?
Then only I can integrate them right? Is my understanding correct?
I am trying to do the following in android studio:
import com.twilio.rest.api.v2010.account.Call;
It says "cannot resolve symbol twilio"
Twilio developer evangelist here.
The Twilio Java SDK is not intended for use within Android applications and will not work.
Further, you should not make requests directly to the Twilio API from an Android application. To do so you would need to either store or retrieve your Twilio account credentials within your application. A malicious user could then extract the credentials from the application and use them to abuse your account and spend your credit.
Instead, we recommend you build a server application that your Android app can use as a proxy to the Twilio API. Check out this blog post on how to send SMS messages from Android with Twilio to see an example.

Is there a way to configure amplify CLI with out AdministratorAccess will it work (for a android project)?

I am working on a POC where I am trying to use AWS resources like S3, pinpoint, etc in a mobile Android project.
As per AWS latest recommendation i am using Amplify CLI framework in my Android project to integrate Android with my AWS services.
For this as per the doc - https://docs.amplify.aws/lib/project-setup/prereq/q/platform/android#option-2-follow-the-instructions I raised a request to my AWS admin team to create a IAM account with AdministratorAccess, but they refused the request for various reasons.
Can I achive this is any other way - is there any other way to configure amplify CLI with out AdministratorAccess and will it work?
Step mentioned in doc - "Create a user with AdministratorAccess to your account to provision AWS resources for you like AppSync, Cognito etc."
Note - I tried skipping this part and just providing a access key and secret key of account(which dosent have AdministratorAccess, but Amplify.configure(getApplicationContext()); line failed in my android app without any error/exception -probably Auth error?)

App engine cloud endpoints backend and android in the same maven project

Can I create app engine cloud endpoints backend project for my android application, so that I can manage the server and client library code in the same maven project?
Currently I have an android project in android studio, but I want to add a cloud endpoints backend to it. Dont want to manage 2 separate projects in git for these.
You can add the cloud backend using Android Studio itself. It is quiet straightforward!You need to add App Engine first to your package and then generate end points. I have tried it and it works perfectly fine.

How to use LDAP authentication in our app in android?

I want to add LDAP authentication in our application. I have searched and found two apps on Github, but they don't connect to server. What is a necessary condition to connect the server through ldap?
Look into the UnboundID SDK. They have an kit for Android including samples and an app created is with the SDK available on google play.
Source code for the app is available from UnboundID in their LDAP SDK.
You can find and example of authentication with ldap in this example
and the android usage here

Categories

Resources