Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ldarren/pico-phonegap-base

Base phonegap application for pico framework
https://github.com/ldarren/pico-phonegap-base

Last synced: about 2 months ago
JSON representation

Base phonegap application for pico framework

Awesome Lists containing this project

README

        

pico-phonegap-base
==================

Base phonegap (2.9) application for pico framework

##Features
1. Facebook connect 3.5 phonegap plugin
2. Google In App Billing phonegap plugin
3. Google App State phonegap plugin
4. Google Leaderboard phonegap plugin
5. Google Achievement phonegap plugin

##Android App Setup
This setup guide assumes that you have an app in google play developer console and an app in facebook app developer console, if not please visit [Google Play Game Services](https://developers.google.com/games/services/console/enabling) and [Facebook Android App Guide](https://developers.facebook.com/docs/android/getting-started/)

1. git clone https://github.com/ldarren/pico-phonegap-base.git .
2. Install android platform SDK API-17, facebook plugin require this version, you can have more than one SDK version installed
3. vi local.properties
* sdk.dir=/ANDROID/SDK/PATH
4. vi ant.properties
* key.store=path/to/my.keystore
* key.alias=mykeystore
5. vi res/values/ids.xml
* change app_id, get it from [Google Developers Console](https://console.developers.google.com/project) -> Select your project -> Select APIs & auth -> Select Credentials -> Client Id
6. vi src/com/baroq/pico/google/InAppBilling.java
* change public key, get it from [Google Play Developer Console](https://play.google.com/apps/publish/) -> All Applications -> Select your game -> Services & API
7. vi asset/www/index.html
* change FB.init(FB_APP_ID), get it from [Facebook Developer](https://developers.facebook.com)

##Facebook Config
1. keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
* password: android
* copy and paste the hash key to your facebook app setting

##Google In App Billing Config
1.

##Google Game Services Config