My Pixel 5a running Android 13 cannot find a web browser. Looking in this PATH:
patH := "Open PATH " + os.Getenv("PATH")
// Open PATH /product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin
url := "http://golang.org"
Using this code for 'open':
cmd := exec.Command("open", url)
// android open open http://golang.org
err = cmd.Start()
// android open err exec: "open": executable file not found in $PATH
Using this code for 'xdg-open':
cmd = exec.Command("xdg-open", url)
// android xdg-open xdg-open http://golang.org
err = cmd.Start()
// android xdg-open err exec: "xdg-open": executable file not found in $PATH
Does anyone know what the Android command is?
I look forward to hearing from you, Dale