Introduction to Android development

Similar documents
Real-Time Embedded Systems

Introduction to Android

Embedded Systems Programming - PA8001

Lab 1: Getting Started With Android Programming

Android. Mobile operating system developed by Google A complete stack. Based on the Linux kernel Open source under the Apache 2 license

Lifecycle Callbacks and Intents

Minds-on: Android. Session 1

CS260 Intro to Java & Android 04.Android Intro

Android Programmierung leichtgemacht. Lars Vogel

UNDERSTANDING ACTIVITIES

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Introduction to Android

ANDROID SYLLABUS. Advanced Android

Mobile development initiation

Android Ecosystem and. Revised v4presenter. What s New

Android Fundamentals - Part 1

University of Babylon - College of IT SW Dep. - Android Assist. Lect. Wadhah R. Baiee Activities

Android App Development. Ahmad Tayeb

Google Maps Troubleshooting

INTRODUCTION TO ANDROID

ACTIVITY, FRAGMENT, NAVIGATION. Roberto Beraldi

CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing. Lab & Demo 2 (Part 1-2) Hello-Goodbye App Tutorial

CS378 -Mobile Computing. Anatomy of and Android App and the App Lifecycle

Android App Development

CS378 - Mobile Computing. Anatomy of an Android App and the App Lifecycle

Overview of Activities

COLLEGE OF ENGINEERING, NASHIK-4

Minds-on: Android. Session 2

Agenda. Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen

Manual Android Virtual Device Failed To Load Click Details

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml

Introduction To Android

States of Activities. Active Pause Stop Inactive

EMBEDDED SYSTEMS PROGRAMMING Application Basics

Android App Development. Muhammad Sharjeel COMSATS Institute of Information Technology, Lahore

Programming with Android: System Architecture. Dipartimento di Scienze dell Informazione Università di Bologna

CS 528 Mobile and Ubiquitous Computing Lecture 3b: Android Activity Lifecycle and Intents Emmanuel Agu

Android App Development

COSC 3P97 Mobile Computing

LECTURE NOTES OF APPLICATION ACTIVITIES

Syllabus- Java + Android. Java Fundamentals

ATC Android Application Development

CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing. Lab & Demo 2 (1 &2 of 3) Hello-Goodbye App Tutorial

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1

Computer Science E-76 Building Mobile Applications

In this Class Mark shows you how to put applications into packages and how to run them through the command line.

Mobile Application Development

Programming Mobile Applications with Android Lab2

Lifecycle-Aware Components Live Data ViewModel Room Library

Introduction to Android Android Smartphone Programming. Outline University of Freiburg. What is Android? Background University of Freiburg.

Manual Android Virtual Device Failed To Load Error

Developer s overview of the Android platform

Software Development & Education Center ANDROID. Application Development

Mobile Programming Lecture 1. Getting Started

Lab Android Development Environment

BECOMING MORE EFFECTIVE WITH THE ANDROID EMULATOR

Android Sdk Setup For Windows 7 32 Bit Full Version

Android Basics. Android UI Architecture. Android UI 1

Android Sdk Tutorial For Windows 7 64 Bit Full Version

Android App Development Workshop

Mobile Application Development - Android

Mobile and Ubiquitous Computing: Android Programming (part 1)

Android for Ubiquitous Computing Researchers. Andrew Rice University of Cambridge 17-Sep-2011

Basic Android Setup for Machine Vision Fall 2015

Getting Started. Dr. Miguel A. Labrador Department of Computer Science & Engineering

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project.

ANDROID MOCK TEST ANDROID MOCK TEST IV

Android Development Tools = Eclipse + ADT + SDK

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

CS 4518 Mobile and Ubiquitous Computing Lecture 4: Data-Driven Views, Android Components & Android Activity Lifecycle Emmanuel Agu

Programming with Android: System Architecture. Luca Bedogni. Dipartimento di Scienze dell Informazione Università di Bologna

Introduction to Android

Activities and Fragments

Android Studio for Windows

CS 528 Mobile and Ubiquitous Computing Lecture 4a: Fragments, Camera Emmanuel Agu

Mobile Application Development

(Refer Slide Time: 0:48)

SD Module- Android Programming

Activities. Repo:

Questions and Answers. Q.1) Which of the following is the most ^aeuroeresource hungry ^aeuroepart of dealing with activities on android?

