Open url with default browser?

I am a new developer in QPython (python experience), I want to open a url with the user's default browser.

I tried it AndroidBrowser().open("...")

, but to my surprise I ended up with a Segmentation Fault! So I said ok, try opening it manually as an activity, then I tried to import jnius

and got segmentation disorder as well.

Any suggestion how to fix this or other ways to open the browser?


source to share

2 answers

Apparently this only happens in console mode, so it works fine in other QPython models.



import androidhelper
droid = androidhelper.Android()




All Articles