mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
19 lines
931 B
Markdown
19 lines
931 B
Markdown
AppBladeSDK PhoneGap Plugin
|
|
===================
|
|
|
|
Plugin for PhoneGap that uses the AppBlade SDK.
|
|
|
|
##Installation - Android
|
|
|
|
1. Copy `AppBlade.js` into your `www` directory.
|
|
2. Add `AppBladePlugin.java` to your project.
|
|
3. Follow directions for [adding plugins to your Android project](http://wiki.phonegap.com/w/page/43708611/How%20to%20Install%20a%20PhoneGap%20Plugin%20for%20Android).
|
|
3. Follow directions for [adding the AppBlade SDK to your project](http://github.com/AppBlade/SDK), but do not do the last 2 steps where you edit your main activity file.
|
|
3. In your `index.html`, register for the `"deviceready"` eventListener, and call the setup method with your SDK keys in this order: project, token, secret, issued timestamp.
|
|
|
|
See the Example project included for examples using the other functions of the SDK.
|
|
|
|
|
|
##Resources:
|
|
###[AppBlade.com](https://appblade.com/)
|
|
###[License and Terms](https://appblade.com/terms_of_use) |