Jordan Jozwiak November 13, 2011

Similar documents
Android Development. Marc Mc Loughlin

Fahim Uddin 1. Java SDK

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

How to Create an Android Application using Eclipse on Windows 7

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months

Mobile Application Development

Reminders. Lab opens from today. Many students want to use the extra I/O pins on

OpenCV on Android Platforms

Open Source Telemedicine Android Client Development Introduction

Android Application Development. Daniel Switkin Senior Software Engineer, Google Inc.

Introduction to Android. CSG250 Wireless Networks Fall, 2008

Android Environment SDK

How To Develop An Android App On An Android Device

INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen,

Android Tutorial. Larry Walters OOSE Fall 2011

Android Application Development: Hands- On. Dr. Jogesh K. Muppala

Android Application Development - Exam Sample

Practical Android Projects Lucas Jordan Pieter Greyling

Android Application Development Lecture Notes INDEX

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

Introduction to Android Programming (CS5248 Fall 2015)

Android Environment SDK

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities

Android Developer Fundamental 1

Introduction to Android

Workshop on Android and Applications Development

Introduction to Android: Hello, Android! 26 Mar 2010 CMPT166 Dr. Sean Ho Trinity Western University

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development

Android Mobile App Building Tutorial

Developer's Cookbook. Building Applications with. The Android. the Android SDK. A Addison-Wesley. James Steele Nelson To

Running a Program on an AVD

ADT Plugin for Eclipse

Smartphone market share

Android Basics. Xin Yang

Android Development Tutorial. Human-Computer Interaction II (COMP 4020) Winter 2013

Android Programming and Security

Mobile Application Development 2014

Android Application Development

Homeschool Programming, Inc.

Getting Started with Android Programming (5 days) with Android 4.3 Jelly Bean

Android Development Tools for Eclipse

Here to take you beyond Mobile Application development using Android Course details

COURSE CONTENT. GETTING STARTED Select Android Version Create RUN Configuration Create Your First Android Activity List of basic sample programs

directory to "d:\myproject\android". Hereafter, I shall denote the android installed directory as

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

Getting started with Android and App Engine

Mobile Application Development Android

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI /19/14 HANNAH MILLER

Advantages. manage port forwarding, set breakpoints, and view thread and process information directly

1. Introduction to Android

Mocean Android SDK Developer Guide

ITG Software Engineering

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Beginning Android Programming

Android Development. 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系

Introduction to Android Development. Jeff Avery CS349, Mar 2013

Developing Android Apps: Part 1

Getting Started: Creating a Simple App

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

Introduction to Android

Frameworks & Android. Programmeertechnieken, Tim Cocx

Module Title: Software Development A: Mobile Application Development

How to develop your own app

Graduate presentation for CSCI By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu )

Developing NFC Applications on the Android Platform. The Definitive Resource

Android Java Live and In Action

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

Introduction to Android

Chapter 2 Getting Started

l What is Android? l Getting Started l The Emulator l Hello World l ADB l Text to Speech l Other APIs (camera, bitmap, etc)

Getting Started with Android Development

Android Programming: Installation, Setup, and Getting Started

Developing In Eclipse, with ADT

Технологии Java. Android: Введение. Кузнецов Андрей Николаевич. Санкт-Петербургский Государственный Политехнический Университет

Building an Android client. Rohit Nayak Talentica Software

place/business fetch details, removefromfavorite () function, 189 search button handler bind, B BlackBerry build environment

An Introduction to Android

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

Android Geek Night. Application framework

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

ANDROID INTRODUCTION TO ANDROID

Table of Contents. Adding Build Targets to the SDK 8 The Android Developer Tools (ADT) Plug-in for Eclipse 9

A Modular Approach to Teaching Mobile APPS Development

Android Setup Phase 2

An Introduction to Android Application Development. Serdar Akın, Haluk Tüfekçi

How to Set Up Your PC for Android Application Development

Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作

Getting Started With Android

Introduction (Apps and the Android platform)

341 - Bioinformatics Android Coursework

Android, Bluetooth and MIAC

About this Release. Introduction. Prerequisites. Installation. Using the Web SDK Packager

Transcription:

Jordan Jozwiak November 13, 2011

Agenda Why Android? Application framework Getting started UI and widgets Application distribution External libraries Demo

Why Android?

Why Android? Open source That means that it s free! Easy to use framework based on Java True customization Replace stock apps Personalize Home Screens with widgets Better notifications Easier to publish no review process

Why Android? Security Reputation as less secure than ios True, but it is still very secure! Each application lives in its own security sandbox System assigns each app a unique Linux user ID Each process has its own virtual machine, so an app s code runs in isolation from other applications Permissions are approved by the user during app installation. Apps are signed by a developer s private key

Application framework

Application framework src source files where the actual coding takes place res collection of resources for screen layouts, images, sounds, text, animations and more. Manifest represents essential information about the application to the Android system

Application framework src code example

Application framework res res/drawable logo and all images Customizable for different pixel densities res/raw sounds and music res/layout the XML layout for each activity Customizable for different screen sizes and orientations res/values saves all strings and object styles Not as stream lined or standardized as ios

Application framework Layout example

Application framework Manifest Permissions e.g. access internet, access SMS messages Minimum API Hardware and software features required You must also declare every activity you create!

Application framework Manifest example

Application framework Activity Lifecycle

Application Framework Activity Visible screens Service Background services Content provider Shared data Broadcast receivers Receive and react to broadcast events Intent Launch new activities

Getting started

Getting started installation Get the latest Java Development Kit (JDK) Get the latest version of Eclipse Classic (recommended) Install the Android Software Development Kit (SDK) Install the Android Development Tools (ADT) plugin for Eclipse Makes your life easier: lets you quickly set up new Android projects, create an application UI, debug your apps, and export APKs for distribution!

Getting started Eclipse + ADT

Getting started Emulator Eclipse + ADT + Emulator =

Getting started debugging DDMS debugger not fun, but you should do it.

UI and widgets

UI and widgets Android user interface is composed of hierarchies of objects called Views View: a drawable object such as a button, image, or text label Widget: like form types in HTML, ways that the user can interact with the UI such as TextView, ListView, ScrollView, Spinner, TabWidget, Button Layout: a container for widgets

UI and widgets Linear Layout, Relative Layout, and Table Layout

Application distribution

Application distribution Publish in the Android Market Purchase a developer account for $25 Export APK from Eclipse with ADT Upload APK, images, and description

External Libraries

External Libraries Easily add external libraries by importing 3rd party JARs (.jar files) Allows you to easily integrate cool features into your app Make use of SDKs from big corporations Selling point Less coding

External Libraries Analytics Google Analytics (recommended) Understand how users interact with your app Number of visitors per day Time on page (in activity) Demographics and location Track app version App interaction (button presses, conversions, etc.)

External Libraries Monetization

External Libraries Monetization Open source philosophy People are less willing to pay for apps, so developers may money through advertisements AdMob (recommended) Bought by Google in 2009 for $750 million Paid by click, not by impression Easily transfer funds to advertise your own app (20% bonus)

External Libraries Others Many large companies have their own SDKs in the form of JARs Facebook, Twitter, Dropbox, OpenFeint, etc. Search online for JARs for other functions (advanced math operations, etc.)

Demo Tutorial for Hello, world! http://developer.android.com/resources/ tutorials/hello world.html Tutorials for Views http://developer.android.com/resources/tutorials/ views/index.html Other tutorials http://developer.android.com/resources/ browser.html?tag=tutorial

Thanks for coming!