Saindo da zona de conforto resolvi aprender Android! by Daniel Baccin

Size: px
Start display at page:

Download "Saindo da zona de conforto resolvi aprender Android! by Daniel Baccin"

Transcription

1 Saindo da zona de conforto resolvi aprender Android! by Daniel Baccin

2 Mas por que Android???

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18 Documentação excelente

19

20

21 Crescimento no número de apps

22 Fonte:

23 Versões

24

25

26

27 Material Design

28

29

30

31 Resolvi aprender android!

32

33 Rápido resultado

34

35 336!!!

36

37

38 Para tudo eu imagino um app

39 Primeiros desafios

40

41

42 Estrutura do Projeto Classes JAVA

43 Estrutura do Projeto Recursos

44 Estrutura do Projeto AndroidManifest

45 Estrutura do Projeto Gradle

46 Conceitos básicos Activity XML de Layout AndroidManifest Intent

47 Conceitos básicos Activity XML de Layout AndroidManifest Intent

48 Activity Comportamento public class FormularioActivity extends protected void oncreate(bundle bundle) super.oncreate(bundle); setcontentview(r.layout.formulario); // fazer coisas legais aqui } } {

49 Activity Comportamento public class FormularioActivity extends protected void oncreate(bundle bundle) super.oncreate(bundle); setcontentview(r.layout.formulario); // fazer coisas legais aqui } } {

50 <LinearLayout xmlns:android=" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> <ImageView android:layout_width="52px" android:layout_height="52px" <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:textsize="60px" </LinearLayout> XML de Layout Aparência

51 <LinearLayout xmlns:android=" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> <ImageView android:layout_width="52px" android:layout_height="52px" <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:textsize="60px" </LinearLayout> XML de Layout Aparência

52 <LinearLayout xmlns:android=" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> <ImageView android:layout_width="52px" android:layout_height="52px" <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:textsize="60px" </LinearLayout> XML de Layout Aparência

53 @Override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); Activity listadeparticipantes = (ListView) findviewbyid(r.id.listparticipantes); listadeparticipantes.setonitemclicklistener(this); FloatingActionButton fab = (FloatingActionButton) findviewbyid(r.id.fabaddparticipante); fab.attachtolistview(listadeparticipantes); actionbar = getsupportactionbar(); if(actionbar!=null){ actionbar.setbackgrounddrawable(new ColorDrawable(0xFFFF4500)); actionbar.settitle(r.string.lista_participantes); } }

54 @Override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); Activity listadeparticipantes = (ListView) findviewbyid(r.id.listparticipantes); listadeparticipantes.setonitemclicklistener(this); FloatingActionButton fab = (FloatingActionButton) findviewbyid(r.id.fabaddparticipante); fab.attachtolistview(listadeparticipantes); actionbar = getsupportactionbar(); if(actionbar!=null){ actionbar.setbackgrounddrawable(new ColorDrawable(0xFFFF4500)); actionbar.settitle(r.string.lista_participantes); } }

55 @Override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); Activity listadeparticipantes = (ListView) findviewbyid(r.id.listparticipantes); listadeparticipantes.setonitemclicklistener(this); FloatingActionButton fab = (FloatingActionButton) findviewbyid(r.id.fabaddparticipante); fab.attachtolistview(listadeparticipantes); actionbar = getsupportactionbar(); if(actionbar!=null){ actionbar.setbackgrounddrawable(new ColorDrawable(0xFFFF4500)); actionbar.settitle(r.string.lista_participantes); } }

56 @Override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); Activity listadeparticipantes = (ListView) findviewbyid(r.id.listparticipantes); listadeparticipantes.setonitemclicklistener(this); FloatingActionButton fab = (FloatingActionButton) findviewbyid(r.id.fabaddparticipante); fab.attachtolistview(listadeparticipantes); actionbar = getsupportactionbar(); if(actionbar!=null){ actionbar.setbackgrounddrawable(new ColorDrawable(0xFFFF4500)); actionbar.settitle(r.string.lista_participantes); } }

57 Activity

58 Activity

59 Activity

60 Activity

61 Activity

62 Activity

63

64

65

66 Conceitos básicos Activity XML de Layout AndroidManifest Intent

67 public void abrirformparticipante(view view){ Intent irparaformulario = new Intent(this, FormularioParticipanteActivity.class); startactivity(irparaformulario); } Intent

68 Conceitos básicos Activity XML de Layout AndroidManifest Intent

69 <manifest xmlns:android=" package="br.com.kenuiapps.palestra" > <application android:allowbackup="true" > <activity android:name=".activity.listaparticipantesactivity" <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name=".activity.formularioparticipanteactivity" </application> </manifest> AndroidManifest

70 <manifest xmlns:android=" package="br.com.kenuiapps.palestra" > <application android:allowbackup="true" > <activity android:name=".activity.listaparticipantesactivity" <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name=".activity.formularioparticipanteactivity" </application> </manifest> AndroidManifest

71 Mais conceitos... Adapter SQLite DAO Test

72 Mais conceitos... Adapter SQLite DAO Test

