- The GPS Coord mobile web application was created in order to serve as research and data collection tool.
- The GPS Coord application will retrieve the user’s device coordinates and sync that data with the user’s device account at Google Drive.
- In our experience, publicly available GPS mobile applications included advertisements and additional third-party data which was unwanted.
- Chrome Apps for Mobile (MCA) was the chosen framework for the application development.
https://developer.chrome.com/apps/chrome_apps_on_mobile - Chrome Apps for Mobile (MCA) is based on Apache Cordova
- With Chrome Apps, one can use HTML5, CSS, and JavaScript to create an experience comparable to native applications.
- Create, develop, debug and test application on the desktop and then publish to mobile.
The GPS Coord application is quite simple; it has four main features.
- The ‘Find My Coordinates’ button retrieves the user’s device GPS coordinates and writes the current coordinates including data and timestamp to a data.txt file on Google Drive.
- The ‘Sync All Coords’ button executes a function that will write all saved coordinates on the chrome.storage.sync (similar to local storage) that is currently available on the device.
- Clear Memory – will clear the chrome.storage.sync from the device.
- Under Settings – GPS Tracker
A feature that will continuously retrieve GPS coordinates of the user’s device (by default set to 30 seconds)
a. Track GPS – enable/disable
b. Tracker Interval – alter timeout between GPS coordinates retrieval.
####How to Find Syncable Data in Google Drive
- Enter Google Drive
- In the search input box type – ‘Chrome Syncable Filesystem’
- Inside this folder a sub-folder will appear (name structure similar to hfejkdhobxxxxxxxxxxxxxxx
- You will find the syncable text files inside this folder
In order to develop and debug the application, several resources are required:
1.Node.js version 0.10.0 (or higher) with npm 2. Java JDK 7 (or higher) 3. Android SDK version 4.4.2 (or higher) 4. Apache Ant
** [Additional information can be found at:] (https://developer.chrome.com/apps/chrome_apps_on_mobile)
- Open Chrome
- Enter the Chrome menu Preferences
- Click ‘Extensions’ on the left side
- Select ‘Developer mode’ on the top right side
- Select ‘Load unpacked extension’ to add new packaged apps
- Select the parent directory for the packaged app.
- Select “Launch” to launch application.