Forum: Cross-Platform-Entwicklung
Delphi
by Der schöne Günther,
16. Feb 2015
Ja, eben. Aber wie soll man da herauskommen?
TGeoCoder.Current erzeugt folgenden Aufruf:
System.Win.Sensors.TPlatformGeocoder.GetGeocoderImplementer
System.Sensors.TGeocoder.GeocoderImplementer
System.Sensors.TGeocoder.GetCurrent
mit class function TPlatformGeocoder.GetGeocoderImplementer: TGeocoderClass;
begin
Forum: Cross-Platform-Entwicklung
Delphi
by Der schöne Günther,
16. Feb 2015
System.Sensors.pas:
{$IFDEF ANDROID}
System.Android.Sensors;
{$ENDIF ANDROID}
{$IFDEF IOS}
System.iOS.Sensors;
{$ELSE}
{$IFDEF MACOS}
System.Mac.Sensors;