PhxMarco 0 Posted 11 hours ago Hello, I need install my Sqlite db file in a specific path of my industrial handheld: /data/user/0/com.acme.myapp/databases/DBSQLITE.db but in Deployment manager seems only possible install on .\assets\internal\ which result in a absolute path: /data/user/0/com.acme.myapp/files/DBSQLITE.db I tryed to change remote folder in '.\assets\internal\databases\' but after installation the file result located in com.acme.myapp/files/databases/ which is not com.acme.myapp/databases/ Is there any way to set the installation path as I need ? BR, Marco Share this post Link to post
DelphiUdIT 200 Posted 9 hours ago Have you tried in your deployment settings to set the remote path to: '.\databases' Share this post Link to post
PhxMarco 0 Posted 9 hours ago yes just done, but file location stay the same... To list the App folders I use TPath.GetDocumentsPath() and TPath.GetHomePath() which seems give the same path: /data/data/<application ID>/files To list the 'databases' folder there is no TPath method available, so I use tha Andrioid API databaseList: Context := TAndroidHelper.Context; DatabaseArray := Context.databaseList; which still empty, dispite other java made apps, where the db file are listed... Share this post Link to post
DelphiUdIT 200 Posted 6 hours ago (edited) 2 hours ago, PhxMarco said: which seems give the same path: /data/data/<application ID>/files This is the right place, see: https://docwiki.embarcadero.com/Libraries/Athens/en/System.IOUtils.TPath.GetHomePath So your files go to on the home directory or in the subfolder of that like you see. Edited 6 hours ago by DelphiUdIT Share this post Link to post
PhxMarco 0 Posted 6 hours ago yes, I have seen and tested, but the Home path /data/data/<application ID>/files is the top higher level reachable; with Deployment manager seems not possible create or put files in /data/data/<application ID>/databases 😞 Share this post Link to post