You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/programming_resources/tutorial_specific/android_studio/creating_op_modes/Creating-and-Running-an-Op-Mode-(Android-Studio).rst
+4-18Lines changed: 4 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,9 +77,7 @@ Creating Your First OpMode
77
77
78
78
Right mouse click on the ``org.firstinspires.ftc.teamcode`` package and
79
79
select New->Java Class from the pop-up menu. The Create New Class dialog
80
-
box appear. Specify the name of the new class as ``MyFIRSTJavaOpMode`` and
81
-
specify as its superclass the class LinearOpMode which is in the package
82
-
``com.qualcomm.robotcore.eventloop.opmode``.
80
+
box appear. Specify the name of the new class as ``MyFIRSTJavaOpMode``.
83
81
84
82
.. image:: images/CreateLinearOpMode.jpg
85
83
:align:center
@@ -329,27 +327,15 @@ development laptop.
329
327
330
328
Look towards the top of the Android Studio user interface and find the
331
329
little green Play or Run button (which is represented by a green
332
-
triangle) next to the words ``Team Code``. Press this green button to
333
-
build the Robot Controller app and to install it onto your phone.
330
+
circular arrow) next to the words ``TeamCode``. Verify that the correct
331
+
device is selected, then press this green button to build the Robot
332
+
Controller app and to install it onto your Control Hub (or RC phone).
334
333
335
334
.. image:: images/RunTeamCode.jpg
336
335
:align: center
337
336
338
337
|
339
338
340
-
Android Studio should prompt you to select a target device to install
341
-
the Robot Controller app. Your screen might look something like the
342
-
image shown below.
343
-
344
-
.. image:: images/SelectDeploymentTarget.jpg
345
-
:align: center
346
-
347
-
|
348
-
349
-
Make sure that you select the correct target device. In the figure above
350
-
the Motorola phone is selected as the target device. Hit OK to build the
351
-
APK file and install it on the target device.
352
-
353
339
Note that if you previously installed a copy of the Robot Controller
354
340
app from the Google Play store, the installation of your newly built app
355
341
will fail the first time you attempt to install it. This is because
0 commit comments