Android Developer Fundamentals V2 Lesson 1

Slides:



Advertisements
Similar presentations
Copyright  Oracle Corporation, All rights reserved. 1 Creating an Application: The AppBuilder for Java IDE.
Advertisements

Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Debugging Android Applications
Android Programming Beomjoo Seo Sep., 12 CS5248 Fall 2012.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
®® Microsoft Windows 7 Windows Tutorial 6 Searching for Information and Collaborating with Others.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Android Boot Camp for Developers Using Java, Comprehensive: A Guide to Creating Your First Android Apps Chapter 9: Customize! Navigating with a Master/Detail.
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
CS5103 Software Engineering Lecture 08 Android Development II.
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
Basic Android Tutorial USF’s Association for Computing Machinery.
Android Programming By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 1 Part2: Android Studio, A Closer Look By Mohsen Biglari.
© 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.
Android Boot Camp for Developers Using Java, 3E
Configuring Android Development Environment Nilesh Singh.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
Android Hello World 1. Click on Start and type eclipse into the textbox 2.
Android Studio IDE Tools Operation Summary. icle.html icle.html.
First Venture into the Android World Chapter 1 Part 2.
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.
USING HARDWARE DEVICES When building a mobile application, it's important that you always test your application on a real device before releasing it.
Intoduction to Andriod studio Environment With a hello world program.
© 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.
INTRODUCTION TO ANDROID. Slide 2 Introduction I take a top-down approach to describing an application’s anatomy.
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
COM594: Mobile Technology Practical – Week 1 Android and Android Studio.
Presenter Sudhanshu Gupta
Mobile Device Development
Chapter 2: The Visual Studio .NET Development Environment
Mobile Application Development BSCS-7 Lecture # 2
ATS Application Programming: Java Programming
Android Studio, Android System Basics and Git
Development-Introduction
Mobile Application Development Chapter 4 [Android Navigation and Interface Design] IT448-Fall 2017 IT448- Fall2017.
Visual programming Chapter 1: Introduction
The GoogleMap API By Cody Littley.
Introduction to the Visual C# 2005 Express Edition IDE
CA16R405 - Mobile Application Development (Theory)
CMPE419 Mobile Application Development
Android SDK & App Development
Android Studio Hello World
CS5103 Software Engineering
CMPE419 Mobile Application Development
Chapter 1: Basics of Android, First App: HelloAndroid
CA16R405 - Mobile Application Development (Theory)
Testing, debugging, and using support libraries
CHAPTER 1 Introduction Chapter objectives: Understand what Android is
Android Developer Fundamentals V2
Android Application Development
Android Platform, Android App Basic Components
CMPE419 Mobile Application Development
CMPE419 Mobile Application Development
CA16R405 - Mobile Application Development (Theory)
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
CA16R405 - Mobile Application Development (Theory)
CA16R405 - Mobile Application Development (Theory)
Presentation transcript:

Android Developer Fundamentals V2 Lesson 1 Build your first app Lesson 1

1.1 Your first Android app

Contents Android Studio Creating "Hello World" app in Android Studio Basic app development workflow with Android Studio Running apps on virtual and physical devices

Prerequisites Java Programming Language Object-oriented programming XML - properties / attributes Using an IDE for development and debugging

Android Studio

What is Android Studio? Android integrated development environment (IDE) Project and Activity templates Layout editor Testing tools Gradle-based build Log console and debugger Emulators

Android Studio interface Toolbar Navigation bar Project pane Editor Tabs for other panes

Creating your first Android app

Start Android Studio

Create a project inside Android Studio

Name your app

Pick activity template Choose templates for common activities, such as maps or navigation drawers. Pick Empty Activity or Basic Activity for simple and custom activities.

Name your activity Good practice: Use AppCompat Name main activity MainActivity Name layout activity_main Use AppCompat Generating layout file is convenient

Project folders manifests—Android Manifest file - description of app read by the Android runtime java—Java source code packages res—Resources (XML) - layout, strings, images, dimensions, colors... build.gradle—Gradle build files

Gradle build system Modern build subsystem in Android Studio Three build.gradle: project module settings Typically not necessary to know low-level Gradle details Learn more about gradle at https://gradle.org/

2. Select virtual or physical device Run your app Run 2. Select virtual or physical device 3. OK

Create a virtual device Use emulators to test app on different versions of Android and form factors. Tools > Android > AVD Manager or:

Configure virtual device Choose hardware Select Android version Finalize

Run on a virtual device

Get feedback as your app runs Emulator running the app Run pane Run tab to open or close the Run pane

Adding logging to your app As the app runs, the Logcat pane shows information Add logging statements to your app that will show up in the Logcat pane Set filters in Logcat pane to see what's important to you Search using tags

The Logcat pane Logcat tab to show Logcat pane Log level menu

END