|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.silentsoftware.reader.IntegratedGPSReader
public class IntegratedGPSReader
Simple class to associate with an integrated GPS and read the NMEA data in, making a call back to the current displayed view
| Constructor Summary | |
|---|---|
IntegratedGPSReader()
Default constructor |
|
| Method Summary | |
|---|---|
void |
discoverGPS()
Find, connect and read from the GPS (push results to FollowMe.pushDataToView(...)) |
void |
locationUpdated(javax.microedition.location.LocationProvider lp,
javax.microedition.location.Location loc)
|
void |
providerStateChanged(javax.microedition.location.LocationProvider lp,
int arg1)
|
void |
shutdown()
Shut down the GPS |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegratedGPSReader()
throws javax.microedition.location.LocationException
javax.microedition.location.LocationException - if provider unavailable/integrated GPS does not exist| Method Detail |
|---|
public void locationUpdated(javax.microedition.location.LocationProvider lp,
javax.microedition.location.Location loc)
locationUpdated in interface javax.microedition.location.LocationListener
public void providerStateChanged(javax.microedition.location.LocationProvider lp,
int arg1)
providerStateChanged in interface javax.microedition.location.LocationListenerpublic void shutdown()
GPSReader
shutdown in interface GPSReaderpublic void discoverGPS()
GPSReader
discoverGPS in interface GPSReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||