<commit_before>#Introduction

App360 Payment SDK is a part of App360 Platform, it provides easiest way to integrate payment service (including sms, phone card and e-banking) into your application.

App360 Payment SDK use appscoped-id session of App360SDK to make payment. So, you must integrate with App360SDK first in order to call any Payment API.

The App360 Payment SDK supports Android version 4.0 and above.

#Getting started with Demo project

Firstly, clone or download this repository to your machine.

- `git clone https://github.com/app360/app360-payment-android-sdk.git`
- Or, download from https://github.com/app360/app360-payment-android-sdk/releases

Open `LoginActivity.java` inside demo project, find `App360SDK.initialize(...)` line and replace the placeholders with your application credentials.

Run the project. The app demonstrates capability of App360 SDK, including app-scoped ID and payment.

# 3 Step to integrate with App360 Payment SDK

## 1. Integrate with App360SDK

The first thing you need to do is integrate your game/app with App360SDK. For more information, please read [App360SDK document](https://github.com/app360/app360-android-sdk) to know how to do that.

## 2. Add App360 Payment SDK to your project

Download the Android SDK from the this repo, unzip the App360 Payment SDK file.

### Eclipse
- _File > Import..._, then inside the Import dialog, choose _General_ > _Existing projects into workspace_, then select _app360paymentsdk_ folder. 
- Repeat this step to import _app360sdk_.
- Right-click on _app360paymentsdk_ project, choose _Properties_, inside _Android_ > _Library_, add _app360sdk_ as a library of _app360paymentsdk_ .
- Right-click on your project, choose _Properties_, inside _Android_ > _Library_, add _app360paymentsdk_ as a library project dependency.
### Android studio
- Import App360 Payment SDK: Choose _File_ > _Import Module..._, then browse to app360paymentsdk directory inside the repository. Click Finish and wait until the import is completed.
- Import App360SDK: Choose _File_ > _Import Module..._, then browse to app360sdk directory inside the repository. Click Finish and wait until the import is completed.
- Setting Dependencies: 

    Open File > Project Structure, select _app360paymentsdk_ module, select Dependencies tab, press the plus (+) symbol in the top-right corner, select Module dependency, then select _app360sdk_.
 ![dependency app360paymentsdk](http://i.imgur.com/XcS1tda.png?1)
 
    Select your app module, select Dependencies tab, press the plus (+) symbol in the top-right corner, select Module dependency, then select _app360paymentsdk_.

    ![dependency your app](http://i.imgur.com/FxGInqj.png?1)

## 3. Integrate with Payment SDK
<commit_msg>Update README file<commit_after>#Introduction

App360 Payment SDK is a part of App360 Platform, it provides easiest way to integrate payment service (including sms, phone card and e-banking) into your application.

App360 Payment SDK use appscoped-id session of App360SDK to make payment. So, you must integrate with App360SDK first in order to call any Payment API.

The App360 Payment SDK supports Android version 4.0 and above.

#Getting started with Demo project

Firstly, clone or download this repository to your machine.

- `git clone https://github.com/app360/app360-payment-android-sdk.git`
- Or, download from https://github.com/app360/app360-payment-android-sdk/releases

Open `LoginActivity.java` inside demo project, find `App360SDK.initialize(...)` line and replace the placeholders with your application credentials.

Run the project. The app demonstrates capability of App360 SDK, including app-scoped ID and payment.

# 3 Step to integrate with App360 Payment SDK

## 1. Integrate with App360SDK

The first thing you need to do is integrate your game/app with App360SDK. For more information, please read [App360SDK document](https://github.com/app360/app360-android-sdk) to know how to do that.

## 2. Add App360 Payment SDK to your project

Download the Android SDK from the this repo, unzip the App360 Payment SDK file.

### Eclipse
- _File > Import..._, then inside the Import dialog, choose _General_ > _Existing projects into workspace_, then select _app360paymentsdk_ folder. 
- Repeat this step to import _app360sdk_.
- Right-click on _app360paymentsdk_ project, choose _Properties_, inside _Android_ > _Library_, add _app360sdk_ as a library of _app360paymentsdk_ .
- Right-click on your project, choose _Properties_, inside _Android_ > _Library_, add _app360paymentsdk_ as a library project dependency.

### Android studio
- Import App360 Payment SDK: Choose _File_ > _Import Module..._, then browse to app360paymentsdk directory inside the repository. Click Finish and wait until the import is completed.
- Import App360SDK: Choose _File_ > _Import Module..._, then browse to app360sdk directory inside the repository. Click Finish and wait until the import is completed.
- Setting Dependencies: 

    Open File > Project Structure, select _app360paymentsdk_ module, select Dependencies tab, press the plus (+) symbol in the top-right corner, select Module dependency, then select _app360sdk_.
 ![dependency app360paymentsdk](http://i.imgur.com/XcS1tda.png?1)
 
    Select your app module, select Dependencies tab, press the plus (+) symbol in the top-right corner, select Module dependency, then select _app360paymentsdk_.

    ![dependency your app](http://i.imgur.com/FxGInqj.png?1)

## 3. Integrate with Payment SDK

{'fraction_non_alphanumeric': 0.06812386156648452, 'fraction_numerical': 0.040437158469945354, 'mean_word_length': 4.591649694501018, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7258978', 'n_tokens_mistral': 1671, 'n_tokens_neox': 1444, 'n_words': 676}