AFTrack - GPS Tracking

for Android


Version 1.5.1

Deutsch
Italian

AFTrack is the display for your GPS and activates the world of hiking, biking, sailing, geocaching or more for your phone. The program handles tracking with smart and fixed logging features. It sends reports via GPRS or SMS. It receives SMS position messages and show it as a waypoint. It exports tracks and waypoints. Uses maps online and offline and more.


Features

- map view with info docks - track, profile, route, way point. gps info
- collecting track data
- show routes or tracks in up/down hill colors
- export tracks to GPX, KML, OVL, IGC format and send or upload it
- import route data - GPX, TCX or KML format
- import, export way points - GPX or KML format
- import areas from KML format
- get new way point from bearing, map or position
- off road routing along the line
- online maps - pool editable
- offline maps - OSZ format build by MobileAtlasCreator
- offline maps - SQLite formats mbtiles and sqlitedb build by MobileAtlasCreator
- offline maps - BSB3 format for marine navigation (OS >= Android 2.2)
- offline maps - mapsforge vector format (needs Android 2.2 or higher) - experimental
- offline maps - mph/mpr format
- use offline maps from jpg, png or bmp files
- use offline maps with calibration file map, gmi, kml, kal, cal, pwm or jpr format
- seamless maps display when using OSZ or SQLite tile container
- map selector to have quick access to available offline maps
- map scan for a defined folder and sub folder
- map overlays - pool editable
- wind indicator for the map center
- copy way points to route
- revers routes
- altitude correction (automatic or manual) and Kalman filter
- pressure usable for altitude (if available)
- GPRS position sending for live tracking
- short message position sending
- short message position receiving
- short message from GPS tracker TK102, TK102-2, TK102 clones, DNT, ELRO, GEODOG or SmartcomGps
- text storage for short messages e.g. for Xexun tracker
- collecting short messages to a track, single and multi tracking
- getting way point positions from a GpsGate server
- set anchor alarm for the current position
- set anchor alarm for a way point that receives positions from a gps tracker



Application structure

Main View
AFTrack GPS tracking next
Goto Info
AFTrack GPS tracking
Big Info
Satellite Info
Data Collections
Tracks Way points Routes  Maps
Settings
GPS Display SMS Report HTTP Report


The map view can contain some additional data in a dock.

Track
Profile
Route
Way point
GPS info



Button Information
Menu with avaliable actions:
- start/stop track
- save a way point
- get the current address
- send a message
- send a online report
- select a dock view

Center button
- position center
- map was moved
Select an other center logic:
track center
route center
virtual map center on  position and way point
or on multi tracking points
way point center
way point center

gps direction
compass direction
Map direction toggle

- north

- gps direction

- compass direction
Call the info views
Zoom in
Zoom out
Add a way point
Search for address
Bearing
Bearing to add a way point
Confirm changes on a way point
Close dialog
full screen
Switch to full screen or back
Settings
Set visibility of the overlays
Select a map


Condition infomation
GPS is valid
GPS is invalid

Screen is locked/unlocked for moving or
tapping on screen
Track is running
Route is running


Info views
Back to map view
Show big view

Show satelitte view
Show GoTo view


Gestures
Map unlocked
wipe
moves the map

long press
add way point or search
Dock
wipe left right next dock view
Map locked
wipe left right
next info view
Info view
wipe left/right
next info view
Lists
long press on list element
Menu for this element



Application Functions

Maps

Maps are used as online or offline maps. Where online maps need a net connection to get it. But received parts of a maps are stored on the sdcard to protect against too much traffic. You may define own entries in the map definition file (maps.xml is found in sdcard/data/aftrack/conf). Zoom level goes from 2 to 16.
If the selected map doesn't deliver tile for the current area you can define a fall back map server.

Offline maps have to be made first. Use tools like the MobileAtlasCreator to get some maps for your area. Useful are around 5000 tiles in a file. The tiles are packed in a OSZ file (just a zip file with the downloads and a calibration info file). The MobileAtlasCreator generates this format since version 1.8a7. Place the files on your favorite directory and load it into AFTrack at the map list.
If the tiles are written to a SQLite database, larger tile numbers are possible - there are no tests to the limit, only statements up to 2 GB from the net ???. Use this formats mbtiles (Mobac: MBTiles SQLite) or sqlitedb (Mobac: Big Planet Tracks SQLite, OSMAND SQLite or RMaps SQLite)

Instructions for generating offline maps with MobileAtlasCreator and Maperitive

Offline maps without zoom level can imported from jpg, bmp or png format. This can combinated with calibration files in map, gmi, kml, kal or jpr format. The name of calibration and bitmap file has to be the same. Note: A bitmap is stored completely in memory. So it depends on the hardware, how big can the map (size = X x Y x 4 bytes).

See OSM-wiki for more online references.

