I'm developing an app for use on Android and want to parse the nmea strings.
I'm using the class like this
----------------------------------------------
TLocationListener = class(TJavaLocal, JLocationListener)
private
[weak]
FParent : TForm1;
public
constructor Create(AParent : TForm1);
procedure onFlushComplete(requestCode: Integer); cdecl;
procedure onLocationChanged(location: JLocation); overload; cdecl;
procedure onLocationChanged(locations: JList); overload; cdecl;
procedure onProviderDisabled(provider: JString); cdecl;
procedure onProviderEnabled(provider: JString); cdecl;
procedure onStatusChanged(provider: JString; status: Integer; extras: JBundle); cdecl;
end;
-------------------------------------------------
It works well is solid and reliable, but i cant find one single example on how to use / add the ' addNmeaListener' function.
Can anyone advise on how to use it ?