mirror of https://github.com/kivy/pyjnius.git
Fixed URI Bug
This commit is contained in:
parent
4ff916dfdf
commit
e58a7cf82f
|
@ -103,7 +103,7 @@ Let's see an example that demonstrate the `Intent.ACTION_VIEW`::
|
|||
# create the intent
|
||||
intent = Intent()
|
||||
intent.setAction(Intent.ACTION_VIEW)
|
||||
intent.setData(Uri('http://kivy.org'))
|
||||
intent.setData(Uri.parse('http://kivy.org'))
|
||||
|
||||
# PythonActivity.mActivity is the instance of the current Activity
|
||||
# BUT, startActivity is a method from the Activity class, not our
|
||||
|
|
Loading…
Reference in New Issue