Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brodycj/phonegap-lite-android
PhoneGap iOS projects from the command line with no built-in plugins (except Device builtins)
https://github.com/brodycj/phonegap-lite-android
Last synced: about 1 month ago
JSON representation
PhoneGap iOS projects from the command line with no built-in plugins (except Device builtins)
- Host: GitHub
- URL: https://github.com/brodycj/phonegap-lite-android
- Owner: brodycj
- License: other
- Created: 2012-07-30T21:05:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-30T21:32:06.000Z (over 12 years ago)
- Last Synced: 2024-07-31T00:17:46.367Z (5 months ago)
- Language: Java
- Size: 14.5 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PhoneGap-lite Android
===PhoneGap Android is an Android application library that allows for PhoneGap based projects to be built for the Android Platform. PhoneGap based applications are, at the core, an application written with web technology: HTML, CSS and JavaScript.
PhoneGap-lite for Android is an adaptation with all built-in plugin classes removed except for the Android Device plugin. This project is based on [brycecurtis / callback-android](https://github.com/brycecurtis/callback-android) as of October 2011 so it should be OK to use it under the MIT, BSD, or Apache 2.0 licenses.
## Status
There is a test project under `sqlite-test-1` to test that this is working with [chbrody / Cordova-SQLitePlugin](https://github.com/chbrody/Cordova-SQLitePlugin). A couple small adaptations are hacked in the SQLitePlugin, until some proper adaptor classes are added to this project.
Requires
---- Java JDK 1.5
- Apache ANT
- Android SDK [http://developer.android.com](http://developer.android.com)PhoneGap Android Developer Tools
---The PhoneGap developer tooling is split between general tooling and project level tooling.
General Commands
./bin/create [path package activity] ... create the ./example app or a phonegap android project
./bin/bench ............................ generate a bench proj
./bin/autotest ......................... test the cli tools
./bin/test ............................. run mobile-specProject Commands
These commands live in a generated PhoneGap Android project.
./phonegap/debug [path] ..................... install to first device
./phonegap/emulate .......................... start avd (emulator) named default
./phonegap/log .............................. starts logcatRunning the Example Project
---Start avd (emulator) named `default`:
./bin/emulate
Create the example project and build it to the first device:
./bin/create
cd example
./phonegap/debugStart adb logcat (console.log calls output here):
./phonegap/log
Running the [callback/callback-test](http://github.com/callback/callback-test) tests:
---./bin/test
Creating a new PhoneGap Android Project
---./bin/create ~/Desktop/myapp com.phonegap.special MyApp
Importing a PhoneGap Android Project into Eclipse
----1. File > New > Project...
2. Android > Android Project
3. Create project from existing source (point to the generated app found in tmp/android)
4. Right click on libs/phonegap.jar and add to build path
5. Right click on the project root: Run as > Run Configurations
6. Click on the Target tab and select Manual (this way you can choose the emulator or device to build to)Further Reading
---- [http://developer.android.com](http://developer.android.com)
- [http://docs.phonegap.com](http://docs.phonegap.com)
- [http://wiki.phonegap.com](http://wiki.phonegap.com)