Test Drive Kinvey with this blank PhoneGap application (Android).
JavaScript Shell Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets/www
cordova
libs
res
src/com/kinvey/phonegap
.gitignore
AndroidManifest.xml
LICENSE.txt
README.md
ant.properties
proguard-project.txt
proguard.cfg
project.properties

README.md

TestDrive-PhoneGap-Android

The TestDrive sample application provides you with a near blank template to get started with. It is great for learning and trying Kinvey, or to build your first application upon.

It is recommended to update to v1 of the library. The TestDrive for that version is available here.

Run It

After downloading or cloning the repository:

  • Replace <your-app-key> and <your-app-secret> (lines 27–28 in assets/www/index.html).
  • Set-up a virtual Android device. Then, deploy the project to this device.

Functionality

This application demonstrates:

  • Basic set-up for PhoneGap apps using Kinvey
  • Pinging the service

Architecture

The starting point of this application is assets/www/index.html. Here, you will find placeholders and hints on where to put your application content, styles, and scripts. Code to connect your app with Kinvey is already inserted.

By default, the sample app includes a button to ping the Kinvey service. If you want to get rid of this functionality, simply remove assets/www/scripts/ping.js, and delete the button HTML tag from assets/www/index.html.

To learn more about the features PhoneGap provides, read the PhoneGap Documentation.

License

Copyright 2013 Kinvey, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.