Android Question Personal album into gallery

brelto85

Active Member
Licensed User
Longtime User
Is possible to create the app's album into gallery like whatsapp?
Whatsapp organize all media into personal albums into gallery with "Whastapp Image" and "Whatsapp Videos"

It can do that also with B4A?
 

Sub7

Active Member
Licensed User
Longtime User
Create the folders put the content inside and force media scan.

B4X:
Dim Phone As Phone
    Dim i As Intent
    i.Initialize("android.intent.action.MEDIA_SCANNER_SCAN_FILE", _
    "file://" & File.Combine(File.DirRootExternal&"/"&folder,"name_"&dateTaken&".jpg"))
    Phone.SendBroadcastIntent(i)
 
Upvote 0

Sub7

Active Member
Licensed User
Longtime User
Remember that you can also skip this and folders/pictures will be crawled at next media scan eg: phone restart.
 
Upvote 0
Top