Skip to content

Commit ce4fcf4

Browse files
committed
fix underline and duplicate intent
1 parent bc45422 commit ce4fcf4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tutorials/platform/android/javaclasswrapper_and_androidruntimeplugin.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ This example creates an intent to send a text:
135135
activity.startActivity(intent)
136136
137137
Example: Saving an image to the Android gallery
138-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139139

140140
.. code-block:: gdscript
141141
@@ -152,8 +152,7 @@ Example: Saving an image to the Android gallery
152152
var file = File.File(file_path_to_image_here)
153153
var uri = Uri.fromFile(file)
154154
155-
# Build the Intent.
156-
var intent = Intent.Intent()
155+
# Set Action and Data of Intent.
157156
intent.setAction(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE)
158157
intent.setData(uri)
159158

0 commit comments

Comments
 (0)