about open with (pathPattern)

95 views
Skip to first unread message

Fatih Elitas

unread,
Mar 2, 2024, 7:07:33 PM3/2/24
to DroidScript
Hello friends.
I made changes to build.json for the .gpx file type, but I cannot open the file type I want with my application. It doesn't show in the options. Anyone have any ideas?

{
    "manifest":
    {
        "minSdkVersion": 21,
        "targetSdkVersion": 33,
        "pathPattern": ".*\\.gpx,.*\\.tcx"
    }
}
Screenshot_2024-03-03-02-58-43-192_android.jpg

Fatih Elitas

unread,
Mar 2, 2024, 7:17:34 PM3/2/24
to DroidScript
sharedFiles = app.GetSharedFiles()
if( sharedFiles ) app.Alert( sharedFiles[0] )

solved :)
3 Mart 2024 Pazar tarihinde saat 03:07:33 UTC+3 itibarıyla Fatih Elitas şunları yazdı:

Alan Hendry

unread,
Mar 3, 2024, 12:26:18 PM3/3/24
to DroidScript
HI,
The build.json pathpattern is so used so that when another app opens a file
it is passed to your app.
Regards, ah
Reply all
Reply to author
Forward
0 new messages