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... files SubName: GetPathFromContentResult Description: Content providers such as the media gallery return a URL that starts with content://... If you are just interested in showing the selected image... it is available): This code depends on ContentResolver and SQL libraries. Sub GetPathFromContentResult(UriString As String) As String If UriString.StartsWith("/") Then Return UriString... B4A Example Getting file info using uri from content chooser or from received shared file - example - Nokia    May 4, 2020   (23 reactions) example of getting file property information from uri provided by content chooser or received file... modified, file size and a list of all columns from that particular content provider. updated code to... B4A Question SOLVED - Phone Library / Content Chooser / Multiple MIMEs - Robert Valentino    May 12, 2025 Phone Library / Content Chooser
public void ShowMultipleMIME(final BA ba, String MimeTypes...("ContentChooser not initialized.");
Intent in = new Intent(Intent.ACTION_GET_CONTENT... B4A Example ContentChooser Example (select image at phone) - MarkusR    Aug 26, 2019   (26 reactions)   tags: Select, ContentChoo Here is a ContentChooser Example project to choose a image at phone for use in a activity with image view. it works with B4A 9.x and Android 8.1 https://www.b4x.com/android/help/phone.html#contentchooser https://wiki.selfhtml.org/wiki/MIME-Type/Übersicht... Wish Next Compiler Update - Content Chooser New Routine Please - Robert Valentino    May 13, 2025 I have added a routine ShowMultipleMIME to ContentChooser in the Phone library (see this link: Phone.Java)
I'm sure others would like to show the user a list of files (containing multiple MIME types)
The code is in Phone.Java in the above link and works very nicely.
Could this be added to... B4A Question Make Android Player Play Sounds with ContentChooser - Marc DANIEL    Mar 8, 2025   (1 reaction) ) with ContentChooser but I systematically get the following message:
"No application can perform... "mp3" Then
Chooser.Show(File.DirInternal,SongName)
Else
Player1... B4A Question ContentChooser: choose a photo from ... Internet directly - peacemaker    Nov 5, 2019 HI, All Does Android have such possibility ? :) Just select photo of a subject directly from Internet, like among the list of apps-providers. Or should i myself to load Google's picture search result and parse it to choose a photo ?... 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) Directory = "ContentDir" Filename = "content://com.android.externalstorage.documents/document/0000-0000%3AASLogo.jpg" I know that the filename that I chose is "ASLogo.jpg..., my questions are: 1) Is that last %3A guaranteed to ALWAYS be included in a content string and... B4A Question Content Chooser Problem When Uploading Images - tufanv    Aug 12, 2022 Hello,
I am using content chooser to make user select an image and upload to my server. There are no problems uploading etc. But, When I log the Content chooser result I get:
I get content folder as : ContentDir
I get filename as : content://com.android.providers.media.documents/document... the imageview with the above content information I can load it but when the user uploads the image to server... B4A Code Snippet SaveAs - Let the user select a target folder + list of other related methods - Erel    Nov 1, 2024   (46 reactions) : ContentChooser (Phone libray) - allows the user to select a resource or file using external... Download are not accessible: more information. SaveAs- this code, the opposite of ContentChooser or... As JavaObject Dim ContentResolver As JavaObject = ctxt.InitializeContext.RunMethodJO("getContentResolver", Null) Dim out As OutputStream = ContentResolver.RunMethod... Page: 1   2   3   4   5   6   7   |