Intro to Android Development Ben Lafreniere. Getting up and running Don’t use the VM! ials/hello-world.html.

Slides:



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

Google Android Introduction to Mobile Computing. Android is part of the build a better phone process Open Handset Alliance produces Android Comprises.
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Scienze dellInformazione Università di Bologna.
Ando-it-yourself droid Praveen Kumar Pendyala. Outline Brief intro to the Droid developement Setting up the Life saviors - Development tools Hello Droid.
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.
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.
Hello world Follow steps under the sections “Create an AVD” and “Create a New Android Project” at
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
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,
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
By: James Ondecko  What is Android?  Helpful backgrounds for Android development  Tools & Installs  Android Virtual Devices  Helpful references.
Android Programming Beomjoo Seo Sep., 12 CS5248 Fall 2012.
Android Application Development with Java UPenn CS4HS 2011 Chris Murphy
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
S MARTPHONE A PPLICATION D EVELOPMENT Sam Palmer.
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.
Android Application Development 2013 PClassic Chris Murphy 1.
Better reference the original webpage :
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Introduction to Android Programming Content Basic environmental structure Building a simple app Debugging.
Mobile Application Development with ANDROID Tejas Lagvankar UMBC 29 April 2009.
Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.
© Keren Kalif Intro to Android Development Written by Keren Kalif, Edited by Liron Blecher Contains slides from Google I/O presentation.
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
Android Info mostly based on Pro Android 3.  User Applications  Java Libraries – most of Java standard edition ◦ Activities/Services ◦ UI/Graphics/View.
Introduction to Android Android How to Program © by Pearson Education, Inc. All Rights Reserved.
Smart Phone Laboratory ECEN 489 Srinivas Shakkottai.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Tip Calculator App Building an Android App with Java © by Pearson Education, Inc. All Rights Reserved.
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
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.
INTRODUCTION TO ANDROID. Slide 2 Application Components An Android application is made of up one or more of the following components Activities We will.
Configuring Android Development Environment Nilesh Singh.
Silicon Valley Code Camp 2009 “Embellish Your Pictures” Build an Application for an Android Phone Jack Ha, Balwinder Kaur Oct 3, 2009 – 5:15PM Room CCL.
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.
Announcements Homework #2 will be posted after class due Thursday Feb 7, 1:30pm you may work with one other person No office hours tonight (sorry!) I will.
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Intoduction to Andriod studio Environment With a hello world program.
Master Software Solutions Pvt.Ltd.. These days the demand of smart phone is being increased and we have different types of client e.g. Touch Phone, tables,
INTRODUCTION TO ANDROID. Slide 2 Introduction I take a top-down approach to describing an application’s anatomy.
Why Learn Android? Largest installation base of any operating system Over 20,000 Android devices exist Businesses will likely move more to device-based.
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.
Android Programming.
Android 01: Fundamentals
Android Application Development 1 6 May 2018
Android Studio, Android System Basics and Git
Android.
Development-Introduction
CMPE419 Mobile Application Development
Android SDK & App Development
Application Development A Tutorial Driven Course
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
Installing Android SDK in Eclipse
Android Development Introduction to Android Development 2011/01/16
CMPE419 Mobile Application Development
CA16R405 - Mobile Application Development (Theory)
CA16R405 - Mobile Application Development (Theory)
Presentation transcript:

Intro to Android Development Ben Lafreniere

Getting up and running Don’t use the VM! ials/hello-world.html ials/hello-world.html Steps: – Install Eclipse – Install the Android Development Tools (ADT) plugin – Install the Android SDK (may be optional) – Create an emulator – Hello world!

Download and Install Eclipse Eclipse has many versions! Go with Eclipse Classic (32- or 64-bit depending on your system)

Install ADT plugin adt.html#installing

Configure ADT plugin

Download and Install the Android SDK

Use SDK Manager to install APIs Why so many SDK versions? – Android is a UI toolkit being incrementally developed before our eyes Install and use Android SDK (API 10) – Because these are the phones we’ll be marking on

Video walkthrough anddev_installing.avi

Creating an emulator Not all developers have android devices – So we emulate one! Video – anddev_create_emu.avi

Developing with the Emulator Emulator takes a long time to boot up – Enabling the ‘Snapshot’ option speeds things up by saving the emulator’s state when it’s closed, and restoring it when it’s started again You can keep the emulator open between runs Don’t develop on the VM! (the emulator will run way too slow)

Android Programming

Creating an Android project world.html

Hello World! HelloAndroidActivity.java

Android App Anatomy – Classes Activity – A single screen of the application View – The superclass for widgets (the UI is made up of a tree of View objects) Intent – An action that must be performed

Activities A single, focused thing that the user can do Should use an Activity for each screen of the application Activities must be declared in the Manifest file

Views Superclass of all Android widgets (similar to java.awt.Component in Swing)

Views Superclass of all Android widgets (similar to the Component class from Swing)

Intents Abstract description of an action that the user wants to perform (e.g. open a webpage, share a picture) Used to transition between Activities Includes the intended action, and may include data

Code Examples HelloAndroid – One Activity, One TextView, very simple FormExample – Two Activities, using an Intent to start a second Activity DataPassExample – Builds on FormExample, using Intents to pass data between Activities

Much more Using XML layouts to separate presentation from logic Using strings.xml in lieu of hard-coded strings Saving the application’s state when an activity is paused

Useful references Android Developers Tutorials section torial torial Notebook tutorial (detailed multi-Activity example) dex.html dex.html Common tasks ml ml