Android Question Sqlite - where are .db files on pc

a2stepper

Member
Licensed User
Longtime User
i'm working with sqlite and would like to look at the actual data file via sql browser but cant find
then on pc. does anyone know where the are stored.

thanks.
paul
 

sorex

Expert
Licensed User
Longtime User
did you create it on the PC?

or by code in your app? then it is on your android device and you'll need to copy it over to your pc.
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
just to clarify .. if you created it on your pc with b4A ,then as sorex stated .. it will be on your android device and will have to be copied to your pc.

If you created it on your pc with a 3rd party db utility such as ... SQLite database browser then it will be on your PC at the path of your choosing.
 
Upvote 0

a2stepper

Member
Licensed User
Longtime User
it is created in b4a and run in b4a using simulator. ON PC
Dim DBFileName As String: DBFileName="pdbmc.db"
Dim DBFilePath As String: DBFilePath=File.DirInternal
here is the path but can't find it on the pc.
thanks.
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
You won't be able to find it, first of all, is NOT created on the PC but the device (or in this case the emulator), and the File.DirInternal is accessible only by the app, if you want to "see" it, you have to create the file on DirDefaultExternal or DirRootExternal.
 
Upvote 0
Top