Android-studio-guide.pdf









Download word to pdf converter apk files download pc

to PDF Converter 2022 full offline installer setup for PC 32bit/64bit Free Word to PDF How to install Word to PDF Converter APK from your android phone?


SAP Cloud for Customer Mobile Apps

18 août 2022 Export to Microsoft Excel for Android (Samsung tablet) and iPad . ... Plug-and-play app that just requires download from the App Store and ...
RUIOffline


convert-ms-word-documents-to-tiff-images.pdf

How to convert pdf to tiff file to word documents to convert ms tiff The shrub is completely an offline software. ... You will bankrupt a download.
convert ms word documents to tiff images


Notre sélection de logiciels

Ancestry for Android vous permet de visualiser de les convertir au format PDF avec outils de ... Freeware permettant de dessiner un arbre.
logiciels





Amazon WorkDocs - User Guide

Download the Android application from Google Play or the Amazon Appstore for For example say you open a word processor file from Amazon WorkDocs Drive.
workdocs ug


SUN2000L COMMISSIONING GUIDE EU Huawei Technologies Co

21 sept. 2018 On Android phones the OS version of the phone must be at least 4.4 ... the corresponding SUN2000L


Oracle VM VirtualBox Manuel de l'utilisateur

4 mars 2013 Installer VirtualBox et les packs d'extension . ... où stocker les fichiers cibles le processus de conversion commence.
UserManual fr FR


Convert Pdf Online To Word Document

Here's how to convert a PDF file into a Word document using a few of. Pdf to be converted files to new life images agreements by mimicking the download
convert pdf online to word document





MDX Toolkit

il y a 6 jours The installer includes macOS tools that wrap both iOS and Android apps and a Java command-line tool that wraps Android apps. © 1999‒2022 Citrix ...
mdx toolkit


android-studio-guide.pdf

Download the desired FTC app from the. FtcRobotController GitHub repository. Page 40. 40 FIRST® Tech Challenge Android Studio Guide. Revision 8.4.2022. Step.
android studio guide


217455android-studio-guide.pdf 2022
-2023 FIRST® Tech Challenge

Android St

udio Guide

2 | FIRST

Tech Challenge Android Studio Guide Manual

Sponsor Thank You

Thank you to our generous sponsors for your continued support of the FIRST

Tech Challenge!

FIRST

Tech Challenge Android Studio Guide

Manual

| 3

Revision History

Revision Date Description

1 08/04/2022 V.1

Contents

Introduction ....................................................................................................................................................... 6

What is

FIRST

Tech Challenge? ..................................................................................................................... 6

Gracious Professionalism

................................................................................................................................ 6

1. Introduction to Android Studio..................................................................................................................... 7

2. The FTC Control System ............................................................................................................................ 7

2.1. About the FIRST Tech Challenge ...................................................................................................................... 7

2.2. Autonomous vs. Driver-Controlled ..................................................................................................................... 8

2.3. Point-to-Point Control System ............................................................................................................................ 8

2.4. REV Robotics Expansion Hub ........................................................................................................................... 9

2.5. REV Robotics Control Hub .............................................................................................................................. 10

2.6. What's an Op Mode? ....................................................................................................................................... 10

3. Required Materials ................................................................................................................................... 11

4. Using Your Android Device ....................................................................................................................... 19

4.1. Unlocking Your Screen .................................................................................................................................... 19

4.2. Navigating in Android ...................................................................................................................................... 21

4.3. Displaying Available Apps on your Android Device .......................................................................................... 22

5. Configuring Your Android Devices ............................................................................................................ 24

5.1. What Needs to Be Configured for My Control System? .................................................................................... 24

5.2. Renaming Your Smartphones .......................................................................................................................... 25

5.3. I

n stalling the FTC Apps ................................................................................................................................... 33

5.4. Placing Devices into Airplane Mode with Wi-Fi On ........................................................................................... 41

5.5. Pairing the Driver Station to the Robot Controller ............................................................................................. 39

6. Connecting Devices to a Control or Expansion Hub .................................................................................. 52

6.1. Connecting 12V Power to the Hub ................................................................................................................... 52

6.2. Connecting a Motor to the Hub ........................................................................................................................ 55

6.3. Connecting a Servo to the Hub ........................................................................................................................ 56

6.4. Connecting a Color-Distance Sensor to the Hub .............................................................................................. 57

