This is a mobile application part of the RC2 WDR component of the wimea project. It is aimed at acting as a tool used to collect data from the weather station by the observers. It provides an interface for the users to login, enter observation data and more form fields form data read from the different weather stations. It also provides a component that alow users capture data while offline and later upload their results in the presence of internet.
this project was developed using ionic version 1, angular js, php and json. Inorder to build this project, one has to install the ionic development environmment dependenicies. Ionic is a framework for the developing mobile applications through use of web technologies
Whether you are using Windows, Linux or Mac the first step is to make sure you have Node.js installed on your machine. for more information visit node js download and install it.
ionic can be installed through node js package manager (npm). In your terminal write the command below
npm install -g cordova ionic
Cordova is used to make our applications native ie run on android, windows and iosTo start an ionic project type the following command in your terminal
ionic start projectname blank
This will create an ionic project for you. Move into the project directory by typing this commandcd projectname
Unzip this project and paste the www in the project directory
To test successfully run
ionic serve --lab
This will open the application in the browser. Otherwise then their is a problemThis projects has required plugins for specific features. Add these plugins to the project through using this command cordova plugin add <plugin-name>
cordova-plugin-advanced-geolocation 1.1.0 "Cordova Advanced Geolocation Plugin - Android"
cordova-plugin-console 1.0.7 "Console"
cordova-plugin-device 1.1.5 "Device"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-splashscreen 4.0.2 "Splashscreen"
cordova-plugin-statusbar 2.2.2 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova-sqlite-storage 2.0.4 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
You should be able to see these screens
tested on android 4.1+ and above