Here you find some available sea maps in BSB3 format:
US area: charts.noaa.gov
Europe area: SeaNavCD (German): Baltic Sea, North Sea, Mediterranean_Sea
or SeaNavCD (English translation)
or OpenSeaMap Export

Offline vector maps from mapsforge project.
This can be used with the original maps on the mapsforge download or
the maps from openandromaps but to get the full features (coast line, contour lines) of this maps you will need to load the included theme file.

Use the map selector on top the switch between the available maps for your position (yellow = current map).

Auto map mode

If the 'auto map' mode is selected in the map settings, the program will select the next map for the current area from the list. When there are some more then one available it's always the first.

To see exact the selected offline map, just deselect 'auto map'.

Overlays


Overlays are displayed on top of the current map. There are two samples for  sea  marks and  hill shadows (only where data is available). Define others in the conf file 'overlay.xml'.

Tracking

Tracks are managed in the track list and some settings in the GPS settings. Export it from the list by hold the list entry for a longer time. Exports can be made to GPX, KML, OVL or IGC format. IGC format needs some settings to be done to get your personal values out.

It is also possible to collect a track from the incoming short messages, this can work as single or multi tracking.

Colors for  multi tracking are placed in the folder aftrack/conf (file trackcolors.txt).
It is a list of hex numbers. See e.g. HTML Color Codes

Each track point can be send as short message or HTTP message immediately after generation.

Routing

Routes are useful to show it on the map or let you guide to your targets. It can't be like street routing, it only works with one line.

Areas

Import an area in the KML format. It can be displayed in different colors.

sample areas CTR in Germany

Way Points

Way points are organized in groups. So define your special interest group and add some points to it. Use the import of GPS or KML formated files or add point from your gps signal.

It is possible to set an anchor alarm to a way point when you receive short messages for it.

More waypoint icons can be placed in the AFTrack folder sdcard/data/aftrack/icons
Format must be PNG. The icon names are synchrone to the GPX "sym" or "groundspeak:type" tag.
E.g. Geocache 60x60 or Geocache 80x80

GPS

By default the location settings of the system are used. When tracks are recorded, it is recommended to switch off the network location.


You may use external bluetooth gps as well. But it an other app is needed. Search the market for 'gps provider' or visit the BlueGps4Droid page.

Start with a pairing of the phone and the gps in the bluetooth settings.
Start the new provider app and select the pairing parameters. Then the connection can start.
AFTrack will use this positions now.


SMS Reporting

Short message reporting can be done manually or parallel to a track. This needs some settings first.
Incoming messages are checked for gps sentences and and processed if found.

This program also receive SMS reports (select GGA mode) from other AFTrack users and store the incoming values as a waypoint. For the name of the waypoint the phone book entry is used - if not already there. The GPS tracker TK102, TK102-2, TK102 clones, DNT, ELRO, GEODOG or SmartcomGps are possible to receive.

For special functions exists a template to individualize the sending text (template sms.txt is found in AFTrack directory conf). It contains the all available shortcuts to fill into the message (latitude, longitude, altitude, date, time, speed, direction and the adddres for the position - if internet connected).

The receive function can be used as an anchor alarm. Leave a gps tracker (or a second AFTrack version) on board and set an anchor alarm for its way point.

Basic requirements for the operation of GEODOG with AFTrack
GEODOG collar with software version >= G1CG20W
The position reports are recognized in "TrackSMS" mode . To activate the this modus send a short message with the following content to the collar

Tracksmson (to switch on)
Tracksmsoff (to switch off)

The collar responds with a ready message.
.

After the command is confirmed, the mode is activated by a 3 second press on the home button. PLEASE NOTE: GPS and the lamp Home button flashing. It is made a new GPS fix now. Once the fix has been made ​​successfully both lamps permanently.

From now the collar sends positions for the last 30 seconds in a 5 block format.

The transmission mode is switched off with a short press on the home buttonWARNING: if the collar runs longer than 30 seconds the display goes to "sleep mode". Before switching off do a short push on the 'on / off' button.

If no network connection is available, the tracking data are buffered and sent out if this is possible.

Online Reporting

Online  reporting means sending your position to a web site. This can be done in a single step or automatic with the log. There is a default setting for http://www.whererya.com. It can be done automaticly with the logging function or manually from the menu.

If no network connection is available, the tracking data are buffered and sent out if this is possible.

Settings