6.5. Connecting a Touch Sensor to the Hub ........................................................................................................... 59

7. Configuring Your Hardware ...................................................................................................................... 61

7.1. Before You Begin... ......................................................................................................................................... 61

7.2. Connecting an Android Smartphone to an Expansion Hub............................................................................... 61

7.3. Getting the Control Hub Ready ........................................................................................................................ 64

7.4. Creating a Configuration File Using the Driver Station ..................................................................................... 64

4 | FIRST

Tech Challenge Android Studio Guide

Revision 8.4.2022

7.5. Configuring a DC Motor ................................................................................................................................... 70

7.6. Configuring a Servo ......................................................................................................................................... 74

7.7. Configuring a Color Distance Sensor ............................................................................................................... 78

7.8. Configuring a Digital Touch Sensor ................................................................................................................. 83

7.9. Saving the Configuration Information ............................................................................................................... 86

8. Installing Android Studio ........................................................................................................................... 93

8.1.1.Android Developer Website ............................................................................................................................ 93

8.2. System Requirements ..................................................................................................................................... 93

8.3. Java Development Kit ...................................................................................................................................... 93

8.4. Downloading and Installing Android Studio ...................................................................................................... 93

9. Disabling Android Studio Instant Run........................................................................................................ 95

9.1. Introduction ...................................................................................................................................................... 95

9.2. Locating Instant Run Settings .......................................................................................................................... 95

9.3. Additional Information ...................................................................................................................................... 97

10. Downloading the Android Studio Project Folder ........................................................................................ 97

10.1.Downloading

the Android Studio Project Folder .............................................................................................. 97

10.2.Extracting

the Contents of the Archived Project File ........................................................................................ 99

10.3.Importing the FTC Project into Android Studio .............................................................................................. 102

11. Enabling Developer Options ................................................................................................................... 104

12. Creating and Running an Op Mode (Android Studio) .............................................................................. 105

12.1.TeamCode

Module ....................................................................................................................................... 105

12.2.Javadoc Reference Information..................................................................................................................... 107

12.3.Enabling

Auto Import .................................................................................................................................... 107

12.4.Sample

Op Modes ........................................................................................................................................ 108

12.5.Creating

Your FIRST Op Mode ..................................................................................................................... 109

12.6.Examining

the Structure of Your Op Mode .................................................................................................... 111

12.7.Building

and Installing Your Op Mode ........................................................................................................... 113

12.8.Running

Your Op Mode ................................................................................................................................ 117

12.9.Modifying Your Op Mode to Control a Motor ................................................................................................. 121

12.10.Running

Your Op Mode with a Gamepad Connected .................................................................................. 122

13. Controlling a Servo (Android Studio) ....................................................................................................... 125

13.1.What is a Servo Motor? ................................................................................................................................ 125

13.2.Modifying Your Op Mode to Control a Servo ................................................................................................. 126

14. Using Sensors (Android Studio) .............................................................................................................. 129

14.1.Color-Distance Sensor .................................................................................................................................. 129

FIRST

Tech Challenge Android Studio Guide

Manual

| 5

14.2.Touch Sensor ............................................................................................................................................... 129

Appendix A - Resources ............................................................................................................................... 131

Game Forum Q&A ................................................................................................................................................ 131

Volunteer Forum ................................................................................................................................................... 131

FIRST Tech Challenge Game Manuals ................................................................................................................ 131

FIRST Headquarters Pre-Event Support ............................................................................................................... 131

FIRST Websites ................................................................................................................................................... 131

FIRST Tech Challenge Social Media .................................................................................................................... 131

Feedback .............................................................................................................................................................. 131

6 | FIRST

Tech Challenge Android Studio Guide

Revision 8.4.2022

Introduction

What is

FIRST

Tech Challenge?

FIRST

Tech Challenge is a student-centered program that focuses on giving students a unique and stimulating

experience. Each year, teams engage in a new game where they design, build, test, and program autonomous and

driver operated robots that must perform a series of tasks. Participants and alumni of FIRST programs gain access

to education and career discovery opportunities, connections to exclusive scholarships and employers, and a place

in the FIRST community for life. To learn more about FIRST

Tech Challenge and other FIRST

Programs, visit

www.firstinspires.org

Gracious Professionalism

FIRST uses this term to describe our programs" intent.

Gracious Professionalism

