B4A Code Snippet Add image to Gallery Android 5 - 10+ - Erel    Sep 6, 2020   (14 reactions) Depends on: Phone, JavaObject and ContentResolver libraries
Sub AddBitmapToGallery (In...))
Log(Args(1))
End If
End If
End Sub
Usage example:
AddBitmapToGallery... B4A Question Show image in Gallery (Android 7.0) - GGSoft    Sep 27, 2018 After searching in the forum, I tried this code: ' The image Dim bitmap As Bitmap = LoadBitmap(File.DirAssets, "prueba.jpg") ' Copy to ...files/pruebas/prueba.jpg Dim Out As OutputStream Dim r As RuntimePermissions Out = File.OpenOutput(r.GetSafeDirDefaultExternal("pruebas"), "prueba.jpg", False) bitmap.WriteToStream(Out, 100, "JPEG") Out.Close ' "Broadcast" image to gallery Dim Phone As Phone If Phone.SdkVersion < 19 Then... B4A Code Snippet AddToGallery - add images and videos to the Gallery (SDK 20 to 30) - an update of Erel's AddBitmapToGallery - JackKirk    Jun 5, 2021   (8 reactions) In this code snippet:
https://www.b4x.com/android/forum/threads/add-image-to-gallery-android-5-10.121992/
Erel shows how to add an image to an Android gallery for all SDKs 20? to 30.
Only... Share My Creation [B4X] B4X Pleroma - open source client for Mastodon / Pleroma social networks - Erel    Nov 4, 2020   (14 reactions) " camera, video and gallery: 102474 You can try it without an account, though many of the features... B4A Library [Lib+Class] CustomGallery - Informatix    Oct 23, 2014   (5 reactions) CustomGallery is a very small library (BitmapPlus) and a class (ClsCustomGallery) for B4A v2.0. Its goal is to display thumbnails in a row, column or grid. It's highly customizable as you can see..., Top As Int, Width As Int, Height As Int, GalleryStyle As Int, Callback As Object, subTouch As String, subClick As String, subLongClick As String, subScroll As String) ClearGallery RemoveColoredBorders... the file CustomGallery#1.zip. If you want to run the full demo, download the five files. After unzipping... B4A Question Android image gallery - deleting images - peacemaker    Jun 30, 2023 Hi, All
I am creating a Gallery app, to sort out my tons of photos.
But it seems, deleting the garbage old photos ... is impossible, due to permissions without the root.
Is it correct ? So, impossible to clear the device from old photos ? Or any solution ?... B4A Library AS Gallery - show images from folders (image- and video-thumbnails) - Alexander Stolte    Aug 13, 2020   (16 reactions) I want to share my class to create a image preview list like in the gallery app.
This class is based on xCustomListView and PreoptimizedCLV.
The class is creating a cached thumbnail of a image if... B4A Library [Library] B4aGallery v3.55 - lonleystar    Feb 6, 2015   (15 reactions) B4AGalleryView Author: Giuseppe Salvi Version: 3.55 A thanks is always appreciated.... B4A Question Get a image from gallery and crop it in SDK = 26 - asales    Jun 20, 2018 I use this code below to open the gallery, get a image and crop using the internal tool to crop. I made a few change to uses the in the SDK = 26, like runtime permissions. The old function to crop the image uses "GetPathFromContentResult" (that don't works in SDK = 26, works fine until SDK = 23) and @Erel says "it is a mistake to use this sub", in this post: https://www... I tried several changes in code of the cropPicture sub to work, after select the image in gallery... B4A Code Snippet MediaBrowser - get a random image from gallery - Alexander Stolte    Aug 27, 2020   (5 reactions) Dim MB As MediaBrowser MB.Initialize("MB") Dim tmp_m As Map = MB.GetMediaImageList(True, "datetaken DESC") xiv.SetBitmap(LoadBitmapResize(tmp_m.Get("Location" & Rnd(0,tmp_m.Size/7)),"",xiv.Width,xiv.Height,True))... Page: 1   2   3   4   5   6   7   |