Praktikum Entwicklung von Mediensystemen (Android)



Similar documents
Android Basics. Xin Yang

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

An Introduction to Android

Android Developer Fundamental 1

Android Application Development

Module Title: Software Development A: Mobile Application Development

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

ITG Software Engineering

Programming with Android

Android (Basic + Advance) Application Development

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

Lecture 1 Introduction to Android

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

A Short Introduction to Android

Jordan Jozwiak November 13, 2011

Workshop on Android and Applications Development

ANDROID. Programming basics

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

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

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

Mobile Application Development Android

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

ANDROID OPERATING SYSTEM

ANDROID INTRODUCTION TO ANDROID

Introduction (Apps and the Android platform)

Praktikum Entwicklung Mediensysteme (für Master)

WEB, HYBRID, NATIVE EXPLAINED CRAIG ISAKSON. June 2013 MOBILE ENGINEERING LEAD / SOFTWARE ENGINEER

Evaluation of Xamarin Forms for MultiPlatform Mobile Application Development

Getting started with Android and App Engine

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

Android Programming and Security

Introduction to Android

Introduction to Android

Introduction to Android Programming (CS5248 Fall 2015)

Introduction to Android Development. Jeff Avery CS349, Mar 2013

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

Android Geek Night. Application framework

01. Introduction of Android

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)

CS378 -Mobile Computing. Android Overview and Android Development Environment

MMI 2: Mobile Human- Computer Interaction Android

How To Develop Android On Your Computer Or Tablet Or Phone

Mobile Application Development 2014

The Android Platform

Android Development Tutorial. Nikhil Yadav CSE40816/ Pervasive Health Fall 2011

Praktikum Entwicklung von Mediensystemen mit

Mobile Phones Operating Systems

INTERMEDIATE ANDROID DEVELOPMENT Course Syllabus

GETTING STARTED WITH ANDROID DEVELOPMENT FOR EMBEDDED SYSTEMS

Development Of Mobile Applications GDF Mobilinfo

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

Professional Tizen Application Development

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

The power of root on Android emulators

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

4. The Android System

Overview. The Android operating system is like a cake consisting of various layers.

OMX, Android, GStreamer How do I decide what to use? 15 July 2011

How To Develop An Android App On An Android Device

ANDROID BASED MOBILE APPLICATION DEVELOPMENT and its SECURITY

OpenCV on Android Platforms

Basics. Bruce Crawford Global Solutions Manager

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

Publishing to TIZEN Using the Automated Conversion/Repackaging of Existing Android Apps. Hyeokgon Ryu, Infraware Technology, Ltd.

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

DESIGNING AN M-LEARNING APPLICATION FOR A UBIQUITOUS LEARNING ENVIRONMENT IN THE ANDROID BASED MOBILE DEVICES USING WEB SERVICES

Overview of CS 282 & Android

City of Dublin Education & Training Board. Programme Module for. Mobile Technologies. leading to. Level 6 FETAC. Mobile Technologies 6N0734

3. Software Installation. 4. Introduction to Android OS. 5. Using Android OS / Devices. 6. Eclipse debug with Android app. 8. Units of measurement

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

QML and JavaScript for Native App Development

Mobile Application Development

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

Android Mobile App Building Tutorial

Lecture 3 Mobile App Development (Android, ios, BlackBerry, Windows Mobile) <lecturer, date>

rich mobile applications made easy

ANDROID A Workshop on Android Application Development Organized by Computer Science & Engg Dept Lingaya s University

Android Application Development Lecture Notes INDEX

Developing Google Android Mobile Clients for Web Services: a Case Study

Building an Android client. Rohit Nayak Talentica Software

Android Architecture. Alexandra Harrison & Jake Saxton

Running Android Applications on BlackBerry 10 developer.blackberry.com/android

Building cross-platform Modern Apps: the Design perspective. Amit Bahree, Senior Director,

Frameworks & Android. Programmeertechnieken, Tim Cocx

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

All About Android WHAT IS ANDROID?

Issues in Android on Mobile Platform and Their Resolution

341 - Bioinformatics Android Coursework

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

How to Create an Android Application using Eclipse on Windows 7

Hacking your Droid ADITYA GUPTA

SAP Mobile Platform Intro

Transcription:

Praktikum Entwicklung von Mediensystemen (Android) Wintersemester 2014/15 Daniel Buschek, Dr. Alexander De Luca, Raphael Kösters

Today Organization Android 101 Hands-On Assignment 01 October 9, 2014 PEM (Android) - WS 2014 /15 2

Organization Android! 6 ECTS Bachelor: Vertiefendes Thema Master: Gruppenpraktikum Thursday, 16-18h, Amalienstr. 17, A107 koestersr@cip.ifi.lmu.de http://www.medien.ifi.lmu.de/lehre/ws1415/pem/ Hand in assignments via Uniworx October 9, 2014 PEM (Android) - WS 2014 /15 3

