Multiple files selection

66 views
Skip to first unread message

Soni Kumari

unread,
Jul 6, 2026, 12:09:39 AMJul 6
to DroidScript
app.ChooseFile() can't select multiple files? I'm try to select multiple images but only single image selecting..., any way to select multiple images?
Message has been deleted
Message has been deleted
Message has been deleted

Jumar

unread,
Jul 6, 2026, 9:31:05 AMJul 6
to DroidScript
Try this ChooseFiles plugin:

https://drive.google.com/file/d/1ZOLf1onHGO9pippsr2DOEBQ6_jN71rR6/view?usp=sharing

You can use it like this:

app.LoadPlugin("ChooseFiles")

function OnStart()
{
    plug = app.LoadFilePicker()
   
    lay = app.CreateLayout("Linear", "VCenter,FillXY")
   
    btn = app.AddButton(lay, "Choose files")
    btn.SetOnTouch( ChooseFiles )
   
    app.AddLayout(lay)
}

function ChooseFiles()
{
    plug.ChooseFiles("*/*", OnChoose)
}

function OnChoose(files)
{
    app.Alert(files)    
}

the files string passed in the OnChoose callback is a pipe "|" separated list of selected files.

Soni Kumari

unread,
Jul 6, 2026, 4:11:00 PMJul 6
to DroidScript
Thank you very much!!

I have a question about html apps
Is use latest css, it work on latest Android but in Android 7 some css style dont work
Is there any issues while uploading on playstore? Or what is the best approach?

Jumar

unread,
Jul 7, 2026, 6:36:33 AMJul 7
to DroidScript
There are no issues when you upload it on PlayStore. If you want to support for older android (Android 7) make sure to not use the latest css. If you persist to use the latest css then expect that older android may not display the style accordingly. There is no better approach because older androids may not support the latest webviews.
Reply all
Reply to author
Forward
0 new messages