Write into the SQLite database from an Android service in Delphi (RAD Studio)

  

I have an Android application and service in the same process. Write code under RAD Studio Delphi 10.1.

I need to get geographic coordinates in Android Service (that I’m doing well) and write them to the SQLite database.
And from time to time the application can (when the user needs) process the coordinates in the user interface.

When I put TConnection (any – ADO, FireDAC, UniDAC) into DataModule not even make an active connection, the service stops working, even not running the OnStartCommand event.

Monitor.bat shows no obvious errors.

Please tell me how to work with a SQLite database in Android Service and it Android Application at the same time.

Comments are closed.