gallery

  1. D

    Android Question upload image from memory to sqlite

    Hello Couldn't find a similar question on the forum on my own, sorry. Is there a way to upload a photo from my phone to SQLite? So that the user can see the gallery and select a photo. I will be glad for any help.
  2. red30

    Android Question Getting images from the gallery. Cross-platform.

    Which way should I use to get images from gallery? I want the default gallery application to open when I click a button and I can select one or more photos and add them to the CustomListView. Is such a B4X code possible? To make it cross-platform. On iOS there is an iMedia library that will call...
  3. Alexander Stolte

    Android Code Snippet MediaBrowser - get a random image from gallery

    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))
  4. Alexander Stolte

    B4A Library AS Gallery - show images from folders (image- and video-thumbnails)

    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 needed, to avoid performance issues on scrolling. The cache folder is created here...
  5. carlos7000

    Android Question Image to Gallery

    Hi. I want an image to appear in the gallery. He has used Erel's code, but it doesn't work for me. The image is copied correctly to the Pictures folder, but does not appear in the gallery. I thought the problem could be because the images on my device are saved in DCIM/Camera. Update the...
  6. walterf25

    Android Question CameraEx Show picture in Gallery

    Hi All, i need to show the image taken using CameraEx class in the gallery, I found the code below which i am implementing in the Camera1_PictureTaken function right after taking the picture, i remember this working just fine before, but for some reason it is no longer working, i thought maybe i...
  7. leandroavila74

    Android Question Problem using Choose Content

    Hi, I'm using "contentchooser" to get gallery photos however this is a strange behavior in android 5.1 lolipop, the "thumbs" of the images is not appearing as attached image. could someone tell me what I'm doing wrong? my code is very simple Dim ImageChooser As ContentChooser...
  8. I

    Android Question How to insert an image thumbnail into mediastore?

    Previously I asked a question on how to delete thumbnails from mediastore and got a working solution from Erel using ContentResolver. Now I am trying to do the opposite i.e. insert an image thumbnail into mediastore. I can see that ContentResolver has an Insert method but the parameters confuse...
  9. S

    Android Question Need help on ContentChooser problem...

    Hi all, When using ContentChooser to select an image on phone gallery, Erel said on post : https://www.b4x.com/android/forum/threads/contentchooser-crash.60625/#post-382287 You don't need to copy the file. You can load it from its original location. Use LoadBitmapSample instead of LoadBitmap...
  10. Cebuvi

    Spanish Galeria imagenes con UltimateListView

    Hola, estoy intentando crear una galeria de imagenes utilizando la libreria UltimateListView. He visto que en el ejemplo Gallery_demo se crea un listado de todas las imagenes del dispositivo. Yo solo quiero las imagenes de un directorio concreto. Es posible hacer esto? Gracias.
  11. GGSoft

    Android Question Show image in Gallery (Android 7.0)

    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"...
  12. KMatle

    Android Example Retrieve one or multiple image(s) shared to your app

    With this code you can retrieve images shared to your app (e.g. if a user selects one or more images from the gallery and selects "Share..."). No permissions are required as the user selects the images :) Add this to the manifest (send = one image, multiple = multiple images) *code optimized*...
  13. Pooya1

    B4i Library Gallery Grid

    Hello I make library that you can show pictures in grid I use tableview for this library Event for this library: #Event: ItemClick(Index As Int) #Event: ItemLongClick(Index As Int) #Event: GetImageView(ImageView1 As ImageView,Index As Int) #Event: OverScrolled #Event: BottomScroll You can add...
Top