1
vote
Vote UpVote

Getting directions from an iOS FireMonkey application

The Hacker's Corner – Q: How do you get directions on the iPhone from a FireMonkey application? A: By opening a URL formatted like so - http://maps.google.com/maps?saddr=FROM&daddr=TO unit Unit1; {$IFDEF FPC} {$mode objfpc}{$H+} {$modeswitch objectivec1} {$ENDIF} interface uses SysUtils, Types, UITypes, Classes, Variants, FMX_Types, FMX_Controls, FMX_Forms, FMX_Dialogs {$IFDEF FPC} , iPhoneAll {$ENDIF} ; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; ...
Favorite? Off-Topic? Anders Ohlsson @ 2011-10-04 21:37

Statistics

Visits: 402
Votes: 1
Favorites: 1
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Rodrigo
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)