is a way of doing things that encourages high-quality work, emphasizes the value of others, and respects individuals and the community. Watch Dr. Woodie Flowers explain Gracious Professionalism in this short video FIRST

Tech Challenge Android Studio Guide Manual

| 7

1. Introduction to Android Studio

This tutorial will take you step-by-step through the process of configuring, programming, and operating your

Control System. This tutorial uses Android Studio to help you get started programming your robot.

Android

Studio is an advanced integrated development environment for creating Android apps. This tool is the

same tool that professional Android app developers use. Android Studio is only recommended for advanced

users who have extensive Java programming experience.

2. The FTC Control System

2.1. About the FIRST Tech Challenge

The FIRST Tech Challenge seeks to inspire youth to become the next generation of STEM leaders and

innovators through participation in mentor-guided robotics competition. Teams who participate in the FIRST Tech

Challenge must build a robot that performs a variety of tasks. The tasks vary from season to season and are

based on a set of game rules that are published at the start of each season. The more tasks that a robot can

complete, the more points a team will earn. 2022
-2023 FIRST® Tech Challenge

Android St

udio Guide

2 | FIRST

Tech Challenge Android Studio Guide Manual

Sponsor Thank You

Thank you to our generous sponsors for your continued support of the FIRST

Tech Challenge!

FIRST

Tech Challenge Android Studio Guide

Manual

| 3

Revision History

Revision Date Description

1 08/04/2022 V.1

Contents

Introduction ....................................................................................................................................................... 6

What is

FIRST

Tech Challenge? ..................................................................................................................... 6

Gracious Professionalism

................................................................................................................................ 6

1. Introduction to Android Studio..................................................................................................................... 7

2. The FTC Control System ............................................................................................................................ 7

2.1. About the FIRST Tech Challenge ...................................................................................................................... 7

2.2. Autonomous vs. Driver-Controlled ..................................................................................................................... 8

2.3. Point-to-Point Control System ............................................................................................................................ 8

2.4. REV Robotics Expansion Hub ........................................................................................................................... 9

2.5. REV Robotics Control Hub .............................................................................................................................. 10

2.6. What's an Op Mode? ....................................................................................................................................... 10

3. Required Materials ................................................................................................................................... 11

4. Using Your Android Device ....................................................................................................................... 19

4.1. Unlocking Your Screen .................................................................................................................................... 19

4.2. Navigating in Android ...................................................................................................................................... 21

4.3. Displaying Available Apps on your Android Device .......................................................................................... 22

5. Configuring Your Android Devices ............................................................................................................ 24

5.1. What Needs to Be Configured for My Control System? .................................................................................... 24

5.2. Renaming Your Smartphones .......................................................................................................................... 25

5.3. I

n stalling the FTC Apps ................................................................................................................................... 33

5.4. Placing Devices into Airplane Mode with Wi-Fi On ........................................................................................... 41

5.5. Pairing the Driver Station to the Robot Controller ............................................................................................. 39

6. Connecting Devices to a Control or Expansion Hub .................................................................................. 52

6.1. Connecting 12V Power to the Hub ................................................................................................................... 52

6.2. Connecting a Motor to the Hub ........................................................................................................................ 55

6.3. Connecting a Servo to the Hub ........................................................................................................................ 56

6.4. Connecting a Color-Distance Sensor to the Hub .............................................................................................. 57

6.5. Connecting a Touch Sensor to the Hub ........................................................................................................... 59

7. Configuring Your Hardware ...................................................................................................................... 61

7.1. Before You Begin... ......................................................................................................................................... 61

7.2. Connecting an Android Smartphone to an Expansion Hub............................................................................... 61

7.3. Getting the Control Hub Ready ........................................................................................................................ 64

7.4. Creating a Configuration File Using the Driver Station ..................................................................................... 64

4 | FIRST

Tech Challenge Android Studio Guide

Revision 8.4.2022

7.5. Configuring a DC Motor ................................................................................................................................... 70

7.6. Configuring a Servo ......................................................................................................................................... 74

7.7. Configuring a Color Distance Sensor ............................................................................................................... 78

7.8. Configuring a Digital Touch Sensor ................................................................................................................. 83

7.9. Saving the Configuration Information ............................................................................................................... 86

8. Installing Android Studio ........................................................................................................................... 93

8.1.1.Android Developer Website ............................................................................................................................ 93

