All Projects → aws-amplify → Aws Sdk Android

aws-amplify / Aws Sdk Android

Licence: other
AWS SDK for Android. For more information, see our web site:

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Aws Sdk Android

Aws Sdk Ios
AWS SDK for iOS. For more information, see our web site:
Stars: ✭ 1,524 (+82.51%)
Mutual labels:  amazon-web-services, aws-sdk
Graphql Compose Aws
AWS Cloud API via GraphQL
Stars: ✭ 137 (-83.59%)
Mutual labels:  amazon-web-services, aws-sdk
Aws Sdk Perl
A community AWS SDK for Perl Programmers
Stars: ✭ 153 (-81.68%)
Mutual labels:  amazon-web-services, aws-sdk
Aws Microservices Deploy Options
This repo contains a simple application that consists of three microservices. Each application is deployed using different Compute options on AWS.
Stars: ✭ 370 (-55.69%)
Mutual labels:  amazon-web-services
Aws S3 Virusscan
Antivirus for Amazon S3 buckets
Stars: ✭ 400 (-52.1%)
Mutual labels:  amazon-web-services
Aws Mfa
Manage AWS MFA Security Credentials
Stars: ✭ 606 (-27.43%)
Mutual labels:  amazon-web-services
Aws Ec2 Ssh
Manage AWS EC2 SSH access with IAM
Stars: ✭ 796 (-4.67%)
Mutual labels:  amazon-web-services
Compose Cli
Easily run your Compose application to the cloud with compose-cli
Stars: ✭ 353 (-57.72%)
Mutual labels:  amazon-web-services
Aws Sdk React Native
AWS SDK for React Native (developer preview)
Stars: ✭ 645 (-22.75%)
Mutual labels:  aws-sdk
Soto
Swift SDK for AWS that works on Linux, macOS and iOS
Stars: ✭ 579 (-30.66%)
Mutual labels:  aws-sdk
Ecs Deploy
Powerful CLI tool to simplify Amazon ECS deployments, rollbacks & scaling
Stars: ✭ 541 (-35.21%)
Mutual labels:  amazon-web-services
Agile data code 2
Code for Agile Data Science 2.0, O'Reilly 2017, Second Edition
Stars: ✭ 413 (-50.54%)
Mutual labels:  amazon-web-services
Aws Lambda Zombie Workshop
Code and walkthrough labs to set up a serverless chat application for the Zombie Apocalypse Workshop
Stars: ✭ 622 (-25.51%)
Mutual labels:  amazon-web-services
Howtheyaws
A curated collection of publicly available resources on how technology and tech-savvy organizations around the world use Amazon Web Services (AWS)
Stars: ✭ 389 (-53.41%)
Mutual labels:  amazon-web-services
Aws Sdk Js V3
Modularized AWS SDK for JavaScript.
Stars: ✭ 737 (-11.74%)
Mutual labels:  aws-sdk
Aws Amplify Vue
A Vue.js starter app integrated with AWS Amplify
Stars: ✭ 359 (-57.01%)
Mutual labels:  aws-sdk
Aiobotocore
asyncio support for botocore library using aiohttp
Stars: ✭ 630 (-24.55%)
Mutual labels:  aws-sdk
Serverless Stack Demo Api
Source for the demo app API in Serverless-Stack.com
Stars: ✭ 486 (-41.8%)
Mutual labels:  aws-sdk
Amazon Ecs Nodejs Microservices
Reference architecture that shows how to take a Node.js application, containerize it, and deploy it as microservices on Amazon Elastic Container Service.
Stars: ✭ 483 (-42.16%)
Mutual labels:  amazon-web-services
Lambda Local
Commandline tool to run Amazon Lambda function on local machines.
Stars: ✭ 597 (-28.5%)
Mutual labels:  aws-sdk

AWS SDK for Android

DiscordChat GitHub release Maven Central CircleCI

For new projects, we recommend interacting with AWS using the Amplify Framework.

The AWS SDK for Android is a collection of low-level libraries for direct interaction with AWS backend services. For use cases not covered by the Amplify Framework, you may directly integrate these clients into your Android app.

