uk.co.silentsoftware.ui.views
Interface GPSDataView

All Known Implementing Classes:
DataView, MainView, ReceivedMessageView, SatellitesView, SendTextMessageView, TargetListSaveView, TargetListView

public interface GPSDataView

Interface for any class wanting to render GPS NMEA data strings


Method Summary
 void process(javax.microedition.location.Location data)
          Takes Location data and processes it.
 void process(java.lang.String data)
          Takes String data and processes it.
 

Method Detail

process

void process(java.lang.String data)
Takes String data and processes it. Implementing classes should filter the message type on NMEA string headers they need since the data may not be NMEA strings

Parameters:
data -

process

void process(javax.microedition.location.Location data)
Takes Location data and processes it. Implementing classes should only treat the Location object as the device's location, if other GPS data is needed use the process method with raw NMEA data.

Parameters:
data -