Roadmap October: Lectures Individual assignments November, December, January: App development in teams Groups of 4 (tbc) 4 Milestone presentations (everyone is up once) January: Final presentation and showcase Next lectures: 16.10. and 30.10.2014 October 9, 2014 PEM (Android) - WS 2014 /15 4

ANDROID 101 October 9, 2014 PEM (Android) - WS 2014 /15 5

Android in a Nutshell AOSP (Android Open Source Project) maintaining code, open source Linux subsystem Specialized Java VM (Dalvik and ART) Currently version 4.4 (KitKat) Google adds additional services Google Play Store Google Apps (Mail, Chrome, Maps, ) October 9, 2014 PEM (Android) - WS 2014 /15 6

Lots of Cool Features Multiple sensors Accelerometer, gyroscope, magnetometer, Communication interfaces NFC, Bluetooth LE, Wifi, cellular GPS and cell location Cameras High definition displays Hardware keys and virtual controls October 9, 2014 PEM (Android) - WS 2014 /15 7

Programming Languages Mainly: Java (converted to Dalvik bytecode) Baseline 1.6, some features of 1.7+ Limited namespace from classic JDK Additional namespaces for new features Resources: XML Layouts Resource files (localizations, settings) NDK for native C/C++ programming October 9, 2014 PEM (Android) - WS 2014 /15 8

Limitations and Things to Consider System Resources Apps compete for the main display Could be paused/terminated at all time Can be interrupted by various events Phone call App switch Limited number of resources available October 9, 2014 PEM (Android) - WS 2014 /15 9

Limitations and Things to Consider Network Connectivity Changing network availability Flaky connectivity and unpredictable bandwidth Plan accordingly Keep the in/out data small Cache static data Network requests must be executed on separate threads (i.e. not on main thread) October 9, 2014 PEM (Android) - WS 2014 /15 10

Limitations and Things to Consider Device Fragmentation Multitude of different device configurations out in the wild Screen size and resolution Features and sensors No standard configuration that can be targeted Low adaptation rate of new Android versions (if available at all) October 9, 2014 PEM (Android) - WS 2014 /15 11

Version Distribution http://developer.android.com/about/dashboards/index.html October 9, 2014 PEM (Android) - WS 2014 /15 12

Developer Tools Android Developer Tools(Eclipse) October 9, 2014 PEM (Android) - WS 2014 /15 13

Developer Tools Android Studio (IntelliJ) October 9, 2014 PEM (Android) - WS 2014 /15 14

HANDS-ON October 9, 2014 PEM (Android) - WS 2014 /15 15

Developer Tools SDK and Emulator Emulator images for almost all Android versions Intel provides x86 images that vastly increase performance (install via SDK Manager) October 9, 2014 PEM (Android) - WS 2014 /15 16

Project Structure /src Source files within respective packages /res Resources, including layouts, image assets and localizations /libs Precompiled libraries (jars) used for the project /gen Auto-generated files (changes will be overwritten) October 9, 2014 PEM (Android) - WS 2014 /15 17

Anatomy of an Android App Manifest.xml General app settings App unique identifier (package) API version targets Contains available Activities and Services Lists required permissions Additional ways to define IntentFilter, BroadcastReceiver and Provider Can also be used specify hardware requirements October 9, 2014 PEM (Android) - WS 2014 /15 18

Anatomy of an Android App Activities & Services Activity is main UI element that is being displayed Normally takes up the entire screen Specific lifecycle for various states New Activities will be stacked on top Long running operations should be handled in a Service Different runtime behavior, running in background Multiple Activities can bind to one service October 9, 2014 PEM (Android) - WS 2014 /15 19

Anatomy of an Android App Layouts & Resources UI layouts are defined in special XML files All resources automatically have a unique id assigned which are used as a reference throughout the app Easy to adapt localization functionality Automatic resource selection based on device capabilities October 9, 2014 PEM (Android) - WS 2014 /15 20

ADDITIONAL INFORMATION October 9, 2014 PEM (Android) - WS 2014 /15 21

Assignment 01 Individual assignment Set up development environment First steps with Android Layouts, Widgets, Interaction, http Due next week (16.10.) Submission via Uniworx October 9, 2014 PEM (Android) - WS 2014 /15 22

Next Lecture Next lecture next week 16.10.2014 October 9, 2014 PEM (Android) - WS 2014 /15 23

Resources Android Developers http://developer.android.com/design http://developer.android.com/training http://developer.android.com/guide Google IO Session Recordings https://developers.google.com/events/io/2012 https://developers.google.com/events/io/2013 Google IO Schedule App https://code.google.com/p/iosched October 9, 2014 PEM (Android) - WS 2014 /15 24