the Data directory of your app

sultan87

Active Member
Licensed User
Longtime User
Hello
where is stocked the Data directory of my app on the phone mobile?
Best Regards
 

sultan87

Active Member
Licensed User
Longtime User
Hello
the file .png or .jpg are in the directory files of l' application on the hard drive after having load l' application on the mobile where these files are on the mobile?
Best Regards
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
If I understood you corrrectly, you have some .png and .jpg in your app and when installing your app onto the phone you want to know where those files are? if the answer is yes then is "File.DirAssets".
 
Upvote 0

sultan87

Active Member
Licensed User
Longtime User
hello
ok
here my program and the message d' error enclosure

Dim fd As FileDialog
fd.FastScroll = True
fd.FilePath = File.DirAssets
fd.FileFilter = ".png, .jpg" ' for example or ".jpg,.png" for multiple file types
ret = fd.Show("Etiquettes Vins", "Yes", "No", "Maybe", Null)
ToastMessageShow(ret & " : Path : " & fd.FilePath & CRLF & "File : " & fd.ChosenName, False)

Best Regards
 

Attachments

  • error.jpg
    26.2 KB · Views: 249
Upvote 0

thedesolatesoul

Expert
Licensed User
Longtime User
You have not described your problem yet. What are you trying to do with the files?

However, to make a list of files there are two ways.
Either store those files in another location and then show the FileDialog.
Or, just use a listview with the filenames (since they are fixed in DirAssets and cannot change).
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…