Can you please advise how I can open an app that is installed on my device i assume using Display.getInstance().execute(path to app) or is there another preferred method to do this?
Is there documentation regarding this? On Wednesday, July 29, 2020 at 7:37:18 AM UTC-4, Mark Bolduc wrote: > > Thanks. > > On Tuesday, July 28, 2020 at 10:34:58 PM UTC-4, Shai Almog wrote: >> >> If you provide a standard https URL the default browser will launch. As a >> sidenote you can provide URLs such as "fb:" to launch facebook and other >> apps. >> So standard URLs use Chrome/Safari or whatever you have defined. >> >> file:/// won't work. That's not an Android URI. You need to look for the >> intent you want. Alternatively you can use a native interface for this >> which might be simpler since you're doing something that's very platform >> specific. >> >> On Tuesday, July 28, 2020 at 8:04:43 PM UTC+3 [email protected] >> wrote: >> >>> Ok, I have successfully stored my .apk file in the public >>> /storage/emulated/0/Download/ directory, I can then open a FileManager, tap >>> downloads, Tam my app and it installs correctly. >>> >>> So the question is how can I envoke this "File Manager" app installed on >>> my device. >>> I can't find its location. >>> >>> Once I have its location, can I use >>> "Display.getInstance().execute("file:///[path to file manager app]")" to >>> open the FileManager app? >>> >>> Thoughts? >>> >>> Regards >>> >> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4a12f8f9-9c8a-4d32-8291-e06422615199o%40googlegroups.com.
