សេវាឃុំ (Seva Khum) application have been developed with ionic 1 framework. The app provide useful information via text content and sound of Cambodia commune public service.
You can download project source code Here. You can also clone it in our repository.
-
First, install Node.js.
-
Then, install the latest Ionic command-line tools in your terminal. Follow the Android and iOS platform guides to install required tools for development.
npm install -g ionic
-
Then, install the corodva platform.
npm install -g cordova
-
You need to install JDK 1.8
-
Download Android SDK and add $ANDROID_HOME to your environment path.
Open Command Line and change directory to your project directory, then run the following command:
npm install
ionic cordova prepare
ionic cordova platform add android
ionic cordova run android
You can update the content in file index.html
in www
directory, then run the following command to deploy to your phone.
ionic cordova run android
To generate a release build for Android, we can use the following cordova cli command:
ionic cordova build --release android
You can follow this guide for more information: Publishing your app