B4A Question SOLVED - Phone Library / Content Chooser / Multiple MIMEs - Robert Valentino    
May 12, 2025   
(1 reaction) Phone Library / Content Chooser
public void ShowMultipleMIME(final BA ba, String MimeTypes...("ContentChooser not initialized.");
Intent in = new Intent(Intent.ACTION_GET_CONTENT...
link: mPickFile As ContentChooser
mPickFile.Initialize("PickFile")
mPickFile...
link: Please add pick multi files too ;)...
link: I tried the previously posted routine using Array As String("image/jpg", "image/jpeg&...
B4A Question Content chooser: Multiple selection? - KMatle    
Oct 31, 2016   
(1 reaction)I did not find a thread about it: I would like to select multiple images via content chooser. Any way to do that?...
link: maybe this helps
http://stackoverflow.com/questions/19513556/select-multiple-files-with-intent...
B4A Question ContentChooser - select multiple photos - red30 (first post)    
Jul 27, 2018 with EXTRA_ALLOW_MULTIPLE...
#Region Project Attributes
#ApplicationLabel: B4A Example
#VersionCode: 1...
i.Initialize("android.intent.action.GET_CONTENT", "")
StartActivityForResult(i)
End...
link: /threads/40374/#content
ACTION_GET_CONTENT = "android.intent.action.GET_CONTENT"...
link: /retrieve-one-or-multiple-image-s-shared-to-your-app.91612/#content
Thank you, but it will not work...
link: /retrieve-one-or-multiple-image-s-shared-to-your-app.91612/#content...
B4A Question Content Chooser - Crashes on multiple phones. - Pawan_91 (first post)    
Nov 5, 2020
add this to the Manifest:
SetApplicationAttribute(android:requestLegacyExternalStorage, true)
Tha...
link: the resource returned by ContentChooser.
You can add Try / Catch to catch this error.
Thanks for the quick...
link: the resource returned by ContentChooser.
You can add Try / Catch to catch this error....
link: .media.MediaProvider uri content://media/external/audio/media/113228 from pid=19038, uid=10267...
B4A Question ContentChooser - Select multiple files - Erel (first post)    
Jan 11, 2013You can still take the code from PictureTaken sub and use it to force the media scanner to scan this file.
You cannot explicitly choose the gallery app with ContentChooser....
link: , Null), _
Array As String("android.content.Context", "...
link: When i take a photo, and open the android gallery with ContentChooser, the picture isn't...
link: ContentChooser... i've a problem.
When i take a photo, and open the android gallery...
B4A Tutorial [B4X] B4XPages - Cross platform and simple framework for managing multiple pages - Erel    
Dec 25, 2025   
(81 reactions)440642051
B4XPages is a library that serves two purposes:
1. Make it simple to develop B4A apps by solving almost all of the challenges involved with Android complex activities life cycle.
B4XPages makes B4A behave more similar to B4J and B4i where the new "B4XPage" element is a regular object that is never paused, never destroyed, can be accessed from anywhere and easy to work with.
2...
B4A Example Getting file info using uri from content chooser or from received shared file - example - Nokia    
May 4, 2020   
(24 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...
link: Start a new thread and provide more information....
link: Thank you,Erel.
It works well in Release mode,but not normal in debug mode in my phone.The TextEdito...
link: The best example / resource is this one: TextEditor - Save and load external files ...
B4A Code Snippet Get the path to media files returned from ContentChooser - Erel    
Jul 24, 2022   
(10 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 Library [B4X] MediaChooser - cross platform videos and images chooser - Erel    
Oct 15, 2026   
(35 reactions) to B4A.
B4A - no permissions needed.
B4J - Picking images and videos with a file chooser dialog.../#content
Updates:
- v1.02 - (B4A) KeepRunningService.NotificationTitle field. Default value...-player.158204/#content...
Wish Next Compiler Update - Content Chooser New Routine Please - Robert Valentino    
May 13, 2025I 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...
link: instead of ShowMultipleMIME
But if you aren't interested in adding another function. No problem...
link: /#content...
Page: 1  
2  
3  
4  
5  
6  
7