Skip to content

Commit 177d4b4

Browse files
authored
Updated screenshots on Creating and Running an OpMode in AS (#389)
1 parent d552b4a commit 177d4b4

File tree

7 files changed

+4
-18
lines changed

7 files changed

+4
-18
lines changed

docs/source/programming_resources/tutorial_specific/android_studio/creating_op_modes/Creating-and-Running-an-Op-Mode-(Android-Studio).rst

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ Creating Your First OpMode
7777

7878
Right mouse click on the ``org.firstinspires.ftc.teamcode`` package and
7979
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``.
8381

8482
.. image:: images/CreateLinearOpMode.jpg
8583
:align: center
@@ -329,27 +327,15 @@ development laptop.
329327
330328
Look towards the top of the Android Studio user interface and find the
331329
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).
334333
335334
.. image:: images/RunTeamCode.jpg
336335
:align: center
337336
338337
|
339338
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-
353339
Note that if you previously installed a copy of the Robot Controller
354340
app from the Google Play store, the installation of your newly built app
355341
will fail the first time you attempt to install it. This is because
39.7 KB
Loading
-54.5 KB
Loading
-51.2 KB
Loading
-25 KB
Loading
-58.1 KB
Loading
-40.7 KB
Loading

0 commit comments

Comments
 (0)