Android Studio, Android System Basics and Git

Slides:



Advertisements
Similar presentations
All About Android Introduction to Android 1. Creating a New App “These aren’t the droids we’re looking for.” Obi-wan Kenobi 1. Bring up Eclipse. 2. Click.
Advertisements

The Android Development Environment.  Getting started on the Android Platform  Installing required libraries  Programming Android using the Eclipse.
Filip Debelić What is it? Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google Android,
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Mobile Application Development
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
Android Programming Beomjoo Seo Sep., 12 CS5248 Fall 2012.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Room Locator App Aabhas Sharma Vinayak Gokhale Yehia Khoja 1 Room Locator App.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Emerging Platform#4: Android Bina Ramamurthy.  Android is an Operating system.  Android is an emerging platform for mobile devices.  Initially developed.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Intro to Android Programming George Nychis Srinivasan Seshan.
Programming Your Android App Gourav Khadge
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
M1G Introduction to Programming 2 4. Enhancing a class:Room.
CS5103 Software Engineering Lecture 08 Android Development II.
© Keren Kalif Intro to Android Development Written by Keren Kalif, Edited by Liron Blecher Contains slides from Google I/O presentation.
Take a leap towards the most promising technology
Introduction to Android Programming (CS5248 Fall 2015) Aditya Kulkarni August 26, 2015 *Based on slides from Paresh Mayami.
Android Info mostly based on Pro Android 3.  User Applications  Java Libraries – most of Java standard edition ◦ Activities/Services ◦ UI/Graphics/View.
Android development basics Introduction,Structure,Development Boncho Valkov.Net Developer.
Intro to Android Development Ben Lafreniere. Getting up and running Don’t use the VM! ials/hello-world.html.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
Basic Android Tutorial USF’s Association for Computing Machinery.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Mobile Application Development using Android Lecture 2.
DUE Hello World on the Android Platform.
Android for Java Developers Denver Java Users Group Jan 11, Mike
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Creating an Example Android App in Android Studio Activity lifecycle & UI Resources.
Introduction to Android
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Installation of Visual Studio Android emulator and Android Studio
Intoduction to Andriod studio Environment With a hello world program.
INTRODUCTION TO ANDROID. Slide 2 Introduction I take a top-down approach to describing an application’s anatomy.
Day 1 Session 2. Setup & Installation
CHAPTER 1 part 1 Introduction. Chapter objectives: Understand Android Learn the differences between Java and Android Java Examine the Android project.
Introduction to Android Programming
Introduction to Android Chapter 1 1. Objectives Understand what Android is Learn the differences between Java and Android Java Examine the Android project.
Intro To Android Programming
Android Mobile Application Development
Mobile Device Development
Reactive Android Development
Mobile Applications (Android Programming)
Android 01: Fundamentals
Chapter 2 Starting a Project
Mobile Application Development Chapter 3 [Using Eclipse Android Studio for Android Development] IT448-Fall 2017 IT448- Fall2017.
Market Share. Market Share Market Share Android Dev Basics Android apps are developed in Java and XML. The hardest part of Android dev is coming up.
Android.
MAD.
Activities and Intents
Android Mobile Application Development
Development-Introduction
Mobile Application Development Chapter 4 [Android Navigation and Interface Design] IT448-Fall 2017 IT448- Fall2017.
Sensors, maps and fragments:
The GoogleMap API By Cody Littley.
Mobile Device Development
Android SDK & App Development
CS5103 Software Engineering
Android Developer Fundamentals V2 Lesson 1
CHAPTER 1 Introduction Chapter objectives: Understand what Android is
Android Developer Fundamentals V2
Android Application Development
Android Platform, Android App Basic Components
Emerging Platform#3 Android & Programming an App
Cosc 4730 An Introduction.
Presentation transcript:

Android Studio, Android System Basics and Git GITMAD

Project Creation

Project Configuration -Make sure project location is not too long -Company domain is the name for the project(reverse url) -C++ support is for Native Development, not Software Dev

Project Configuration Usually want to target the most recent for the newest features and updates unless you’re trying to reach a wide range and want to support lots of versions

Project Configuration -Activities represent single screen with UI -Can work together to form application, can also be run independently

Project Configuration -Activity Name is for the Java file where all the logic will be -Layout Name is made for the xml file where the design elements go

Android Folder Structure Manifest XML Java Folder Classes Activities Resource Folder Layouts Colors Gradle

Activities, Services, Receivers, Providers Activity relationships Android Manifest Permissions Internet, files, etc. Components Activities, Services, Receivers, Providers Activity relationships API Level Hardware Features Camera, Bluetooth, etc. Manifest declares an app’s component, permissions, API Level(Android version), Hardware/Software featuers(camera, Bluetooth, etc.), API libraries to be linked (Google Maps) https://developer.android.com/guide/components/fundamentals.html#Manifest <activity> elements for activities. <service> elements for services. <receiver> elements for broadcast receivers. <provider> elements for content providers.     <uses-feature android:name="android.hardware.camera.any"                   android:required="true" />     <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="19" />

Java Folder Where actual code implementation is located Contains Classes and Interfaces

Activities Represents a single screen with a user interface All interactions everything for programing and implementation Keeps track of processes that the user cares about Mostly use fragments (advanced)

Most important functions Life Cycle Most important functions onCreate() onPause() onResume() Used by the Android system to manage resources Explain how the Life Cycle works and the methods we use the most as programmers.

‘R’ Reference System R holds all the references to items in the project, stored as integers References everything in the ‘res’ folder.

Res Folder Layouts Colors Strings Dimensions Layouts for Screens and Views Colors Colors that will be reused Strings Strings used throughout project (e.g. labels) Dimensions Used dimensions such as margins, padding, font sizes, etc.

Gradle Builds the app States additional libraries that are added Mostly change what’s in the highlighted box

Same method to create other type of files Activity Creation Create new Activity Right Click on ”Java” folder -> New -> Activity Found towards the bottom Same method to create other type of files Play around with right click to see what you can create.

Set line numbers View -> Active Editor -> set line numbers Tips Set line numbers View -> Active Editor -> set line numbers Launch Standalone SDK manager about once a month to stay up to date Found in the toolbar far to the right Create a separate folder to hold classes and adapters Check for drivers necessary to debug on android device Use Debugger Use phone over emulator if you can

Git/GitHub A Version Control System, based on a distributed system. Four need to know commands - Add, Commit, Push & Pull Can use Terminal or GitHub Graphical User Interface (GUI) If you like GUI more, try SourceTree Add Git Path to Android Studio

Can’t run phone on computer Classic Problems Can’t run phone on computer Need to enable Virtualization Can’t use your phone Either need a better cord Download drivers Can’t crunch file Path to project is too long move it somewhere else