Show/Hide Toolbars

Android Applications

Navigation: Introduction

Brief Outline of Sample Program

Scroll Prev Top Next More

 

A "Test" Tab is used as a place to put information while playing with the code.

 

The "About" Tab Details the compiler used and the capabilities of the device - Sensors that are discovered. It also offers the buttons to Activate/Deactivate some sensors.

 

The "Progress" Tab with multiple sub tabs tracks GPS sensor information showing the current speed, bearing, Longitude and Latitude reading.  It also shows the "Start" Location and the distance to the current location while trying to estimate the distance of the actual path traveled.  If the mobile is actually stationary it provides an indication of the navigational accuracy. The GPS sensor on an Android generally incorporates information calculated from Mobile transmissions towers in the GPS readings. A second sub-tab presents the location readings graphically by default after the software has attempt to rationalize them but also allowing "All" location readings. The last sub-tab on "Progress" shows recent samples and has a save button which copies all samples to comma separated text and the graphical representations to bitmap files on the phone for offline analysis.

 

The intention of a "Measure" Tab was to allow the mobile to be left in a single location achieving a more accurate  location by averaging a number of GPS readings. This was not successful. The first "Measure" tab starts and stops the averaging and shows the progressive results - Number of samples,  Jitter and Average. The next sub tab adds average speed and altitude. A third tab plots all average samples.  If the mobile is stationary this gives a visual plot of the accuracy of the readings but if the mobile is moving it give a smoothed plot of the track taken. Not the intent but useful. A final sub-tab on "Measure" shows all average samples and allows you to save a CSV file of the data on the mobile. An "Average Location" is logged if more than 5 samples are within a prescribed distance of the previous sample (ie the mobile has not "moved"). A sample session will be terminated is the Motion Sensor is on and Triggered, the stop button is pressed, the prescribed distance exceeded or the number in the average exceeds 10. Turning on the Motion Sensor greatly increase the prescribed distance but allows the action of "picking up the mobile and physically moving it to stop the sampling.

 

The "Map" tab passes the current location to Google Maps.

 

Copies of the prototype application are available for download