A Android app about weather using Ionic
- It could get the weather information for the specific place form Gmap :
- https://github.com/abc9070410/WeatherTW/blob/master/DEMO_1.md
- install Ionic : http://ionicframework.com/getting-started/
- open the terminal window, move to the specific directory
- type
ionic start WeatherTW sidemenu
, move to the .\WeatherTW - type
ionic platform add android
- add the following plugins :
ionic plugin add https://github.com/Initsogar/cordova-webintent.git
ionic plugin add org.apache.cordova.inappbrowser
ionic plugin add org.apache.cordova.network-information
- add the following segment into .\WeatherTW\platforms\android\AndroidManifest.xml :
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
- copy the
src\www
to replace.\WeatherTW\www
- type
ionic serve
, then the app runs on the browser
- connect the PC and your device (enable the USB debugging first : http://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm)
- open the terminal window, move to the directory of WeatherTW
- type
ionic run --device android
- run the APP on your device now
- The MIT License (http://opensource.org/licenses/MIT)