73 @Override protected void onresume() { super.onresume(); List<Participante> participantes = obtemlistadobanco(); ListaParticipantesAdapter adapter = new ListaParticipantesAdapter(this, participantes); listviewdeparticipantes.setadapter(adapter); } Adapter

74 public class ListaParticipantesAdapter extends BaseAdapter { private Activity activity; private List<Participante> participantes; public ListaParticipantesAdapter(Activity activity, List<Participante> participantes) { this.activity = activity; this.participantes = participantes; }... } Adapter

75 public class ListaParticipantesAdapter extends BaseAdapter { private Activity activity; private List<Participante> participantes; public ListaParticipantesAdapter(Activity activity, List<Participante> participantes) { this.activity = activity; this.participantes = participantes; }... } Adapter

76 @Override public View getview(int position, View convertview, ViewGroup parent) { View linha = activity.getlayoutinflater().inflate(r.layout.lista_participantes, null); Participante participante = participantes.get(position); TextView textviewnome = (TextView) linha.findviewbyid(r.id.lista_nome); textviewnome.settext(participante.getnome());... } Adapter

77 @Override public View getview(int position, View convertview, ViewGroup parent) { View linha = activity.getlayoutinflater().inflate(r.layout.lista_participantes, null); Participante participante = participantes.get(position); TextView textviewnome = (TextView) linha.findviewbyid(r.id.lista_nome); textviewnome.settext(participante.getnome());... } Adapter textviewnome

78 Mais conceitos... Adapter SQLite DAO Test