Installation

The AWS SDK for Android can be directly embedded via .aar files, or you can download it from the Maven Central repository, by integrating it into your Android project's Gradle files.

From Maven

We recommend obtaining the dependency from Maven. To do so, add a dependency to your app's (module-level) build.gradle, in the dependencies section:

dependencies {
    implementation 'com.amazonaws:aws-android-sdk-SERVICE:2.x.y'
}

Above, SERVICE might be s3, ddb, pinpoint, etc. A full list is provided below.

Downloading SDK libraries

You can also download a .zip file containg .aar files for each of the SDK modules, here.

Add the aar files to a folder in your project called libs (create one if it doesn't already exist).

Ensure that the libs directory is included in your module-level build.gradle, under the dependencies block:

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.aar'])
}

Available Modules

  • apigateway-core
  • auth-core
  • auth-facebook
  • auth-google
  • auth-ui
  • auth-userpools
  • cloudwatch
  • cognitoauth
  • cognitoidentityprovider
  • comprehend
  • connect
  • connectparticipant
  • core
  • ddb
  • ddb-document
  • ddb-mapper
  • ec2
  • iot
  • kinesis
  • kinesisvideo
  • kinesisvideo-archivedmedia
  • kinesisvideo-signaling
  • kms
  • lambda
  • lex
  • location
  • logs
  • machinelearning
  • mobile-client
  • pinpoint
  • polly
  • rekognition
  • s3
  • sagemaker-runtime
  • sdb
  • ses
  • sns
  • sqs
  • testutils
  • textract
  • transcribe
  • translate

SDK Fundamentals

There are a few fundamentals that are helpful to know when developing against the AWS SDK for Android.

  • Never embed credentials in an Android application. It is trivially easy to decompile applications and steal embedded credentials. Always use temporarily vended credentials from services such as Amazon Cognito Identity.
  • Unless explicitly stated, calls are synchronous and must be taken off of the main thread.
  • Unless explicitly stated, calls can always throw an AmazonServiceException or an AmazonClientException (depending on if the exception is generated by the service or the client respectively).
  • The SDK will handle re-trying requests automatically, but unless explicitly stated will throw an exception if it cannot contact AWS.
  • We are always looking to help, please feel free to open an issue.

Versioning

The Android SDK is versioned like 2.x.y. 2 is a product identifier that never changes. x is bumped when there are breaking changes. y is bumped for not-breaking bugfixes, or for the introduction of new features/capabilities.

Building the SDK

Pre-requisites

The AWS Core Runtime (aws-android-sdk-core) module builds against Android API Level 23. Please download and install Android API Level 23 through SDK Manager in Android Studio, before building the SDK.

Set the ANDROID_HOME environment variable, to the root directory of your Android SDK installation.

For example, on a Mac OS X where Android Studio has been installed, the SDK comes bundled with it.

export ANDROID_HOME="$HOME/Library/Android/sdk"

Build

./gradlew build

Consuming Development Versions

Once you've built the SDK, you can manually install the SDK by publishing its artifacts to your local Maven repository.

The local Maven repository is usually found in your home directory at ~/.m2/repository.

To publish the outputs of the build, execute the following command from the root of the amplify-android project:

./gradlew publishToMavenLocal

After this, you can use the published development artifacts from an app. To do so, specify mavenLocal() inside the app's top-level build.gradle(Project) file:

buildscript {
    repositories {
        mavenLocal() // this should ideally appear before other repositories
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.0.1'
    }
}

allprojects {
    repositories {
        mavenLocal() // this should ideally appear before other repositories
    }
}

Then, find the VERSION_NAME of the library inside gradle.properties file.

Use the above version to specify dependencies in your app's build.gradle (:app) file:

dependencies {
    implementation 'com.amazonaws:aws-android-sdk-SERVICE:VERSION_NAME'
}

Talk to Us

Come chat with us on our Discord Channel.

Report bugs to our GitHub Issues page.

Author

Amazon Web Services

License

See the LICENSE.txt for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].