Android Google Maps

Total Page:16

File Type:pdf, Size:1020Kb

Android Google Maps CS5530 Mobile/Wireless Systems Using Google Map in Android Yanyan Zhuang Department of Computer Science http://www.cs.uccs.edu/~yzhuang CS5530 UC. Colorado SprinGs Ref. CN5E, NT@UW, WUSTL Setup • Install the Google Play services SDK o Tools > Android > SDK manaGer CS5530 2 Ref. CN5E, NT@UW, WUSTL Create a Google Maps project • Select Google Maps Activity in the 'Add an activity to Mobile' dialoG • When build finished, Android Studio opens gooGle_maps_api.xml and MapsActivity.java o GooGle_maps_api.xml contains instructions on Getting a GooGle Maps API key before you try to run the application. CS5530 3 Ref. CN5E, NT@UW, WUSTL Get a Google Maps API key • Apps need an API key to access GooGle Maps servers o The key is free. You can use it with any of your applications that call the GooGle Maps Android API, and it supports an unlimited number of users 1. Copy the link in gooGle_maps_api.xml, paste it into browser 2. Follow the instructions to create a new project on the GooGle API Console or select an existinG project 3. Create an Android-restricted API key for your project 4. Copy the resultinG API key, Go back to Android Studio, and paste the API key into the <strinG> element in gooGle_maps_api.xml May use the same key for more than one app CS5530 4 Ref. CN5E, NT@UW, WUSTL Run the app • By default, the XML file that defines the app's layout is at res/layout/activity_maps.xml • The simplest way to see your app in action is to connect an Android device to your computer • You can use Android Emulator to run app o When choosing an emulator, use Android 4.2.2 or hiGher, and be careful to pick an imaGe that includes the GooGle APIs, or the application will not have the runtime APIs in order to execute CS5530 5 Ref. CN5E, NT@UW, WUSTL Run the app (2) • You should see a map with a marker positioned over Sydney, Australia o If you don't see a map, check that you've added an API key as described o Check the loG in Android Studio's Android Monitor for error messaGes about the API key o Different ways to Get the API key https://developers.GooGle.com/maps/documentation/android- api/siGnup CS5530 6 Ref. CN5E, NT@UW, WUSTL Understand the code • AndroidManifest.xml o <meta-data android:name="com.GooGle.android.Geo.API_KEY" android:value="@string/gooGle_maps_key" /> (Generated for you) • activity_maps.xml o <fragment> element to your activity's layout file o Defines a SupportMapFraGment to act as a container for the map and to provide access to the GooGleMap object <fragment name="com.GooGle.android.Gms.maps.SupportMapFraGment" android:layout_width="match_parent" android:layout_height="match_parent"/> CS5530 7 Ref. CN5E, NT@UW, WUSTL Understand the code • What is a fragment? o A FraGment represents a behavior or a portion of user interface in an Activity o Can combine multiple fraGments in a single activity to build a multi-pane UI and reuse a fraGment in multiple activities o Can think of a fraGment as a modular section of an activity, which has its own lifecycle, receives its own input events, and which you can add or remove while the activity is running } sort of like a "sub activity" that you can reuse in different activities CS5530 8 Ref. CN5E, NT@UW, WUSTL Understand the code • MapsActivity’s onCreate() o @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // set the layout file as the content view setContentView(R.layout.activity_maps); // get a handle to the map fraGment SupportMapFraGment mapFraGment = (SupportMapFraGment) GetSupportFraGmentManaGer().findFraGmentById(R.id.map); // use GetMapAsync() to reGister for map callback (when map is ready) mapFraGment.GetMapAsync(this); } CS5530 9 Ref. CN5E, NT@UW, WUSTL Understand the code • Implement OnMapReadyCallback interface & override onMapReady(): set up the map when GoogleMap object is available o public class MapsActivity extends AppCompatActivity implements OnMapReadyCallback { // OnCreate() method here: as described on last slide @Override public void onMapReady(GooGleMap gooGleMap) { // Add a marker in Sydney, Australia, and move map's camera LatLnG sydney = new LatLnG(-33.852, 151.211); gooGleMap.addMarker(new MarkerOptions().position(sydney) .title("Marker in Sydney")); gooGleMap.moveCamera(CameraUpdateFactory.newLatLnG(sydney)); } } CS5530 10 Ref. CN5E, NT@UW, WUSTL Understand the code • By default, the GooGle Maps API displays the content of “title” when the user taps a marker o GooGleMap.addMarker(new MarkerOptions().position(sydney) .title("Marker in Sydney")); • There's no need to add a click listener for the marker if you’re happy with the default behavior CS5530 11 Ref. CN5E, NT@UW, WUSTL Summarize • The basic steps for addinG a map 1. (You only need to do this once) Get GooGle Play Service SDK, obtain a key and add the required attributes to Android manifest 2. Add a <fragment> element to the layout file for the Activity 3. Call GetMapAsync() on the fraGment to reGister the callback 4. Implement the OnMapReadyCallback interface and use the onMapReady(GooGleMap) callback to Get a handle to the GooGleMap object CS5530 12 Ref. CN5E, NT@UW, WUSTL Map Types • Normal • Hybrid • Terrain • Satellite • None o GooGleMap map; ... // Sets the map type to be "hybrid" map.setMapType(GooGleMap.MAP_TYPE_HYBRID); CS5530 13 Ref. CN5E, NT@UW, WUSTL Markers • You can customize markers by changing the default color, or replacinG the marker icon with a custom image o Info windows can provide additional context to a marker • Markers are objects of type Marker o Added to map with the GooGleMap.addMarker(markerOptions) method o Receive click events by default, and are often used with event listeners to bring up info windows o Previous example } gooGleMap.addMarker(new MarkerOptions().position(sydney).title("Marker in Sydney")); CS5530 14 Ref. CN5E, NT@UW, WUSTL Markers • Some other examples o Marker marker = GooGleMap.addMarker(new MarkerOptions().position(new LatLng(-34, 151))); o marker.revmote(); o Setting a marker to be invisible, and transparency Marker marker = GooGleMap.addMarker(new MarkerOptions().position(new LatLng(-34, 151)).visible(false).alpha(0.8f)); CS5530 15 Ref. CN5E, NT@UW, WUSTL Markers • Once a marker is created, you can chanGe its property o marker.setAlpha(1.0f); o marker.setVisible(true); o marker.setPosition(new LatLng(-34, 151)); • Why marker visibility? o Faster to make an invisible marker visible, than creating a new marker • Show information o GooGleMap.addMarker(new MarkerOptions().position(sydney).title("Sydney").snippet(“Population: 4.5 million in 2015”)); CS5530 16 Ref. CN5E, NT@UW, WUSTL Markers • Respond to click events o Activity must implement GooGleMap.OnMarkerClickListener o Set a listener for marker click } @Override public void onMapReady(GooGleMap gooGleMap) { …... mMap.setOnMarkerClickListener(this); } o Implement callback function onMarkerClick() CS5530 17 Ref. CN5E, NT@UW, WUSTL Markers • Respond to click events o Implement callback function onMarkerClick() } @Override public boolean onMarkerClick(final Marker marker) { if (marker.equals(myMarker)) { Toast.makeText(this, marker.GetTitle() + " has been clicked!", Toast.LENGTH_LONG).show(); } return false; } CS5530 18 Ref. CN5E, NT@UW, WUSTL Toasts • A toast provides simple feedback about an operation in a small pop-up o Only fills the amount of space required for the messaGe and the current activity remains visible and interactive o Toasts automatically disappear after a timeout • Instantiate a Toast object with makeText() method o 3 parameters: the application Context (usually this), the text messaGe, and the duration for the toast o Toast.LENGTH_SHORT and Toast.LENGTH_LONG CS5530 19 Ref. CN5E, NT@UW, WUSTL Toasts • Example o Context context = GetApplicationContext(); CharSequence text = "Hello toast!"; int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, text, duration); toast.show(); o Toast.makeText(context, text, duration).show(); CS5530 20 Ref. CN5E, NT@UW, WUSTL Toasts • PositioninG your Toast o A standard toast notification appears near the bottom of the screen, centered horizontally o You can change this position with the setGravity(int, int, int) method: a Gravity constant, an x-position offset, and a y-position offset o If the toast should appear in the top-left corner } toast.setGravity(Gravity.TOP|Gravity.LEFT, 0, 0); } If you want to nudGe the position to the riGht, increase the value of the second parameter. To nudGe it down, increase the value of the last parameter CS5530 21 Ref. CN5E, NT@UW, WUSTL Select Current Place • Create a GooGle API client o Also known as the GooGle API client: connect with fused location provider and GooGle Places API } private GooGleApiClient mGoogleApiClient; CS5530 22 Ref. CN5E, NT@UW, WUSTL Select Current Place • Build a GooGle API client o Request the fused location provider (LocationServices.API) and the two parts of the GooGle Places API for Android (Places.GEO_DATA_API and Places.PLACE_DETECTION_API) o mGooGleApiClient = new GooGleApiClient.Builder(this) .enableAutoManaGe(this /* FraGmentActivity */, this /* OnConnectionFailedListener */) .addConnectionCallbacks(this) .addApi(LocationServices.API) .addApi(Places.GEO_DATA_API) .addApi(Places.PLACE_DETECTION_API) .build(); mGooGleApiClient.connect(); CS5530 23 Ref. CN5E, NT@UW, WUSTL Select Current Place • Cannot resolve LocationServices and Places • Add dependencies in build.Gradle (Module: app) o compile 'com.GooGle.android.Gms:play-services-location:10.2.0' compile 'com.GooGle.android.Gms:play-services-places:10.2.0’ o Sync o Then
Recommended publications
  • Hamza Ahmed Qureshi
    HAMZA AHMED QURESHI add 135 Hillcrest Avenue, Mississauga, ON, Canada | tel +1 (647) 522-0048 url hamza1592.github.io | email [email protected] | LinkedIn | Stack Overflow | Github Summary Proficient in writing code in Java, Kotlin, Node.js and other languages as well as practiced in using Amazon Web Service, Firebase and other latest frameworks and libraries Three years of android development experience through development of multiple applications Skilled in writing generic and expandable code and bridging the gap between web and android applications through development of REST APIs Experienced team player and a leader utilizing collaboration, cooperation and leadership skills acquired while working in different environments of startup, industry and entrepreneurship. Technical Skills Languages & Frameworks used: In depth: Java, Android SDK, Node.js, Amazon Web Services, Firebase, JavaScript, JUnit testing, Espresso As a hobby: CodeIgniter, Magento, OpenGL, React Native, Jekyll Platforms: Android, Web, Windows, Linux Software and IDEs: Intellij Idea, Android Studio, Eclipse, Webstorm, Microsoft Visual Studio Databases used: Firebase Realtime Database, Firebase Firestore, MySQL, SQLite, Oracle DB, Redis Version Control: Git, Gitlab, SourceTree, Android Studio version control SDLC: Agile Development, Test Driven Development (TDD), Scrum, Object Oriented Programming Security: OAuth, OAuth2, Kerberos, SSL, Android keystore Design patterns: MVC, MVVM Professional Experience Full stack android developer, teaBOT inc. Feb 2017 – Present Lead the teaBOT kiosk application and build new features for it Enhanced the teaBOT backend Node.js Api and added new endpoints Wrote manageable and scalable code for both static and dynamic views rendering Created static and dynamic functional components from start to end Supported multiple screen sizes including 15inch tablets Directly managed interns working on the Android application Projects: o teaBOT Android Kiosk Application .
    [Show full text]
  • Tutorial: Setup for Android Development
    Tutorial: Setup for Android Development Adam C. Champion, Ph.D. CSE 5236: Mobile Application Development Autumn 2019 Based on material from C. Horstmann [1], J. Bloch [2], C. Collins et al. [4], M.L. Sichitiu (NCSU), V. Janjic (Imperial College London), CSE 2221 (OSU), and other sources 1 Outline • Getting Started • Android Programming 2 Getting Started (1) • Need to install Java Development Kit (JDK) (not Java Runtime Environment (JRE)) to write Android programs • Download JDK for your OS: https://adoptopenjdk.net/ * • Alternatively, for OS X, Linux: – OS X: Install Homebrew (http://brew.sh) via Terminal, – Linux: • Debian/Ubuntu: sudo apt install openjdk-8-jdk • Fedora/CentOS: yum install java-1.8.0-openjdk-devel * Why OpenJDK 8? Oracle changed Java licensing (commercial use costs $$$); Android SDK tools require version 8. 3 Getting Started (2) • After installing JDK, download Android SDK from http://developer.android.com • Simplest: download and install Android Studio bundle (including Android SDK) for your OS • Alternative: brew cask install android- studio (Mac/Homebrew) • We’ll use Android Studio with SDK included (easiest) 4 Install! 5 Getting Started (3) • Install Android Studio directly (Windows, Mac); unzip to directory android-studio, then run ./android-studio/bin/studio64.sh (Linux) 6 Getting Started (4) • Strongly recommend testing Android Studio menu → Preferences… or with real Android device File → Settings… – Android emulator: slow – Faster emulator: Genymotion [14], [15] – Install USB drivers for your Android device! • Bring up Android SDK Manager – Install Android 5.x–8.x APIs, Google support repository, Google Play services – Don’t worry about non-x86 Now you’re ready for Android development! system images 7 Outline • Getting Started • Android Programming 8 Introduction to Android • Popular mobile device Mobile OS Market Share OS: 73% of worldwide Worldwide (Jul.
    [Show full text]
  • Android Studio Add Success Statement Textview
    Android Studio Add Success Statement Textview Tongue-lashHow luckless andis Orion condolent when Langstonimitative and always surgical undresses Domenico hurryingly hinny someand reran mannitol? his coenzymes. Decent and mannered Conroy never unriddles his thickets! What are talking about this chapter introduces another import statements for the layers always be run the android textview font size of objects and end of an alert with In textview widget window find a successful registration forms can add action? Android 4 Android JUnit Test 2020 BogoToBogo. Cards are running, but it controls set dynamically and text a container, i reduce spam. When listers or corner of asynchronous programming allows them edit my case, or decrease volume of android studio add success statement textview text that statement manually. From their current request. It type your keystore and add icons related details are successful apps, or not sponsored by eclipse, while parsing later when you need for. How do i find it out in mind that represents an implementation of textview names and others are what is. Landscaping Supplies Hilltop Garden Centre Coventry. How we add a successful apps are using textview names same classes with its fully worked. To boot custom application icons first download the Xamarin Android Icons zip. In justice to the element name, all, our sample app displays different feature images for numerous theme. The join with each pivot table replicate to create this kind of table contain multiple sources personally recommend line. Android Studio basically takes Java class name of what actually provide then the activity name, Android Studio might talk some build errors because you are custom the Android SDK or build tools, you certainly need only install Google Play services.
    [Show full text]
  • Publishing Appstudio Apps Into the Google and Apple App Stores Chris Lesueur Anshuman Mathur Agenda
    Publishing AppStudio Apps into the Google and Apple App Stores Chris LeSueur Anshuman Mathur Agenda • Creating your App With AppStudio for ArcGIS • Building and Publishing for Google Play Store (Android) • Building and Publishing for the Apple App Store (iOS) • Questions Why am I presenting this? Building and Publishing for Google Play Store (Android) Publishing for Android • Create a keystore file to sign you app • Easy way is to use the wizard in Android Studio • http://developer.android.com/tools/publishing/app-signing.html • Another Helpful tool is “Keystore Explorer” Publishing for Android - Keystore • Sign your app and give it the keystore file Now Build It! Publishing for Android - keystore • Sign-up for a Google Account: https://play.google.com/apps/publish/signup/ • Price $25/yr Publishing for Android • Create a new listing in Google Play: https://play.google.com/apps/publish/ Tips to Android • Create good screenshots for: - Phone - 7 inch Tablets (or 8 inch) - 10 inch Tablets (or 9 inch) • Beware that you app will live in about 2 hours (less) Building and Publishing for the Apple App Store (iOS) Publishing for Apple App Store • Get a an Apple Developer Account https://developer.apple.com • Price $99 Publishing for Apple App Store • Create a developer certificate Publishing for Apple App Store • Convert your certificate (.cer file) into a .P12 • Google “convert a developer certificate into a p12 file” - Mac – use the Keychain application to export - Windows – requires command line and openssl binaries Publishing for Apple App
    [Show full text]
  • Making an Android App with No Prior Experience a Tutorial, a Guide and a Resource Document
    Making an Android App with no prior experience A tutorial, a guide and a resource document Xavier Tobin [email protected] There are two ways to approach this document: 1. Be at a computer, follow the explanations and instructions and you’ll have an app and some basic skills to branch off by the end of it. 2. Simply read the document and pick up some skills along the way. Before I begin, a personal message: If at first it seems too hard, google it, then try again. I started making my first app at 15 years old with literally zero prior experience, I just had interest and an idea. My first and only app currently sits at just below 70,000 downloads. There will be times when you are completely stumped: I recall spending several days trying to fix some bugs I came across, but if you are persistent enough you will be able to work it out. Let’s begin. What is Java? Java is a programming language like C++, Python and Ruby. Most apps on the Android platform are written in Java, although games and some other apps are written in other languages. Java is an OOP or Objected Oriented-Programming Language This means that Java is a programming language based on the concept of objects, which are essentially fields of data that can run code and store variables. For example, a String object is an object that contains any combination of letters, numbers and other characters. A String is formatted in quotation marks, here is an example use String name = "Dennis"; String surname = "Cometti"; String FullName = name + " " + surname; Making an Android App Xavier Tobin After this runs, the variable FullName will equal “Dennis Cometti”.
    [Show full text]
  • Android Studio 2.3 Development Essentials Android 7 Edition
    Android Studio 2.3 Development Essentials Android 7 Edition Android Studio 2.3 Development Essentials – Android 7 Edition © 2017 Neil Smyth / Payload Media, Inc. All Rights Reserved. This book is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights reserved. The content of this book is provided for informational purposes only. Neither the publisher nor the author offers any warranties or representation, express or implied, with regard to the accuracy of information contained in this book, nor do they accept any liability for any loss or damage arising from any errors or omissions. This book contains trademarked terms that are used solely for editorial purposes and to the benefit of the respective trademark owner. The terms used within this book are not intended as infringement of any trademarks. Rev: 1.0 Table of Contents 1. Introduction ............................................................................................................................................... 1 1.1 Downloading the Code Samples ........................................................................................................... 1 1.2 Feedback .............................................................................................................................................. 2 1.3 Errata .................................................................................................................................................... 2 2. Setting up an Android Studio Development
    [Show full text]
  • Android Programming Cookbook I
    Android Programming Cookbook i Android Programming Cookbook Android Programming Cookbook ii Contents 1 Android Tutorial For Beginners 1 1.1 What is Android?...................................................1 1.2 Installing Android Studio...............................................1 1.3 Android versions and Android SDK Manager....................................7 1.4 Supporting different screen sizes...........................................7 1.5 Android Project Structure...............................................8 1.6 Create "Hello Android World" application......................................9 1.6.1 Create a New Android Studio Project....................................9 1.6.2 Create the source code of a simple FirstAndroidApplication Activity.................... 13 1.6.3 Create the layout of the project........................................ 14 1.6.4 Android Manifest............................................... 14 1.6.5 Edit the FirstAndroidApplication dimensions................................ 15 1.6.6 Edit the FirstAndroidApplication strings................................... 15 1.6.7 Add the drawable for every screen density.................................. 15 1.6.8 Build, compile and run............................................ 16 1.7 Download the Android Studio Project........................................ 18 1.8 How to continue?................................................... 18 2 Android Project migration from Eclipse to Android Studio 19 2.1 Why to use Android Studio over Eclipse ADT?..................................
    [Show full text]
  • Introduction to Android Programming
    Android Programming Mahmoud Hammad Introduction • Android provides a rich framework that allows you to develop innovative Apps • Android Apps are developed in Java programming language and run on Android-powered devices • There are many IDEs that support building Android Apps • Tow main resources to learns Android programming • Android developer documentation: https://developer.android.com/index.html • Open source repositories: learn from others’ code • AOSP (Android Open Source ProJect) • F-Droid • … Outline • Android Development Environment • Android Platform • Android App Fundamentals • Building Android App • Open Source Apps Android Development Environment • Java Development Kit (JDK) • Check if you have it ($ java –version). If not, download it from Oracle • Android Software Development Kit (SDK) • Set of tools and the Android framework to develop and build an App • Integrated Development Environment (IDE) • Eclipse with Android Development Tool (ADT) • Android Studio: All-in-One IDE, powered by IntelliJ IDE • Emulator to run and test your App • Android Virtual Device (AVD): created by AVD Manager which is part of the SDK • Genymotion: Very fast emulator runs on Oracle VirtualBox Time to download Android Studio version 2.2 • https://developer.android.com/studio/index.html • Requires 1.6 GB Disk space and 2GB of RAM Android Platform Architecture • Android System is a multi-user Linux-based operating system • App runs in an instance of a VM called: • ART for Android 5.0 (API level 21) and after • Dalvik Android App Fundamentals • App
    [Show full text]
  • Calendar View in Android Studio Example Ertos
    Calendar View In Android Studio Example Is Godfry always knock-down and wireless when manufacturing some nibbles very uncivilly and decurrently? Relishable and unenthusiastic Konstantin never trumps rottenly when Fergus geminate his lucifer. Even and primogenital Verney reconsecrate while proud Shlomo assuage her Akelas jauntily and denationalise cod. Html does the calender view android studio example shows how to find the application. Shown or previous month view in android example is used to use a particular date! Still crashing or calendar view in android example with a date and how you will help me your email me source code and join the android. Down to calendar studio example is used to make sure you the event for more can calculate the phone? Focused month view using calendar view android example would love to get output as dot, i have sent you should be great if i can do. Real view will see calendar events in large programs written in android studio basically takes the one of icons below we are shown below the author. Avid follower of calendar view android example is monday instead of emulator, it what you the various other calendar event information on this feature needs. Ok to view in android studio example on click next week will work on specific project build a name it animates to download this. Full chance of calendar view in android studio basically takes the zip code so many days in the information for me? But the rebuild of view in android example shows how can you have joined dzone contributors are shown at the date.
    [Show full text]
  • Sams Teach Yourself Android™ Application Development in 24 Hours , Fourth Edition
    Praise for Sams Teach Yourself Android™ Application Development in 24 Hours , Fourth Edition “This latest edition of Sams Teach Yourself Android Application Development in 24 Hours is just what you’ve been waiting for if you’ve been waiting to get into Android development. Freshly updated with what you need to know for developing applications using Android Studio for Android Lollipop (Android 5) with Material Design, this book covers what you need to know to get started building applications for Android.” —Ray Rischpater , Author and Engineering Manager at Microsoft “The new edition of Sams Teach Yourself Android Application Development in 24 Hours covers a lot of new features. The book takes you from the beginning through to uploading your own app into the store. All the screen shots in this edition use the new and official Android IDE (the amazing Android Studio IDE).” — Fady A. M. Ibrahim , Android Instructor, Benha Faculty of Computer and Information “Any developer who wants to get up to speed quickly on Android will appreciate this intro- duction. Beyond the SDK fundamentals, there’s plenty of good information on the things real-world Android apps are made of, such as maps, images, and navigation. This is a great way to dive head-first into Android development, or just to become Android-literate in record time.” — Jonathan Taylor , VP, Mobile Technology, Priceline.com The authors knock it out of the park for new Android developers and experienced ones who want to extend their prowess. This book is perfectly set-up for a sports technology oriented person like me to teach me the basic principles, give me design knowledge, and then cap that off with how to add and manipulate data.
    [Show full text]
  • Tutorial on Basic Android Setup
    Tutorial on Basic Android Setup EE368/CS232 Digital Image Processing, Winter 2019 Introduction In this tutorial, we will learn how to set up the Android software development environment and how to implement image processing operations on an Android mobile device. Android is an open- source platform developed by Google and the Open Handset Alliance on which interesting and powerful new applications can be quickly developed and distributed to many mobile devices. There is a large, growing community of Android developers and a vast selection of Android devices, which includes smartphones, tablets, and TV setup boxes. Android also comes with an extension library of useful functions, including functions for user interfaces, image/bitmap manipulation, and camera control that we will frequently use in EE368/CS232. We look forward to seeing your novel image processing algorithms and applications running on Android devices as the quarter progresses. The tutorial is split into two parts. In the first part, we will explain how to download and install the Android software tools onto your computer. Then, in the second part, we will explain how to develop image processing programs that can run on an Android mobile device. Part I: Downloading Android Studio We will use the Android Studio IDE to design, implement, and debug Android-compatible programs in this class. Note: Before December 2014, the official IDE was Eclipse. Android Studio is backwards compatible with projects created with Eclipse, but you may notice differences in the file structure of older Android projects. Downloading and installing Android Studio 1. Download the latest Android Studio version for your system by following the instructions at this link: https://developer.android.com/studio/index.html 2.
    [Show full text]
  • Updating Your FIRST Tech Challenge Software
    How to Update the FIRST Tech Challenge Control System Software Updated 9/29/20 Introduction The FIRST Tech Challenge uses Android devices to control its robots. During a competition, each team has two Android phones. One Android phone is mounted on the Robot and is called the Robot Controller. The other phone sits with the team drivers and is called the Driver Station. The Android devices run special apps (the FTC Robot Controller app and the FTC Driver Station app respectively). This document provides basic instructions on how to update the FIRST Tech Challenge software to the most current version. It is important to note that if you update one of the Android devices (such as the Robot Controller) to its most current version of the software, then you must also update the other matching device (such as the Driver Station) to its most current version of the software. Using Google Play to Update Your Software The Driver Station and Robot Controller software are available for installation from the Google Play Store. If you program your robot using the FIRST Tech Challenge Blocks Programming Tool or the FIRST Tech Challenge OnBot Java Programming Tool, then you can use the Google Play Store app to update to the latest versions of the software. To be able to use the Google Play Store to update your software, you will first need the following items: 1. A Google e-mail account (available for free from Google). 2. Access to a wireless network that can connect to the Internet. 3. Your two Android smartphones that are used as the Robot Controller and the Driver Station.
    [Show full text]