https://github.com/badsyntax/echojs-mobile-client
An unnoficial EchoJS Android cordova application
https://github.com/badsyntax/echojs-mobile-client
Last synced: 8 months ago
JSON representation
An unnoficial EchoJS Android cordova application
- Host: GitHub
- URL: https://github.com/badsyntax/echojs-mobile-client
- Owner: badsyntax
- License: mit
- Created: 2015-03-15T22:14:12.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T19:00:56.000Z (about 11 years ago)
- Last Synced: 2025-02-15T05:15:09.134Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 4.63 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EchoJS mobile client
## Setup
* Install the android SDK: http://developer.android.com/sdk/
* Install the latest Java JDK: http://www.oracle.com/technetwork/java/javase/downloads/
## Running the API server
This client requires a proxy API to the EchoJS api. Install and run the server before running this client: https://github.com/badsyntax/echojs-mobile-server
## npm scripts
* `npm start` - Start the project in dev mode, available at http://localhost:8000
* `npm run build` - Build the project in dev mode
* `npm run build:release` - Build the project for release
* `npm run emulate` - Open the mobile emulator in dev mode
* `npm run emulate:release` - Open the mobile emulate in release mode
* `npm run deploy` - Runs a release build and deploys to an Android device
## Installing apk on device
__Note: these steps can be run with `npm run deploy`__
Android requires that all apps be digitally signed with a certificate before they can be installed.
1. Enable USB debugging on your Android device.
2. Run `npm run build:release` to build the apk.
3. Sign the apk: (Keystore password is: echojs)
```
cd client/platforms/android/ant-build
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../keystores/EchoJS.keystore EchoJS-release-unsigned.apk EchoJS
```
4. Install the apk with the `adb` tool:
```
~/Library/Android/sdk/platform-tools/adb install app/client/platforms/android/ant-build/EchoJS-release-unsigned.apk
```