GPS
- Log Mode - handles the different modes for logging
- Log Seconds - frequency for logging only used at log on second (values from 2 to 9999 seconds (30 minutes = 1800)
- GPS update settings for seconds and distance
- Altitude - select meter or feet
- Altitude correction - the altitude correction is used or not
- Altitude correction value for a manual altitude correction. When defined as 0 then the geo id is used,
- Special: when a barometer sensor is found then here are some more values:
  - Use pressure for altitude
  - Define a station for reference (here the metar name of an airport is used, see ourairports.mobi )
  - Get pressure from the station
- Special: if the hardware sends NMEA sentences:
  - Use NMEA data for positioning
  - Write a NMEA log file
- Position format as decimal degree, degree with minutes, degree with minutes and seconds or UTM format
- Speed - select knots, miles, kilometers per hour, meter per minute or miles per minute
- Distance format as nautical mile, mile or kilometer
- Smart angle, the angle for smart logging
- Use filter for altitude to get smoother values
- Speed pause - define the minimal speed
- Use the compass when available
- Set the distance for the anchorage alarm
Display
Way point settings
- How to display way points on screen
- Define the way point icon position
- Define the minimal zoom level to diplay the way points
- Show a small line to the way point when in goto mode

Track settings
- Track color or 'up/down hill' color
- Track line size
- Track restart, generate a new track when x minutes left and run track is selected (0 = no new track)

Route settings
- Route color or 'up/down hill' color
- Route line size

Map settings
- Label size
- Show view direction on the map
- Center tracks/routes on maps or center the start point
- Start with last map view or last position
- Position pointer format
- Radius for virtual map center (km)
- Show wind info for the map center
- Unit for the wind speed

Display settings
- Auto dock, display the dock for the 'view on map' function
- Set light alway on
- Lock the screen tabbing
- Set display orientation (automatic is not working correct on all devices)
Map
- Define a scan folder
- Scan the folder
- Scan at start (could slow down the app start)
- Clear the cache for the online map store
- Automatic selection of a map for the current area. Starts with the offline maps
- Define the cache directory
- Set the cache directory
- Use a online map as fallback map when selected online map is not available in the current area
- Stop the use of a net connection - uses only the cached values
- Set the position of the zoom buttons to the left side
- Load a new layout for the mapsforge maps
- Define the text size on mapsforge maps
Online
GpsGate settings
These settings are for getting way point postitions from a server.
Before start a GpsGate connection fill the settings for the server.

Profile settings
Different profiles can be created.
A profile can be loaded from a settings file
Example of setting files
MyLiveTracker
GpsGate

HTTP settings
This helps you to send positions to a server.
Fill in all the values you need to connect a server.
This can be done in user profiles. So it's easy to switch to other server settings.

  • Server - the server address w/o http://
  • Port - used port address
  • File - file on the server to read the values
  • User - the name of the identity parameter
  • User Mode - send your IMEI for identity or define an own value
  • User Value - the value for the id
  • Password - parameter name for a password
  • Password Value - the value for the password
  • Use GPRMC, this sends a NMEA sentence, the next values are not used in this case
  • Latitude - name of the parameter
  • Longitude - name of the parameter
  • Altitude - name of the parameter
  • Speed - name of the parameter (value belongs to the speed settings kmh, knots, mi)
  • Direction - name of the parameter
  • Time - name of the parameter
  • Format - time format (in Java pattern)
And an option to connect the server parallel to the logging.


Sample settings for a GpsGate server

Host: myhost.org
Port: 80
File: /Gpsgateserver/VehicleTracker/gpsgate.aspx
User Attribute: username
User: the_user
Use IMEI: off
Passwort Attribute: pw
Passwort: the_password
Encryption: GPSGate
Latitude Attribute: latitude
Longitude Attribuet: longitude
Altitude Attribute: altitude
Speed Attribute: speed
Direction Attribute: heading
Time Attribute: time
Time Format: HHmmss
Short Message
Storage settings
- SMS storage - predefined text to send
- Show commands in list

Logging settings
- Automatic send with log
- Select a string to send
- Define to send parallel to the logging
- Resend on trouble
- Number to send
- Center on sms position
- Play sound on sms income
IGC
The values to fill the IGC log

- Name
- Glider type
- Glider id
- Competition
- Competition class

Known Problems

Short Message applicaions can interfere with the reception of SMS if they occupy the inbox.
Reported are the apps
'GO SMS Pro' and 'Pansi SMS'
and the custom ROM 'MIUI'.


AFTrack Lite Version

The lite version differences

- no automatic send via http
- no automatic send via short message
- no template sending via short message
- loads only three offline maps
- has a start screen
- has inside advertising
- limited export
- no multi track colors

Requirements


Minimum Android version:  2.1, runnable on version: 4.0
Minimum screen: 320 x 480
Android Market and/or Google account: -
Third-party libraries: -
Rooted device: -

Permissions:
Location coarse location, fine location, mock location
Access network state, wifi state
Access internet
Short message read, write, edit, send
Read contact data for incoming short message
Modify external storage
Read system log files
Control vibrator




GPS tracking - Google Play direct    Get it on Google Play

Release notes

Notes


afischer @ dbserv.de