B4A Code Snippet Get the path to media files returned from ContentChooser - Erel    Jul 24, 2022   (9 reactions)   tags: Adjuntar un File assume that the resource returned from ContentChooser comes from the file system and if...It is a mistake to try to get a file path from the returned resource. It will not work in most... B4A Question Get name of File from ContentChooser result? - JohnC    Jul 28, 2019 I wish to obtain the filename of the selected file from the content chooser.
For example, content chooser could return:
Wait For CC_Result (Success As Boolean, Dir As String, FileName As String... B4A Question ContentChooser for PDF File - scsjc    Feb 2, 2020 Hi, I'm using the ContentChooser to locate a PDF on the android, and pass it to a copy file... recommended method?
dim cc As ContentChooser
cc.Initialize("cc")
cc.Show("application... As String)
If Success=True Then
If File.Exists(Starter.Provider.SharedFolder,"file... B4A Question contentchooser for .json file - yfleury (first post)    Jul 21, 2022 public Sub boiteDialog_Result (Success As Boolean, Dir As String, FileName As String)
Log(Success & " - " & Dir & " - " & FileName)
'Bornes_fontaines(Dir... B4A Question Error opening file with ContentChooser - Erel (first post)    Sep 5, 2023
It allows me to check if all the files are well copied, which is not possible with xui.DefaultFolder then
Why not? Don't confuse File.DirInternal=XUI.DefaultFolder with File.DirAssets.
Anyway... B4A Question How can I copy file selected from a ContentChooser into DirInternal? - Erel (first post)    Apr 9, 2025   (2 reactions) This should also work:
File.Copy(Dir, FileName, File.DirInternal, "new file name")
The reason that the code in the first post doesn't work is that FileName is likely to be invalid... B4A Tutorial [B4X] TextEditor - Save and load external files - Erel    Sep 10, 2023   (38 reactions) . B4A Load external files, including online files, using ContentChooser. Save to an external target...This is a B4i and B4A example, which demonstrates various external files related tasks. 116714...-list-of-other-related-methods.129897/#content Allow other apps to view text files using this app... external files, including online files, using DocumentPickerViewController: https://www.b4x.com...-with-activityviewcontroller.73159/#content This also allows saving the text with the Files app. Allow... B4A Class Manage External Storage - access internal external storage >= SDK 30 - agraham    Nov 11, 2024   (30 reactions) as little computers and I want a proper file system on them, not the limited tortuous things that Google offers and that I don't understand, ContentChooser, FileProvider, ... o_O I'm getting... and higher devices treat the file store as a real file store and not some dumbed down abstracted... files on a storage device | Android Developers As I will never have apps in the Play Store....MANAGE_APP_ALL_FILES_ACCESS_PERMISSION", "package:" & Application.PackageName) EDIT: If for some... B4A Question file name using ContentChooser - Claude Brun (first post)    Dec 8, 2023 I found the solution in this post
https://www.b4x.com/android/forum/threads/getting-file-name-and-other-info-from-content-chooser-uri-–-example.116385/... B4A Code Snippet Upload files with WebView - Erel    Jun 9, 2022   (16 reactions)   tags: Upload files with WebView, Webserver code. 2. The ShowFile_Chooser event is raised when the user clicks on a "browse" button. 3. You need to get the file URI with FileProvider and call SendResult. Example based on ContentChooser. Sub ShowFile_Chooser (FilePathCallback As Object, FileChooserParams As Object) cc.Initialize("CC") cc.Show("*/*", "Choose File") Wait For CC_Result (Success As Boolean, Dir As String, FileName As String) Dim jo As JavaObject = Me If Success Then... Page: 1   2   3   4   5   6   7   |