Regarding app.StartApp();

46 views
Skip to first unread message

Soni Kumari

unread,
Aug 12, 2026, 5:16:02 AMAug 12
to DroidScript
Is the any way to support my html file url in app.StartApp() after build
After build it is showing error and not opening in new Activity 
If only it supported i really want it 
Please help me, i think this method works in only IDE and made for only DS
But i really need it, if any way to work after build please 

Alan Hendry

unread,
Aug 12, 2026, 10:48:50 AMAug 12
to DroidScript
HI,
For StartApp (one DS app starting another) the docs say
This function does only work in APKs because in the IDE your app is already running.
To open a url there's app.OpenUrl.0
To open a file then app.OpenFile lets the user choose what app to use to opdn the file.
Regards, ah

Dave

unread,
Aug 20, 2026, 8:30:24 AMAug 20
to DroidScript
It should actually work, but it won't work outside of scoped storage.

Please put a minimal example here that shows it not working.

Soni Kumari

unread,
Aug 20, 2026, 8:54:32 AMAug 20
to DroidScript
html code not working in app.StartApp() when i build app it showing error 
Where should i keep the file so that should work?

Reply all
Reply to author
Forward
0 new messages