Paul Jones
Paul Jones

Reputation: 205

FireMonkey access SQL Server on Android or iOS

Is there any way to access a SQL Server database using Delphi XE5 FireMonkey in an Android or iOS application? There doesn't appear to be a way to do it using FireDAC or UniDAC.

Upvotes: 3

Views: 3414

Answers (3)

Dison
Dison

Reputation: 113

  1. Create a DataSnap Rest Server (http,https)
  2. Create methods that return JSON
  3. Consume that methods from client(Android/IOS)

DP

Upvotes: 0

Currently there are no clients available in Delphi that would allow you to access a SQL Server from Android and iOS.

FireDAC is the standard way to access, but mobile is only available to access Interbase (ToGo version) and SQLite.

The logical thing would be to use DataSnap or Webservice on the server.

Upvotes: 0

Uwe Raabe
Uwe Raabe

Reputation: 47889

The recommended way to access SQL Server from iOS and Android is via DataSnap. You have to make a DataSnap-Server on a Windows-Machine that connects to SQL Server. The iOS and Android clients then connect to the DataSnap-Server.

Upvotes: 3

Related Questions