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...
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...
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...
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...
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...
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?
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"...
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)
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)
You can add...