MODULE 2: GETTING STARTED WITH ANDROID PROGRAMMING

Mobile Computing. Introduction to Android

CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L

SEVEN ADVANCED ACADEMY

CMSC436: Fall 2013 Week 3 Lab

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012

android application development CONTENTS 1.1 INTRODUCTION TO O ANDROID OPERATING SYSTEM... TURES Understanding the Android Software Stack...

ITG Software Engineering

Programming Concepts and Skills. Creating an Android Project

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah

ACTIVITY, FRAGMENT, NAVIGATION. Roberto Beraldi

Wirtschaftsinformatik Skiseminar ao. Prof. Dr. Rony G. Flatscher. Seminar paper presentation Dennis Robert Stöhr

CSCU9YH Development with Android

Android Application Development

SD Module-1 Android Dvelopment

Android Online Training

ORACLE UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Lecture 1 Introduction to Android. App Development for Mobile Devices. App Development for Mobile Devices. Announcement.

Android Application Development Course Code: AND-401 Version 7 Duration: 05 days

Transcription:

Introduction to Android development

Manifesto Digital We re an award winning London based digital agency that loves ideas design and technology We aim to make people s lives better, easier, fairer, more interesting or fun with great strategy, engaging campaigns and rock solid technology. Introduction to Android development

About us Simon Bates COO and co-founder, Manifesto Digital. University of Manchester Institute of Science and Technology Beng Software Engineering. 17 years IT experience, working mainly in Web-based technologies and frameworks Wrote first Java application in 1997 Introduction to Android development

About us David Thompson Lead Android developer, Manifesto Digital. University of Seville, Technical engineering in administrative information systems 4 years professional Java and mobile application development experience Mobile ios and Android development: Hello World!

Android: The Basics Based on Linux kernel First launched in 2007 API is Java ByteCode converted to Dalvik VM Bytecode (replaced with ART in Android 5.0 Lollipop ) Can write native code in C

Android: Pros Market Share (80%) Can develop on any platform Eclipse-based IDE can be used now Android Studio More open e.g. call history available to all apps, sharing content, notifications between apps

Android: Pros Install apps from any source e.g. Web, storage card etc Easy to write hooks and overrides Apps can be self-signed One-time $25 to publish to Google Play

Android: Cons Fragmentation Updates can come late due to manufacturers with own customisations Often big changes between versions Often more manual than ios Graphics can be slower some improvements in Lollipop

Technology choices HTML5 Hybrid Native SEO multi-platform support discoverability personalisation performance ease of update lower build costs push messages offline use design & UX potential independence enterprise control device sensor features monetization background processing

Mobile OS trends Mobile ios and Android development

Android fragmentation OpenSignal.com 11,688 distinct devices downloaded one app Mobile ios and Android development

Android fragmentation OpenSignal.com

Installation Android Studio IDE Android SDK tools Android 6.0 (Marshmallow) Platform Android 6.0 emulator system image with Google APIs http://developer.android.com/sdk/index.html

Android Studio Based on IntelliJ Idea Replacing Eclipse + ADT as supported IDE

Shortcuts Shortcut Windows/Linux Mac Find declaration Ctrl + Click Cmd + Click Search everywhere Code completion Shift, Shift Ctrl + Space Shift, Shift Ctrl + Space Generate Alt+insert Cmd + N Search Ctrl + F Cmd + F

New Project

Project Structure q Manifests q Java q Res q Drawable q Layout q Menu q Mipmap q Values q Gradle

Interface

SDK Manager

ADM

AVD Manager ARM x86 (Intel HAXM)

Virtual Device Better to use your own device ARM Virtual Device is slow Intel x86 much faster Genymotion

Components Application/Interface Components Activity Broadcast Receiver Content Provider Service Fragment Intent Views and layout manager

Lifecycle visible oncreate onstart onresume onpause onrestart onstop ondestroy

Lifecycle When the Activity first time loads the events are called as below: oncreate(); onstart(); onresume(); When you click on Phone button the Activity goes to the background and the below events are called: onpause(); onstop(); Exit the phone dialer and the below events will be called: onrestart(); onstart(); onresume(); When you click the back button OR try to finish() the activity the events are called as below: onpause(); onstop(); ondestroy() Mobile Application Development

? Introduction to Android development

Thanks! Simon Bates simon.bates@manifesto.co.uk @simongbates @manifestovstech Introduction to Android development