Fixed URI Bug

This commit is contained in:
Georg Schelkshorn 2012-09-24 22:45:08 +03:00
parent 4ff916dfdf
commit e58a7cf82f
1 changed files with 1 additions and 1 deletions

View File

@ -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