79 public class DataBaseHelper extends SQLiteOpenHelper { public static final String BANCO_DADOS = "Palestra"; private static int VERSAO = 1; public DataBaseHelper(Context context) { super(context, BANCO_DADOS, null, VERSAO); } SQLite

80 @Override public void oncreate(sqlitedatabase db) { db.execsql("create TABLE participante"+ " ( _id INTEGER PRIMARY KEY," + " nome TEXT," + " telefone TEXT," + " TEXT," + " presente INTEGER, " + " tamanhoblusa INTEGER" + " );" ); } SQLite

81 @Override public void onupgrade(sqlitedatabase db, int oldversion, int newversion) { String dll = "DROP TABLE IF EXISTS participante"; db.execsql(dll); this.oncreate(db); } SQLite

82 Mais conceitos... Adapter SQLite DAO Test

83 public class ParticipanteDAO{ private DataBaseHelper helper; private SQLiteDatabase db; public PalestraDAO(Context context){ helper = new DataBaseHelper(context); } public SQLiteDatabase getdb() { if (db == null) { db = helper.getwritabledatabase(); } return db; } DAO

84 public class ParticipanteDAO{ private DataBaseHelper helper; private SQLiteDatabase db; public PalestraDAO(Context context){ helper = new DataBaseHelper(context); } public SQLiteDatabase getdb() { if (db == null) { db = helper.getwritabledatabase(); } return db; } DAO

85 public class ParticipanteDAO{... public long salva(participante participante) { ContentValues values = participante.getcontentvalues(); return getdb().insert(databasehelper.participante.tabela, null, values); }... DAO

86 public ContentValues getcontentvalues() { ContentValues values = new ContentValues(); values.put(databasehelper.participante.id, getid()); values.put(databasehelper.participante.nome, getnome());... return values; } DAO

87 Mais conceitos... Adapter SQLite DAO Test

88 public class ParticipanteDAOTest extends AndroidTestCase { public void testinsertdb() { ParticipanteDAO dao = new ParticipanteDAO(mContext); long qtddelinhasinseridas = dao.salva(dadoumparticipante()); asserttrue(qtddelinhasinseridas>0); } } Test

89 public class ParticipanteDAOTest extends AndroidTestCase { public void testinsertdb() { ParticipanteDAO dao = new ParticipanteDAO(mContext); long qtddelinhasinseridas = dao.salva(dadoumparticipante()); asserttrue(qtddelinhasinseridas>0); } } Test

90 Novidades Google I/O 2015

91 Internet das coisas

92

93 Tecido sensivel ao toque

94 Android Pay

95 Android Development Tools

96 Android Development Tools

97 Futuro???

98 Onde buscar o conhecimento? Getting Started Google+ & Udacity Alura Comunidades no Google+ Grupos Google Java CE Stack overflow

99 Referências

100 Go Developers!!!

Android Introduction. Hello World. @2010 Mihail L. Sichitiu 1

Android Introduction. Hello World. @2010 Mihail L. Sichitiu 1 Android Introduction Hello World @2010 Mihail L. Sichitiu 1 Goal Create a very simple application Run it on a real device Run it on the emulator Examine its structure @2010 Mihail L. Sichitiu 2 Google

More information

Creating a List UI with Android. Michele Schimd - 2013

Creating a List UI with Android. Michele Schimd - 2013 Creating a List UI with Android Michele Schimd - 2013 ListActivity Direct subclass of Activity By default a ListView instance is already created and rendered as the layout of the activity mylistactivit.getlistview();

More information

Android App Development. Rameel Sethi

Android App Development. Rameel Sethi Android App Development Rameel Sethi Relevance of Android App to LFEV Would be useful for technician at Formula EV race course to monitor vehicle conditions on cellphone Can serve as useful demo of LFEV

More information

MAP524/DPS924 MOBILE APP DEVELOPMENT (ANDROID) MIDTERM TEST OCTOBER 2013 STUDENT NAME STUDENT NUMBER

MAP524/DPS924 MOBILE APP DEVELOPMENT (ANDROID) MIDTERM TEST OCTOBER 2013 STUDENT NAME STUDENT NUMBER MAP524/DPS924 MOBILE APP DEVELOPMENT (ANDROID) MIDTERM TEST OCTOBER 2013 STUDENT NAME STUDENT NUMBER Please answer all questions on the question sheet This is an open book/notes test. You are allowed to

More information

Developing an Android App. CSC207 Fall 2014

Developing an Android App. CSC207 Fall 2014 Developing an Android App CSC207 Fall 2014 Overview Android is a mobile operating system first released in 2008. Currently developed by Google and the Open Handset Alliance. The OHA is a consortium of

More information

Tutorial #1. Android Application Development Advanced Hello World App

Tutorial #1. Android Application Development Advanced Hello World App Tutorial #1 Android Application Development Advanced Hello World App 1. Create a new Android Project 1. Open Eclipse 2. Click the menu File -> New -> Other. 3. Expand the Android folder and select Android

More information

Developing Android Apps: Part 1

Developing Android Apps: Part 1 : Part 1 d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems

More information

Mobile Application Development

Mobile Application Development Mobile Application Development (Android & ios) Tutorial Emirates Skills 2015 3/26/2015 1 What is Android? An open source Linux-based operating system intended for mobile computing platforms Includes a

More information

Android For Java Developers. Marko Gargenta Marakana

Android For Java Developers. Marko Gargenta Marakana Android For Java Developers Marko Gargenta Marakana Agenda Android History Android and Java Android SDK Hello World! Main Building Blocks Debugging Summary History 2005 Google buys Android, Inc. Work on

More information

Software Environments of Smartphone Applications

Software Environments of Smartphone Applications Software Environments of Smartphone Applications Exercise/Practice Professur Schaltkreisund Systementwurf www.tu-chemnitz.de 1 Introduction The course Software Environments of Smartphone Applications (SESA)

More information

Android Bootcamp. Elaborado (com adaptações) a partir dos tutoriais:

Android Bootcamp. Elaborado (com adaptações) a partir dos tutoriais: Android Bootcamp Elaborado (com adaptações) a partir dos tutoriais: http://developer.android.com/resources/tutorials/hello-world.html http://developer.android.com/resources/tutorials/views/index.html Bootcamp

More information

ANDROID AS A PLATFORM FOR DATABASE APPLICATION DEVELOPMENT

ANDROID AS A PLATFORM FOR DATABASE APPLICATION DEVELOPMENT Bachelor s Thesis (TUAS) Degree Program: Information Technology Specialization: Internet Technology 2013 Joseph Muli ANDROID AS A PLATFORM FOR DATABASE APPLICATION DEVELOPMENT CASE: WINHA MOBILE 1 BACHELOR

More information

Android app development course

Android app development course Android app development course Unit 8- + Beyond the SDK. Google Play Store. Monetization 1 Google Play Google offers Play Store as a distribution platform for our applications. Present on all Android-powered

More information

Report and Opinion 2014;6(7) http://www.sciencepub.net/report. Technical Specification for Creating Apps in Android. Kauser Hameed, Manal Elobaid

Report and Opinion 2014;6(7) http://www.sciencepub.net/report. Technical Specification for Creating Apps in Android. Kauser Hameed, Manal Elobaid Technical Specification for Creating Apps in Android Kauser Hameed, Manal Elobaid Department of Computer Science, CCSIT, King Faisal University, Hofuf, KSA manalobaid@yahoo.com Abstract: As it has been

More information

Hello World! Some code

Hello World! Some code Embedded Systems Programming Hello World! Lecture 10 Verónica Gaspes www2.hh.se/staff/vero What could an Android hello world application be like? Center for Research on Embedded Systems School of Information

More information

Building Your First App

Building Your First App uilding Your First App Android Developers http://developer.android.com/training/basics/firstapp/inde... Building Your First App Welcome to Android application development! This class teaches you how to

More information

Presenting Android Development in the CS Curriculum

Presenting Android Development in the CS Curriculum Presenting Android Development in the CS Curriculum Mao Zheng Hao Fan Department of Computer Science International School of Software University of Wisconsin-La Crosse Wuhan University La Crosse WI, 54601

More information

Android-Entwicklung. Michael secure Stapelberg

Android-Entwicklung. Michael secure Stapelberg Android-Entwicklung Michael secure Stapelberg Folien Disclaimer Überblick 1 Die Android-Plattform 2 Entwicklungsumgebung 3 4 Grundlagen Layout, Activity, Manifest, Listener, Intents Framework Adapter,

More information

SDK Quick Start Guide

SDK Quick Start Guide SDK Quick Start Guide Table of Contents Requirements...3 Project Setup...3 Using the Low Level API...9 SCCoreFacade...9 SCEventListenerFacade...10 Examples...10 Call functionality...10 Messaging functionality...10

More information

Android Development. Marc Mc Loughlin

Android Development. Marc Mc Loughlin Android Development Marc Mc Loughlin Android Development Android Developer Website:h:p://developer.android.com/ Dev Guide Reference Resources Video / Blog SeCng up the SDK h:p://developer.android.com/sdk/

More information

Create Your Own Android App Tools Using ArcGIS Runtime SDK for Android

Create Your Own Android App Tools Using ArcGIS Runtime SDK for Android Create Your Own Android App Tools Using ArcGIS Runtime SDK for Android Dan O Neill & Xueming Wu Esri UC 2014 Demo Theater Introductions What we do - Redlands Xueming Wu - https://github.com/xuemingrock

More information

Intro to Android Development 2. Accessibility Capstone Nov 23, 2010

Intro to Android Development 2. Accessibility Capstone Nov 23, 2010 Intro to Android Development 2 Accessibility Capstone Nov 23, 2010 Outline for Today Application components Activities Intents Manifest file Visual user interface Creating a user interface Resources TextToSpeech

More information

Tutorial: Setup for Android Development

Tutorial: Setup for Android Development Tutorial: Setup for Android Development Adam C. Champion CSE 5236: Mobile Application Development Autumn 2015 Based on material from C. Horstmann [1], J. Bloch [2], C. Collins et al. [4], M.L. Sichitiu

More information

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

Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作 Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作 Android Application Development 賴 槿 峰 (Chin-Feng Lai) Assistant Professor, institute of CSIE, National Ilan University Nov. 10 th 2011 2011 MMN Lab. All Rights Reserved

More information

CS 696 Mobile Phone Application Development Fall Semester, 2009 Doc 9 Location & Maps Sept 29, 2009

CS 696 Mobile Phone Application Development Fall Semester, 2009 Doc 9 Location & Maps Sept 29, 2009 CS 696 Mobile Phone Application Development Fall Semester, 2009 Doc 9 Location & Maps Sept 29, 2009 Copyright, All rights reserved. 2009 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700

More information

ADITION Android Ad SDK Integration Guide for App Developers

ADITION Android Ad SDK Integration Guide for App Developers Documentation Version 0.5 ADITION Android Ad SDK Integration Guide for App Developers SDK Version 1 as of 2013 01 04 Copyright 2012 ADITION technologies AG. All rights reserved. 1/7 Table of Contents 1.

More information

Introduction to Android Development. Daniel Rodrigues, Buuna 2014

Introduction to Android Development. Daniel Rodrigues, Buuna 2014 Introduction to Android Development Daniel Rodrigues, Buuna 2014 Contents 1. Android OS 2. Development Tools 3. Development Overview 4. A Simple Activity with Layout 5. Some Pitfalls to Avoid 6. Useful

More information

Android for Java Developers OSCON 2010. Marko Gargenta Marakana

Android for Java Developers OSCON 2010. Marko Gargenta Marakana Android for Java Developers OSCON 2010 Marko Gargenta Marakana About Marko Gargenta Developed Android Bootcamp for Marakana. Trained over 1,000 developers on Android. Clients include Qualcomm, Sony-Ericsson,

More information

By sending messages into a queue, we can time these messages to exit the cue and call specific functions.

By sending messages into a queue, we can time these messages to exit the cue and call specific functions. Mobile App Tutorial Deploying a Handler and Runnable for Timed Events Creating a Counter Description: Given that Android Java is event driven, any action or function call within an Activity Class must

More information

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 2 Android Platform. Marco Picone - 2012

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 2 Android Platform. Marco Picone - 2012 Android Development Lecture 2 Android Platform Università Degli Studi di Parma Lecture Summary 2 The Android Platform Dalvik Virtual Machine Application Sandbox Security and Permissions Traditional Programming

More information

MMI 2: Mobile Human- Computer Interaction Android

MMI 2: Mobile Human- Computer Interaction Android MMI 2: Mobile Human- Computer Interaction Android Prof. Dr. michael.rohs@ifi.lmu.de Mobile Interaction Lab, LMU München Android Software Stack Applications Java SDK Activities Views Resources Animation

More information

Android Application Development. Yevheniy Dzezhyts

Android Application Development. Yevheniy Dzezhyts Android Application Development Yevheniy Dzezhyts Thesis Business Information Technology 2013 Author Yevheniy Dzezhyts Title of thesis Android application development Year of entry 2007 Number of report

More information

ELET4133: Embedded Systems. Topic 15 Sensors

ELET4133: Embedded Systems. Topic 15 Sensors ELET4133: Embedded Systems Topic 15 Sensors Agenda What is a sensor? Different types of sensors Detecting sensors Example application of the accelerometer 2 What is a sensor? Piece of hardware that collects

More information

TUTORIALS AND QUIZ ANDROID APPLICATION SANDEEP REDDY PAKKER. B. Tech in Aurora's Engineering College, 2013 A REPORT

TUTORIALS AND QUIZ ANDROID APPLICATION SANDEEP REDDY PAKKER. B. Tech in Aurora's Engineering College, 2013 A REPORT TUTORIALS AND QUIZ ANDROID APPLICATION by SANDEEP REDDY PAKKER B. Tech in Aurora's Engineering College, 2013 A REPORT submitted in partial fulfillment of the requirements for the degree MASTER OF SCIENCE

More information

Android Basics. Xin Yang 2016-05-06

Android Basics. Xin Yang 2016-05-06 Android Basics Xin Yang 2016-05-06 1 Outline of Lectures Lecture 1 (45mins) Android Basics Programming environment Components of an Android app Activity, lifecycle, intent Android anatomy Lecture 2 (45mins)

More information

Android. Learning Android Marko Gargenta. Tuesday, March 11, 14

Android. Learning Android Marko Gargenta. Tuesday, March 11, 14 Android Learning Android Marko Gargenta Materials Sams Teach Yourself Android Application Development in 24 Hours (Amazon) Android Apps for Absolute Beginners (Amazon) Android Development Tutorial (http://

More information

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

directory to d:\myproject\android. Hereafter, I shall denote the android installed directory as 1 of 6 2011-03-01 12:16 AM yet another insignificant programming notes... HOME Android SDK 2.2 How to Install and Get Started Introduction Android is a mobile operating system developed by Google, which

More information

Android Services. Services

Android Services. Services Android Notes are based on: Android Developers http://developer.android.com/index.html 22. Android Android A Service is an application component that runs in the background, not interacting with the user,

More information

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

Android Development Tutorial. Human-Computer Interaction II (COMP 4020) Winter 2013 Android Development Tutorial Human-Computer Interaction II (COMP 4020) Winter 2013 Mobile OS Symbian ios BlackBerry Window Phone Android. World-Wide Smartphone Sales (Thousands of Units) Android Phones

More information

Chapter 2 Getting Started

Chapter 2 Getting Started Welcome to Android Chapter 2 Getting Started Android SDK contains: API Libraries Developer Tools Documentation Sample Code Best development environment is Eclipse with the Android Developer Tool (ADT)

More information

Les fragments. Programmation Mobile Android Master CCI. Une application avec deux fragments. Premier layout : le formulaire

Les fragments. Programmation Mobile Android Master CCI. Une application avec deux fragments. Premier layout : le formulaire Programmation Mobile Android Master CCI Bertrand Estellon Aix-Marseille Université March 23, 2015 Bertrand Estellon (AMU) Android Master CCI March 23, 2015 1 / 266 Les fragments Un fragment : représente

More information

Developing Android Applications: Case Study of Course Design

Developing Android Applications: Case Study of Course Design Accepted and presented at the: The 10th International Conference on Education and Information Systems, Technologies and Applications: EISTA 2012 July 17-20, 2012 Orlando, Florida, USA Developing Android

More information

Localization and Resources

Localization and Resources 2012 Marty Hall Localization and Resources Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/

More information

Android Development Tutorial

Android Development Tutorial 3.2k Android Development Tutorial Free tutorial, donate to support Based on Android 4.2 Lars Vogel Version 11.2 Copyright 2009, 2010, 2011, 2012, 2013 Lars Vogel 20.01.2013 Revision History by Lars Vogel

More information

AdFalcon Android SDK 2.1.4 Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group

AdFalcon Android SDK 2.1.4 Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group AdFalcon Android SDK 214 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction 3 Supported Android version 3 2 Project Configurations 4 Step

More information

2. Installieren des MySQL Workbench (Version 5.2.43) 3. Unter Database > Manage Connection folgende Werte eintragen

2. Installieren des MySQL Workbench (Version 5.2.43) 3. Unter Database > Manage Connection folgende Werte eintragen 1. Setup 1. Mit dieser Anleitung (http://www.unimarburg.de/fb12/sys/services/svc_more_html#svc_sql) eine Datenbank einrichten. 2. Installieren des MySQL Workbench (Version 5.2.43) 3. Unter Database > Manage

More information

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

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER DISCLAIMER: Main focus should be on USER INTERFACE DESIGN Development and implementation: Weeks 8-11 Begin thinking about targeted

More information

Create Android apps that stand out from the crowd. Android. Best Practices. Godfrey Nolan Onur Cinar David Truxall

Create Android apps that stand out from the crowd. Android. Best Practices. Godfrey Nolan Onur Cinar David Truxall Create Android apps that stand out from the crowd Android Best Practices Godfrey Nolan Onur Cinar David Truxall Download from BookDL (http://bookdl.com) For your convenience Apress has placed some of the

More information

Les Broadcast Receivers...

Les Broadcast Receivers... Les Broadcast Receivers... http://developer.android.com/reference/android/content/broadcastreceiver.html Mécanisme qui, une fois «enregistré» dans le système, peut recevoir des Intents Christophe Logé

More information

Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development.

Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development. Android Development 101 Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development. Activity In Android, each application (and perhaps each screen

More information

Persistent data storage

Persistent data storage Mobila tjänster och trådlösa nät HT 2013 HI1033 Lecturer: Anders Lindström, anders.lindstrom@sth.kth.se Lecture 6 Today s topics Files Android Databases SQLite Content Providers Persistent data storage

More information

Android Persistency: Files

Android Persistency: Files 15 Android Persistency: Files Notes are based on: The Busy Coder's Guide to Android Development by Mark L. Murphy Copyright 2008-2009 CommonsWare, LLC. ISBN: 978-0-9816780-0-9 & Android Developers http://developer.android.com/index.html

More information

App Development for Android. Prabhaker Matet

App Development for Android. Prabhaker Matet App Development for Android Prabhaker Matet Development Tools (Android) Java Java is the same. But, not all libs are included. Unused: Swing, AWT, SWT, lcdui Eclipse www.eclipse.org/ ADT Plugin for Eclipse

More information

Mobile Application Frameworks and Services

Mobile Application Frameworks and Services Mobile Application Frameworks and Services Lecture: Programming Basics Dr. Panayiotis Alefragis Professor of Applications Masters Science Program: Technologies and Infrastructures for Broadband Applications

More information

Basics. Bruce Crawford Global Solutions Manager

Basics. Bruce Crawford Global Solutions Manager Android Development Basics Bruce Crawford Global Solutions Manager Android Development Environment Setup Agenda Install Java JDK Install Android SDK Add Android SDK packages with Android SDK manager Install

More information

Gauthier Picard. Ecole Nationale Supérieure des Mines

Gauthier Picard. Ecole Nationale Supérieure des Mines Android Programming Gauthier Picard Ecole Nationale Supérieure des Mines 2015 This presentation is based on Jean-Paul Jamont s one (Université Pierre Mendès France, IUT de Valence) Master WI Android Programming

More information

AN11367. How to build a NFC Application on Android. Application note COMPANY PUBLIC. Rev. 1.1 16 September 2015 270211. Document information

AN11367. How to build a NFC Application on Android. Application note COMPANY PUBLIC. Rev. 1.1 16 September 2015 270211. Document information Document information Info Content Keywords, android Abstract This application note is related to the implementation procedures of Android applications handling NFC data transfer with the RC663 Blueboard

More information

Based on Android 4.0. by Lars Vogel. Version 9.8. Copyright 2009, 2010, 2011, 2012 Lars Vogel. 20.02.2012 Home Tutorials Trainings Books Social

Based on Android 4.0. by Lars Vogel. Version 9.8. Copyright 2009, 2010, 2011, 2012 Lars Vogel. 20.02.2012 Home Tutorials Trainings Books Social Android Development Tutorial Tutorial 2.6k Based on Android 4.0 Lars Vogel Version 9.8 by Lars Vogel Copyright 2009, 2010, 2011, 2012 Lars Vogel 20.02.2012 Home Tutorials Trainings Books Social Revision

More information

Android Development for External Displays: A Busy Coder's Guide

Android Development for External Displays: A Busy Coder's Guide Android Development for External Displays: A Busy Coder's Guide by Mark L. Murphy Android Development for External Displays: A Busy Coder's Guide by Mark L. Murphy Copyright 2008-2014 CommonsWare, LLC.

More information

4. The Android System

4. The Android System 4. The Android System 4. The Android System System-on-Chip Emulator Overview of the Android System Stack Anatomy of an Android Application 73 / 303 4. The Android System Help Yourself Android Java Development

More information

PROGRAMMING IN ANDROID. IOANNIS (JOHN) PAPAVASILEIOU OCTOBER 24 2013 papabasile@engr.uconn.edu

PROGRAMMING IN ANDROID. IOANNIS (JOHN) PAPAVASILEIOU OCTOBER 24 2013 papabasile@engr.uconn.edu PROGRAMMING IN ANDROID IOANNIS (JOHN) PAPAVASILEIOU OCTOBER 24 2013 papabasile@engr.uconn.edu WHAT IS IT Software platform Operating system Key apps Developers: Google Open Handset Alliance Open Source

More information

Android Programming Basics

Android Programming Basics 2012 Marty Hall Android Programming Basics Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/

More information

Projet Android (LI260) Cours 4

Projet Android (LI260) Cours 4 Projet Android (LI260) Cours 4 Nicolas Baskiotis Université Pierre et Marie Curie (UPMC) Laboratoire d Informatique de Paris 6 (LIP6) S2-2013/2014 Résumé sur le multi-thread Service : facile opérations

More information

ANDROID TUTORIAL. Simply Easy Learning by tutorialspoint.com. tutorialspoint.com

ANDROID TUTORIAL. Simply Easy Learning by tutorialspoint.com. tutorialspoint.com Android Tutorial ANDROID TUTORIAL by tutorialspoint.com tutorialspoint.com i ABOUT THE TUTORIAL Android Tutorial Android is an open source and Linux-based operating system for mobile devices such as smartphones

More information

Android Application Development

Android Application Development Android Application Development Self Study Self Study Guide Content: Course Prerequisite Course Content Android SDK Lab Installation Guide Start Training Be Certified Exam sample Course Prerequisite The

More information

The Android winds of change. From Kit-Kat to L, and the power of saving power

The Android winds of change. From Kit-Kat to L, and the power of saving power The Android winds of change From Kit-Kat to L, and the power of saving power Why are you here? Info on the new IDE, and setting up projects! Want to know the changes L brings to your Kit-Kat apps! How

More information

Getting Started With Android

Getting Started With Android Getting Started With Android Author: Matthew Davis Date: 07/25/2010 Environment: Ubuntu 10.04 Lucid Lynx Eclipse 3.5.2 Android Development Tools(ADT) 0.9.7 HTC Incredible (Android 2.1) Preface This guide

More information

Exemplo 12 usa fragmentos de acordo com a orientação da tela (landscape ou portrait)

Exemplo 12 usa fragmentos de acordo com a orientação da tela (landscape ou portrait) Exemplo 12 usa fragmentos de acordo com a orientação da tela (landscape ou portrait) 1)MainActivity.java package com.example.exemplo12; import android.app.activity; import android.app.fragmentmanager;

More information

Introduction to Android SDK Jordi Linares

Introduction to Android SDK Jordi Linares Introduction to Android SDK Introduction to Android SDK http://www.android.com Introduction to Android SDK Google -> OHA (Open Handset Alliance) The first truly open and comprehensive platform for mobile

More information

Performance - Optimierung. mit und ohne Android Developer Tools. Dominik Helleberg

Performance - Optimierung. mit und ohne Android Developer Tools. Dominik Helleberg Performance - Optimierung mit und ohne Android Developer Tools Dominik Helleberg Köln - 25.09.2014 Performance Analysieren Verstehen Fixen 2 Performance-Probleme... Netzwerk / Cache 3 Performance-Probleme...

More information

Woubshet Behutiye ANDROID ECG APPLICATION DEVELOPMENT

Woubshet Behutiye ANDROID ECG APPLICATION DEVELOPMENT Woubshet Behutiye ANDROID ECG APPLICATION DEVELOPMENT ANDROID ECG APPLICATION DEVELOPMENT Woubshet Behutiye Bachelor s Thesis Spring 2012 Business Information Technology Oulu University of Applied Sciences

More information

Arduino & Android. A How to on interfacing these two devices. Bryant Tram

Arduino & Android. A How to on interfacing these two devices. Bryant Tram Arduino & Android A How to on interfacing these two devices Bryant Tram Contents 1 Overview... 2 2 Other Readings... 2 1. Android Debug Bridge -... 2 2. MicroBridge... 2 3. YouTube tutorial video series

More information

Android Java Live and In Action

Android Java Live and In Action Android Java Live and In Action Norman McEntire Founder, Servin Corp UCSD Extension Instructor norman.mcentire@servin.com Copyright (c) 2013 Servin Corp 1 Opening Remarks Welcome! Thank you! My promise

More information

Boardies IT Solutions info@boardiesitsolutions.com Tel: 01273 252487

Boardies IT Solutions info@boardiesitsolutions.com Tel: 01273 252487 Navigation Drawer Manager Library H ow to implement Navigation Drawer Manager Library into your A ndroid Applications Boardies IT Solutions info@boardiesitsolutions.com Tel: 01273 252487 Contents Version

More information

B.M. Harwani. Android Programming UNLEASHED. 800 East 96th Street, Indianapolis, Indiana 46240 USA

B.M. Harwani. Android Programming UNLEASHED. 800 East 96th Street, Indianapolis, Indiana 46240 USA B.M. Harwani Android Programming UNLEASHED 800 East 96th Street, Indianapolis, Indiana 46240 USA Android Programming Unleashed Copyright 2013 by Pearson Education, Inc. All rights reserved. No part of

More information

Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources. Recap: TinyOS. Recap: J2ME Framework

Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources. Recap: TinyOS. Recap: J2ME Framework Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources Homework 2 questions 10/9/2012 Y. Richard Yang 1 2 Recap: TinyOS Hardware components motivated design

More information

Getting started with Android and App Engine

Getting started with Android and App Engine Getting started with Android and App Engine About us Tim Roes Software Developer (Mobile/Web Solutions) at inovex GmbH www.timroes.de www.timroes.de/+ About us Daniel Bälz Student/Android Developer at

More information

Location-Based Services Design and Implementation Using Android Platforms

Location-Based Services Design and Implementation Using Android Platforms Location-Based Services Design and Implementation Using Android Platforms Wen-Chen Hu Department of Computer Science University of North Dakota Grand Forks, ND 58202 wenchen@cs.und.edu Hung-Jen Yang Department

More information

Getting Started: Creating a Simple App

Getting Started: Creating a Simple App Getting Started: Creating a Simple App What You will Learn: Setting up your development environment Creating a simple app Personalizing your app Running your app on an emulator The goal of this hour is

More information

Google s Android: An Overview

Google s Android: An Overview Google s Android: An Overview Yoni Rabkin yonirabkin@member.fsf.org This work is licensed under the Creative Commons Attribution 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/.

More information

Android app development course

Android app development course Android app development course Unit 5- + Enabling inter-app communication. BroadcastReceivers, ContentProviders. App Widgets 1 But first... just a bit more of Intents! Up to now we have been working with

More information

How to develop your own app

How to develop your own app How to develop your own app It s important that everything on the hardware side and also on the software side of our Android-to-serial converter should be as simple as possible. We have the advantage that

More information

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

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Who am I? Lo Chi Wing, Peter Lecture 1: Introduction to Android Development Email: Peter@Peter-Lo.com Facebook: http://www.facebook.com/peterlo111

More information

Wireless Systems Lab. First Lesson. Wireless Systems Lab - 2014

Wireless Systems Lab. First Lesson. Wireless Systems Lab - 2014 Wireless Systems Lab First Lesson About this course Internet of Things Android and sensors Mobile sensing Indoor localization Activity recognition others.. Exercises Projects :) Internet of Things Well-known

More information

Android Application Development Course Program

Android Application Development Course Program Android Application Development Course Program Part I Introduction to Programming 1. Introduction to programming. Compilers, interpreters, virtual machines. Primitive data types, variables, basic operators,

More information

Operating System Support for Inter-Application Monitoring in Android

Operating System Support for Inter-Application Monitoring in Android Operating System Support for Inter-Application Monitoring in Android Daniel M. Jackowitz Spring 2013 Submitted in partial fulfillment of the requirements of the Master of Science in Software Engineering

More information

Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation

Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation Author: Aron NEAGU Professor: Martin TIMMERMAN Table of contents 1. Introduction.2 2. Android

More information

HERE SDK for Android. Developer's Guide. Online Version 2.1

HERE SDK for Android. Developer's Guide. Online Version 2.1 HERE SDK for Android Developer's Guide Online Version 2.1 Contents 2 Contents Legal Notices.4 Document Information 5 Service Support. 6 Chapter1:Overview 7 What is the HERE SDK for Android?..8 Feature

More information

Building an Android client. Rohit Nayak Talentica Software

Building an Android client. Rohit Nayak Talentica Software Building an Android client Rohit Nayak Talentica Software Agenda iphone and the Mobile App Explosion How mobile apps differ Android philosophy Development Platform Core Android Concepts App Demo App Dissection

More information

Android. Lecture 1. Learning Android Marko Gargenta. Friday, March 22, 13

Android. Lecture 1. Learning Android Marko Gargenta. Friday, March 22, 13 Android Lecture 1 Learning Android Marko Gargenta Final Project Jan/Feb: ARM March: Android Apr: Final project Complexity Sense the world Analysis Service delivery Hands-on A fun project built-up through

More information

A software stack for mobile devices:

A software stack for mobile devices: Programming Mobile Applications for Android Handheld Systems - Week 1 1 - Introduction Today I am going to introduce you to the Android platform. I'll start by giving you an overview of the Android platform,

More information

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Why Android? ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Dr Dimitris C. Dracopoulos A truly open, free development platform based on Linux and open source A component-based

More information

Xamarin Android Application Development

Xamarin Android Application Development Xamarin Android Application Development Diptimaya Patra This book is for sale at http://leanpub.com/xamarin-android-app-dev This version was published on 2014-03-16 This is a Leanpub book. Leanpub empowers

More information

Android Programming. An Introduction. The Android Community and David Read. For the CDJDN April 21, 2011

Android Programming. An Introduction. The Android Community and David Read. For the CDJDN April 21, 2011 Android Programming An Introduction The Android Community and David Read For the CDJDN April 21, 2011 1 My Journey? 25 years IT programming and design FORTRAN->C->C++->Java->C#->Ruby Unix->VMS->DOS->Windows->Linux

More information

PROJECT REPORT. Android Application

PROJECT REPORT. Android Application Matthias MELLOULI PROJECT REPORT Android Application Sendai college supervisor : Mr Takatoshi SUENAGA IUT A supervisor : Mr Patrick Lebegue Sendai national college of technology, from 30th of march to

More information

Android Programming: 2D Drawing Part 1: Using ondraw

Android Programming: 2D Drawing Part 1: Using ondraw 2012 Marty Hall Android Programming: 2D Drawing Part 1: Using ondraw Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/

More information

Android app development course

Android app development course Android app development course Unit 6- + Location Based Services. Geo-positioning. Google Maps API, Geocoding 1 Location Based Services LBS is a concept that encompasses different technologies which offer

More information

@ME (About) Marcelo Cyreno. Skype: marcelocyreno Linkedin: marcelocyreno Mail: marcelocyreno@gmail.com

@ME (About) Marcelo Cyreno. Skype: marcelocyreno Linkedin: marcelocyreno Mail: marcelocyreno@gmail.com Introduction @ME (About) Marcelo Cyreno Skype: marcelocyreno Linkedin: marcelocyreno Mail: marcelocyreno@gmail.com Android - Highlights Open Source Linux Based Developed by Google / Open Handset Alliance

More information

ITG Software Engineering

ITG Software Engineering Basic Android Development Course ID: Page 1 Last Updated 12/15/2014 Basic Android Development ITG Software Engineering Course Overview: This 5 day course gives students the fundamental basics of Android

More information