Skip to content

shephertz/App42_ANDROID_SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

203 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App42_ANDROID_SDK

  1. [Register] (https://apphq.shephertz.com/register) with App42 platform.
  2. Create an app once you are on Quick start page after registration.
  3. If you are already registered, login to [AppHQ] (http://apphq.shephertz.com/register/app42Login) console and create an app from App Manager Tab.

Download And Set Up SDK :-

1). [Download] (https://github.com/shephertz/App42_ANDROID_SDK/archive/master.zip) Android SDK

2). Unzip downloaded Zip file. Unzip folder contains version folder of jar and sample folder.

3). Version folder will contain App42_ANDROID_SDK_x.x.x.jar and docs.

Eclipse Configuration :- 1). Then add App42_ANDROID_SDK_x.x.x.jar in your libs folder.

2). Put the jar file in class path of your Android project.

Android Studio Configuration :-

1). Then add App42_ANDROID_SDK_x.x.x.jar in your libs folder of your application.

2). Add dependency in build.gradle file of your app.

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

Initializing SDK :- You have to instantiate App42API by putting your ApiKey/SecretKey to initialize the SDK.

App42API.initialize("ANDROID_APPLICATION_CONTEXT","YOUR_API_KEY","YOUR_SECRET_KEY"); 

Using App42 Services :- you have to build target service that you want to use in your app. For example, User Service can be build with following snippet. Similarly you can build other service also with same notation.

UserService userService = App42API.buildUserService();
//Similarly you can build other services like App42API.buildXXXXService()

About

App42 Cloud API Client SDK files for Android

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors