TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

ANDROID DEVELOPMENT KELLY MCBEAN. DEVELOPMENT ENVIRONMENT OVERVIEW Eclipse Standard IDE for Developing Android Applications Install: 1.Java (JDK) – Since.
Chapter 1: Voilà! Meet the Android
Programming Mobile Applications with Android
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Android and Project Structure. Android Android OS – Built on Linux Kernel – Phones – Netbooks – Readers – Other???
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.
2. Setting Up Your Android Development Environment.
Installing software on personal computer
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **
SCERSIG: Creating Android Apps with App Inventor 26 October 2011 Ric Paul, Health Services Library, Southampton.
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.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Android Application Development 2013 PClassic Chris Murphy 1.
Lesson 4 Computer Software
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
TC2-Computer Literacy Mr. Sencer February 8, 2010.
Android 2: Introduction to the Technology Kirk Scott 1.
© Keren Kalif Intro to Android Development Written by Keren Kalif, Edited by Liron Blecher Contains slides from Google I/O presentation.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
DUE Hello World on the Android Platform.
Android for Java Developers Denver Java Users Group Jan 11, Mike
Eclipse Tutorial Barrett Summer Scholars 2011 Sustainable Engineering: Learning to Engineer Truly Green Products.
© 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.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Android Boot Camp for Developers Using Java, 3E
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
First Venture into the Android World Chapter 1 Part 2.
Android Boot Camp Demo Application – Part 1. Development Environment Set Up Download and install Java Development Kit (JDK) Download and unzip 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.
Android. What is Android? A mobile device operating system. Seen primary in tablets and Cellphones. Based on a Linux kernel. Applications are Java Based.
Installation of Visual Studio Android emulator and Android Studio
Intoduction to Andriod studio Environment With a hello world program.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
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
COM594: Mobile Technology Practical – Week 1 Android and Android Studio.
TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB
Android Programming.
Mobile Device Development
Android 01: Fundamentals
Obtaining the Required Tools
Android Studio, Android System Basics and Git
Android.
3D Tetris Game on Android OS
Development-Introduction
CIS 470 Mobile App Development
CS323 Android Getting Started
Application Development A Tutorial Driven Course
Android Developer Fundamentals V2 Lesson 1
CHAPTER 1 Introduction Chapter objectives: Understand what Android is
Android Application Development
Korea Software HRD Center
Emerging Platform#3 Android & Programming an App
CA16R405 - Mobile Application Development (Theory)
CA16R405 - Mobile Application Development (Theory)
Presentation transcript:

TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents

HOW DID YOUR INSTALLATION GO? AVAST is not your friend If you are cheap, go with AVG Hardware Acceleration Errors ? Update ! Update ! Update ! A look at your emulator Keywords: SDK manager, AVD manager

SDK MANAGER An SDK is a software development kit SDKs include tools, libraries, documentation and sample code that would help a programmer to develop an application. Most of the SDKs could be downloaded from the internet and many of the SDKs are provided free to encourage the programmers to use the SDK‘s programming language. Some widely used SDKs are Java SDK (JDK) that includes all the libraries, debugging utilities, etc., which would make writing programs much easier in Java. The Android SDK Manager separates the SDK tools, platforms, and other components into packages for easy access and management. You can also customize which sites the SDK Manager checks for new or updated SDK packages and add- on tools. Android apps are Java based, hence you had to install the Java SDK before Android studio.

Updates and not installed: Check for hardware accelaration

WHAT A MINUTE: WHAT IS AN API? API stand for Application Programming Interface. API is an interface that allows software programs to interact with each other. It defines a set of rules that should be followed by the programs to communicate with each other. APIs generally specify how the routines, data structures, etc. should be defined in order for two applications to communicate. Confused ? Remember this: “All SDKs consist of or contain APIs but not all APIs are SDKs.”

Updates and not installed: Check for hardware accelaration

AVD MANAGER An AVD is an Android Virtual Device An AVD is created using the Android emulator application. The Android emulator provides a virtual mobile device, an AVD, on which you can run your Android applications. The AVD models an actual device by defining hardware and software options to be emulated by the Android Emulator. As such, an AVD is an emulator configuration. Using the emulator you can run (prototype, develop and test) Android applications without using a physical device. The AVD Manager provides a graphical user interface (GUI) n which you can create and manage AVDs.

USING THE DEFAULTS IS JUST FINE ! Who knows – you may even recognize your own device.

Once created, here is where you start (run) your emulated device. Be patient this can take a while …

HAX errors will show up here. Go back to SDK manager to troubleshoot.

VOILA: YOU HAVE EMULATED

TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents

RECAP OR POP QUIZ? 4 major classes: Activities Intents IntentServices BroadcastReceivers Take a piece of paper and write down what is an activity and what is an intent?

ANSWERS Activity is a core component of the Android platform. An activity is typically associated with a screen in the application. That means that most activities start and then show a user interface. When an Android app launches, some activity must be launched. An intent is used to make a request to the Android operating system. An Intent contains all the information needed by the Android OS to start a task. When you want to start an Activity, you must create an Intent that specifies that Activity

“My Answers “ by Anonymous Student “My Answers “ by Anonymous Student

USING AN INTENTS TO START AN ACTIVITY To launch one Activity from another, you will use an Intent. To start one Activity from another, you need to create two activities. At home, do this: 1. Create a new project MyFirstApplication. 2. Add a new blank Activity called MainActivity. Have a look at the manifest, java, and res folders. 3. Create a second Activity called SecondaryActivity. To do this, right click Java folder 4. Add code to MainActivity that starts SecondaryActivity when the Floating Action button is clicked. That’s the easy part !

Add the following code to your Floating Action Button: Intent startIntent = new Intent(getApplicationContext(),SecondaryActivity. class); startActivity(startIntent);

DEMO NOW ASSIGNMENT 2 – AT HOME Create the app demo’ed in class. Before panicking about rendering errors, Wait. It can take time. Please don’t edit the root tag. Instead, right click on the device image “Hide including lay-out” Make sure your emulator works. Check your SDK manager. Run your app in at least 4 AVD. Read the annotated code of the main activity.