Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: Using TFDMemTable as local storage in Android app

Permlink Replies: 0
Davide Rubbiani

Posts: 70
Registered: 8/15/03
Using TFDMemTable as local storage in Android app
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 17, 2015 9:53 AM
I'm developing an Android application using Delphi XE7.
Cause my users would like to work off-line I'm filling one TFDMemTable through a REST call and I SaveToFile it on the device.
Everything works right except when the application goes in background (for example by pressing the Android hardware back button) and after I get it in foreground.
In this case the application seems start loading data from the local file but after few seconds it freeze and I have to kill it.
I'm using a Listview live binded to the table.
Does any one experienced thi scenario?
Is there a better way to store data locally on the device?
Should I set some particular property of TFDMemTable to work on Android?
The same app works fine on Windows...

Thanks in advance,
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02