When I run Android app it's working fine. Problem when I change some data and click button 'Save Changes'. Then again run App it's showing old data.
I need My App load me saved one.
I'm using Delphi Xe8->Multi-Device App.
For Android, I set the Remote Path to assets\internal -->.\assets\internal\
Save Changes button Code:
procedure TForm1.Button1Click(Sender: TObject);
begin
CDS.SaveToFile(TPath.GetDocumentsPath + PathDelim + 'users.cds');
end;
OnCreate Code:
procedure TForm1.FormCreate(Sender: TObject);
begin
CDS.LoadFromFile(TPath.GetDocumentsPath + PathDelim + 'users.cds'); //Embarcadero\Studio\Projects\example\Client\Android\Debug\Client\assets\internal
end;