8.2. System Requirements ..................................................................................................................................... 93

8.3. Java Development Kit ...................................................................................................................................... 93

8.4. Downloading and Installing Android Studio ...................................................................................................... 93

9. Disabling Android Studio Instant Run........................................................................................................ 95

9.1. Introduction ...................................................................................................................................................... 95

9.2. Locating Instant Run Settings .......................................................................................................................... 95

9.3. Additional Information ...................................................................................................................................... 97

10. Downloading the Android Studio Project Folder ........................................................................................ 97

10.1.Downloading

the Android Studio Project Folder .............................................................................................. 97

10.2.Extracting

the Contents of the Archived Project File ........................................................................................ 99

10.3.Importing the FTC Project into Android Studio .............................................................................................. 102

11. Enabling Developer Options ................................................................................................................... 104

12. Creating and Running an Op Mode (Android Studio) .............................................................................. 105

12.1.TeamCode

Module ....................................................................................................................................... 105

12.2.Javadoc Reference Information..................................................................................................................... 107

12.3.Enabling

Auto Import .................................................................................................................................... 107

12.4.Sample

Op Modes ........................................................................................................................................ 108

12.5.Creating

Your FIRST Op Mode ..................................................................................................................... 109

12.6.Examining

the Structure of Your Op Mode .................................................................................................... 111

12.7.Building

and Installing Your Op Mode ........................................................................................................... 113

12.8.Running

Your Op Mode ................................................................................................................................ 117

12.9.Modifying Your Op Mode to Control a Motor ................................................................................................. 121

12.10.Running

Your Op Mode with a Gamepad Connected .................................................................................. 122

13. Controlling a Servo (Android Studio) ....................................................................................................... 125

13.1.What is a Servo Motor? ................................................................................................................................ 125

13.2.Modifying Your Op Mode to Control a Servo ................................................................................................. 126

14. Using Sensors (Android Studio) .............................................................................................................. 129

14.1.Color-Distance Sensor .................................................................................................................................. 129

FIRST

Tech Challenge Android Studio Guide

Manual

| 5

14.2.Touch Sensor ............................................................................................................................................... 129

Appendix A - Resources ............................................................................................................................... 131

Game Forum Q&A ................................................................................................................................................ 131

Volunteer Forum ................................................................................................................................................... 131

FIRST Tech Challenge Game Manuals ................................................................................................................ 131

FIRST Headquarters Pre-Event Support ............................................................................................................... 131

FIRST Websites ................................................................................................................................................... 131

FIRST Tech Challenge Social Media .................................................................................................................... 131

Feedback .............................................................................................................................................................. 131

6 | FIRST

Tech Challenge Android Studio Guide

Revision 8.4.2022

Introduction

What is

FIRST

Tech Challenge?

FIRST

Tech Challenge is a student-centered program that focuses on giving students a unique and stimulating

experience. Each year, teams engage in a new game where they design, build, test, and program autonomous and

driver operated robots that must perform a series of tasks. Participants and alumni of FIRST programs gain access

to education and career discovery opportunities, connections to exclusive scholarships and employers, and a place

in the FIRST community for life. To learn more about FIRST

Tech Challenge and other FIRST

Programs, visit

www.firstinspires.org

Gracious Professionalism

FIRST uses this term to describe our programs" intent.

Gracious Professionalism

is a way of doing things that encourages high-quality work, emphasizes the value of others, and respects individuals and the community. Watch Dr. Woodie Flowers explain Gracious Professionalism in this short video FIRST

Tech Challenge Android Studio Guide Manual

| 7

1. Introduction to Android Studio

This tutorial will take you step-by-step through the process of configuring, programming, and operating your

Control System. This tutorial uses Android Studio to help you get started programming your robot.

Android

Studio is an advanced integrated development environment for creating Android apps. This tool is the

same tool that professional Android app developers use. Android Studio is only recommended for advanced

users who have extensive Java programming experience.

2. The FTC Control System

2.1. About the FIRST Tech Challenge

The FIRST Tech Challenge seeks to inspire youth to become the next generation of STEM leaders and

innovators through participation in mentor-guided robotics competition. Teams who participate in the FIRST Tech

Challenge must build a robot that performs a variety of tasks. The tasks vary from season to season and are

based on a set of game rules that are published at the start of each season. The more tasks that a robot can

complete, the more points a team will earn.