We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd68e61 commit 61b95b6Copy full SHA for 61b95b6
pythonforandroid/recipes/android/src/android/_android.pyx
@@ -328,15 +328,16 @@ def open_url(url):
328
browserIntent.setData(Uri.parse(url))
329
currentActivity = cast('android.app.Activity', mActivity)
330
currentActivity.startActivity(browserIntent)
331
+ return True
332
333
# Web browser support.
334
class AndroidBrowser(object):
335
def open(self, url, new=0, autoraise=True):
- open_url(url)
336
+ return open_url(url)
337
def open_new(self, url):
338
339
def open_new_tab(self, url):
340
341
342
import webbrowser
343
webbrowser.register('android', AndroidBrowser, None, -1)
0 commit comments