Android Development. Mikko Ahonen Skype: mikko.emicode

Size: px
Start display at page:

Download "Android Development. Mikko Ahonen Skype: mikko.emicode"

Transcription

1 Android Development Mikko Ahonen Skype: mikko.emicode

2 Fragments Example Examples developer site:

3 Create new project Project Name and Application Name: FragmentExample Package: com.example.fragmentexample Targets: Api16 and min: API8 Activity Name: MainActivity Layout Name: news_articles Title: MainActivity

4 Create new xml file in res/layout folder called article_view.xml Create new folder in res folder called layout-large This is folder for large screen devices Android automatically check this folder before normal layout folder Copy news_articles.xml in layoutlarge folder Layout-large folder will contain one layout with two fragments inside. Layout folder will contain two fragments in separate folder Example

5 Edit article_view.xml to show textview <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android=" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="16dp" android:textsize="18sp" />

6 Change MainActivity to extend as FragmentActivity Import android.support.v4.app.fragmentactivity; This class can now handles fragments and is working as Activity Create class ArticleFragment that extends Fragment This is our Fragment class, that handles our article public View oncreateview(layoutinflater inflater, ViewGroup container, Bundle savedinstancestate) { // Inflate the layout for this fragment return inflater.inflate(r.layout.article_view, container, false);

7 Now edit news_articles we copied in layout-large folder Now we create two fragments side by side Important is to name fragments : your.package.name.fragment name Fragment name in package is same as java file for the fragment We also greate fragment view for articles See next page

8 <LinearLayout xmlns:android=" android:layout_width="fill_parent" android:layout_height="fill_parent" > <fragment android:name="com.example.fragmentexample.headlinesfragment" android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent" /> <fragment android:name="com.example.fragmentexample.articlefragment" android:layout_weight="2" android:layout_width="0dp" android:layout_height="match_parent" /> </LinearLayout>

9 Now edit news_articles.xml in layout folder: This layout is used when screen is not large XML file <FrameLayout xmlns:android=" res/android" android:layout_width="match_parent" android:layout_height="match_parent" /> Now we have frame layout for smaller views If you run your app now, it should compile without errors

10 Now we make our code (MainActivity.java) to use FrameLayout Add in oncreatemethod() (Don't worry about errors right now): if (findviewbyid(r.id.fragment_container)!= null) { if (savedinstancestate!= null) { return; HeadlinesFragment firstfragment = new HeadlinesFragment(); firstfragment.setarguments(getintent().getextras()); getsupportfragmentmanager().begintransaction().add(r.id.fragment_container, firstfragment).commit();

11 Now in main activity we have Layout container checker First we check is our fragmentcontainer alive and if it is we don't want to create new fragments there. We just show fragment allredy created If fragments are not present app creates HeadlinesFragment firstfragment.setarguments(getintent().getextras()); This adds intents extras in fragment if there is any extras in intent getsupportfragmentmanager().begintransaction().add(r.id.fragment_container, firstfragment).commit(); This adds fragment in to the Fragment container

12 Crate new class in scr folder called HeadlinesFragment that extends ListFragment This is special fragment shat show user a ListView Things we need to add in this class (These come later): Add interface for Container activity This is for container to get list positions OnAttach() method (This is same as oncreate but for fragment)

13 Create class Ipsum.java Copy content in Ipsum.java static String[] Headlines = { ; "Article One", "Article Two" This is helper class that simpy contains string list for our list object

14 In HeadlinesFragment add in oncreate method support for older devices int layout = Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB? android.r.layout.simple_list_item_activated_1 : android.r.layout.simple_list_item_1; And populate our ListView setlistadapter(new ArrayAdapter<String>(getActivity(), layout, Ipsum.Headlines)); Run and compile

15 Create interface in HeadLinesFragment OnHeadlineSelectedListener mcallback; public interface OnHeadlineSelectedListener { public void onarticleselected(int position); This is interface for MainActivity to get access in HeadlineFragment's on click events Later we add this onarticleselected in main activity

16 Now we implement our interface in HeadLinesFragment's onattach method. Exeption comes if you don't have implemention in main public void onattach(activity activity) { super.onattach(activity); try { mcallback = (OnHeadlineSelectedListener) activity; catch (ClassCastException e) { throw new ClassCastException(activity.toString() + " must implement OnHeadlineSelectedListener");

17 Last thing we need to do in HeadlinesFragment is on click listener that sends on cliks to our public void onlistitemclick(listview l, View v, int position, long id) { mcallback.onarticleselected(position); getlistview().setitemchecked(position, true); Positions and other variables comes from ListView

18 To finish headline implemention add implemntion to main activity public class MainActivity extends FragmentActivity implements HeadlinesFragment.OnHeadlineSelectedListener Add unimplemented public void onarticleselected(int position) { Run and compile

19 Headlines fragment is now done. Next we need to do ArticleFragment Create new class called ArticleFragment and make it extend Fragment class Create oncreateview to our Article public View oncreateview(layoutinflater inflater, ViewGroup container, Bundle savedinstancestate){ return inflater.inflate(r.layout.article_view, container, false); This is method is called when view is created. In our case it is article text view

20 Now add two global variables in ArticleFragment class final static String ARG_POSITION = "position"; int mcurrentposition = -1; ARG_POSITION is argument to get position integer from intents extras mcurrentposition gets intents position integer. Position is position of our ListView

21 Now add functionality in ArticleFragment.class for onstart method Create onstart method and add functionality to get values from public void onstart() { super.onstart(); Bundle args = getarguments(); if (args!= null) { updatearticleview(args.getint(arg_position)); else if (mcurrentposition!= -1) { updatearticleview(mcurrentposition);

22 Create update method for ArticleFragment. This is used when article updated public void updatearticleview(int position) { TextView article = (TextView) getactivity().findviewbyid(r.id.article); article.settext(ipsum.articles[position]); mcurrentposition = position;

23 Add new string array in Ipsum.java file. Copy or create your own content static String[] Articles = { "Article One\n\nExcepteur pour-over occaecat squid biodiesel umami gastropub, nulla laborum salvia dreamcatcher fanny pack. Ullamco culpa retro ea, trust fund excepteur eiusmod direct trade banksy nisi lo-fi cray messenger bag. Nesciunt esse carles selvage put a bird on it gluten-free, wes anderson ut trust fund twee occupy viral. Laboris small batch scenester pork belly, leggings ut farmto-table aliquip yr nostrud iphone viral next level. Craft beer dreamcatcher pinterest truffaut ethnic, authentic brunch. Esse single-origin coffee banksy do next level tempor. Velit synth dreamcatcher, magna shoreditch in american apparel messenger bag narwhal PBR ennui farm-to-table.", "Article Two\n\nVinyl williamsburg non velit, master cleanse four loko banh mi. Enim kogi keytar trust fund pop-up portland gentrify. Non ea typewriter dolore deserunt Austin. Ad magna ethical kogi mixtape next level. Aliqua pork belly thundercats, ut pop-up tattooed dreamcatcher kogi accusamus photo booth irony portland. Semiotics brunch ut locavore irure, enim etsy laborum stumptown carles gentrify post-ironic cray. Butcher 3 wolf moon blog synth, vegan carles odd future." ;

24 Now we create state saving for our fragment Add method onsavedinstancestate and save our public void onsaveinstancestate(bundle outstate) { super.onsaveinstancestate(outstate); outstate.putint(arg_position, mcurrentposition); OnCreate method add check for our state if (savedinstancestate!= null) { mcurrentposition = savedinstancestate.getint(arg_position);

25 Now we finalize our main activity Create method onarticleselected if you don't have it here public void onarticleselected(int position) { Get articlefragment from fragment manager. Create in onarticleselected method ArticleFragment articlefrag = (ArticleFragment) getsupportfragmentmanager().findfragmentbyid(r.id.article_fragment);

26 Create article fragment handling inside onarticleselected method if (articlefrag!= null) { else { articlefrag.updatearticleview(position); ArticleFragment newfragment = new ArticleFragment(); Bundle args = new Bundle(); args.putint(articlefragment.arg_position, position); newfragment.setarguments(args); FragmentTransaction transaction = getsupportfragmentmanager().begintransaction(); transaction.replace(r.id.fragment_container, newfragment); transaction.addtobackstack(null); transaction.commit();

27 Bundle is class that holds all kind of settings and state information as a String format. In bundle you can save your states and return to them. PutInt() adds integer in bundle and setarguments sets them in bundle Fragments transaction handles fragment changes

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

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

How to Extend your Identity Management Systems to use OAuth

How to Extend your Identity Management Systems to use OAuth How to Extend your Identity Management Systems to use OAuth THE LEADER IN API AND CLOUD GATEWAY TECHNOLOGY How to extend your Identity Management Systems to use OAuth OAuth Overview The basic model of

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

Thesis Format Guidelines. Department of Curriculum and Instruction Purdue University

Thesis Format Guidelines. Department of Curriculum and Instruction Purdue University Thesis Format Guidelines Department of Curriculum and Instruction Purdue University 2 Overview All theses must be prepared according to both departmental format requirements and University format requirements,

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

5/12/2011. Promoting Your Web Site and Search Engine Optimization. Roger Lipera. Interactive Media Center. http://libraryalbany.

5/12/2011. Promoting Your Web Site and Search Engine Optimization. Roger Lipera. Interactive Media Center. http://libraryalbany. Promoting Your Web Site and Search Engine Optimization Define the Goals for Your Web site Questions that Web designers ask http://libraryalbany.edu Define the Goals for Your Web site Define the Goals for

More information

Practicing Law with a Virtual Law Office

Practicing Law with a Virtual Law Office Practicing Law with a Virtual Law Office presented by Stephanie Kimbro, MA, JD Attorney, Kimbro Legal Services Technology Consultant, Total Attorneys Greensboro Bar March 29, 2011 Overview Part One: Introduction

More information

CONTENTS. 03 BRAND IDENTITY 04 Logo 06 Wordmark 07 Graphic Element 08 Logo Usage 13 Logo Elements

CONTENTS. 03 BRAND IDENTITY 04 Logo 06 Wordmark 07 Graphic Element 08 Logo Usage 13 Logo Elements GRAPHIC STANDARDS 1 CONTENTS 2 03 BRAND IDENTITY 04 Logo 06 Wordmark 07 Graphic Element 08 Logo Usage 13 Logo Elements 14 SUPPORTING ELEMENTS 15 Color Specifications 16 Typography 17 Layout & Photography

More information

www.xad.com Creative GUIDELINES

www.xad.com Creative GUIDELINES www.xad.com Creative GUIDELINES General Guidelines Required Assets For best results, please provide fully editable assets. FILES Design Files - Layered PSD (Photoshop) / Layered PNG (Fireworks) Fonts -

More information

franchise applications

franchise applications using this style guide business card stationery PowerPoint RFP cover fax coversheet e-mail signature grammar style building signage trucks boxes yellow pages marketing materials web sites 1 business card

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

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

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

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

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

Responsive Email Design

Responsive Email Design Responsive Email Design For the Hospitality Industry By Arek Klauza, Linda Tran & Carrie Messmore February 2013 Responsive Email Design There has been a lot of chatter in recent months in regards to Responsive

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 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

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

Content Strategy. Content Management

Content Strategy. Content Management Content Strategy Content Management Do you realistically believe that the moon does not exist if nobody is looking at it? Einstein to Bohr regarding quantum theory Your website does not exist until someone

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

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

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

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

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

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

Saindo da zona de conforto resolvi aprender Android! by Daniel Baccin Saindo da zona de conforto resolvi aprender Android! by Daniel Baccin Mas por que Android??? Documentação excelente Crescimento no número de apps Fonte: http://www.statista.com/statistics/266210/number-of-available-applications-in-the-google-play-store/

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

Identity Guidelines. by SMARTBEAR

Identity Guidelines. by SMARTBEAR Identity Guidelines version 1.0 nov 2 2012 Conteents SmartBear Corporate Identity Guide Contents 3...Introduction 4... Brand Architecture 5... The SmartBear Brand 6-7... Sub-Brand Family 8... Why and How

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

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

Android Application Development: Hands- On. Dr. Jogesh K. Muppala muppala@cse.ust.hk

Android Application Development: Hands- On. Dr. Jogesh K. Muppala muppala@cse.ust.hk Android Application Development: Hands- On Dr. Jogesh K. Muppala muppala@cse.ust.hk Wi-Fi Access Wi-Fi Access Account Name: aadc201312 2 The Android Wave! 3 Hello, Android! Configure the Android SDK SDK

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

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

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

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

Cincinnati State Admissions UX Design 06.02.14

Cincinnati State Admissions UX Design 06.02.14 Cincinnati State Admissions UX Design 06.0.4 About This Document This documents seeks to establish high level requirements for functionality and UI. It suggests content and ways to accommodate content.

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

University at Albany Graphic Identity Manual

University at Albany Graphic Identity Manual University at Albany Identity Guidelines 1 University at Albany Graphic Identity Manual Version 4.0 (Updated 01/11) University at Albany Graphic Identity Manual 1 Contents 1 Introduction 1.1 The World

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

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

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 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

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

Android Development Introduction CS314

Android Development Introduction CS314 Android Development Introduction CS314 Getting Started Download and Install Android Studio: http://developer.android.com/tools/studio/index. html This is the basic Android IDE and supports most things

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

Branding Guidelines CONEXPO Latin America, Inc. 2013 10-1657 (Rev-1) 08.2010 1

Branding Guidelines CONEXPO Latin America, Inc. 2013 10-1657 (Rev-1) 08.2010 1 Branding Guidelines CONEXPO Latin America, Inc. 2013 10-1657 (Rev-1) 08.2010 1 UNDERSTANDING THE BRAND CONEXPO Latin America AEM sets the global standard in the organization and operation of high quality

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 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作

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

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

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

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

Android Concepts and Programming TUTORIAL 1

Android Concepts and Programming TUTORIAL 1 Android Concepts and Programming TUTORIAL 1 Kartik Sankaran kar.kbc@gmail.com CS4222 Wireless and Sensor Networks [2 nd Semester 2013-14] 20 th January 2014 Agenda PART 1: Introduction to Android - Simple

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

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

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

Custom Software & Web Design

Custom Software & Web Design C O R P O R A T I O N Custom Software & Web Design Vice President 2300 Swan Lake Blvd, Suite 202 Independence, Iowa 50644 Phone: (800) 719-5007 Ext:107 Fax: (319) 334-4165 Email: sara@ksoftcorp.com www.ksoftcorp.com

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

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

SA-1 SMOKE ALARM installation & user guide

SA-1 SMOKE ALARM installation & user guide SA-1 SMOKE ALARM installation & user guide SA-1 Smoke Alarm A smoke alarm is an excellent safety device and with the IT Watchdogs SA-1, not only will you have the usual audible alarm signal if something

More information

Mocean Android SDK Developer Guide

Mocean Android SDK Developer Guide Mocean Android SDK Developer Guide For Android SDK Version 3.2 136 Baxter St, New York, NY 10013 Page 1 Table of Contents Table of Contents... 2 Overview... 3 Section 1 Setup... 3 What changed in 3.2:...

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

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 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

IOIO for Android Beginners Guide Introduction

IOIO for Android Beginners Guide Introduction IOIO for Android Beginners Guide Introduction This is the beginners guide for the IOIO for Android board and is intended for users that have never written an Android app. The goal of this tutorial is to

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

Basics of Android Development 1

Basics of Android Development 1 Departamento de Engenharia Informática Minds-On Basics of Android Development 1 Paulo Baltarejo Sousa pbs@isep.ipp.pt 2016 1 The content of this document is based on the material presented at http://developer.android.com

More information

The Future of Ticketing: Solutions for Museums of All Sizes

The Future of Ticketing: Solutions for Museums of All Sizes The Future of Ticketing: Solutions for Museums of All Sizes May 21, 2014 Lord Cultural Resources Creating Cultural Capital STRATEGIC QUESTIONS Should museums have queues? How could a strategic approach

More information

Bold Future 2007 Building our Company with the needs of future generations in mind Activity Report 2007

Bold Future 2007 Building our Company with the needs of future generations in mind Activity Report 2007 Bold Future 2007 Building our Company with the needs of future generations in mind Activity Report 2007 Key Figures ArcelorMittal is the largest and the most integrated steel company in the world, with

More information

PubMatic Android SDK. Developer Guide. For Android SDK Version 4.3.5

PubMatic Android SDK. Developer Guide. For Android SDK Version 4.3.5 PubMatic Android SDK Developer Guide For Android SDK Version 4.3.5 Nov 25, 2015 1 2015 PubMatic Inc. All rights reserved. Copyright herein is expressly protected at common law, statute, and under various

More information

Lab 1 (Reading Sensors & The Android API) Week 3

Lab 1 (Reading Sensors & The Android API) Week 3 ECE155: Engineering Design with Embedded Systems Winter 2013 Lab 1 (Reading Sensors & The Android API) Week 3 Prepared by Kirill Morozov version 1.1 Deadline: You must submit the lab to the SVN repository

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

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

KNOWLEDGE TRANSFER, CONTINUITY, AND DOCUMENTATION

KNOWLEDGE TRANSFER, CONTINUITY, AND DOCUMENTATION S O L A R C A R C O N F E R E N C E M A R C H 2 0-2 2, 2 0 1 5 U N I V E R S I T Y O F M I C H I G A N KNOWLEDGE TRANSFER, CONTINUITY, AND DOCUMENTATION Aaron Frantz Operations Director, University of

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

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

I WORK FOR UX PORTFOLIO GUIDANCE

I WORK FOR UX PORTFOLIO GUIDANCE I WORK FOR UX PORTFOLIO GUIDANCE CONTENTS INTRODUCTION 3 THE DESIGN OF YOUR PORTFOLIO 4 UX DELIVERABLES CLIENTS WANT TO SEE 8 TIPS 14 ABOUT ZEBRA PEOPLE 15 INTRODUCTION Viewing, sending and receiving feedback

More information

A Step by Step Guide to Creating an App. by Carter Thomas, Bluecloud LLC

A Step by Step Guide to Creating an App. by Carter Thomas, Bluecloud LLC A Step by Step Guide to Creating an App by Carter Thomas, Bluecloud LLC Disclaimer No part of this publication may be reproduced or transmitted in any form or by any means, mechanical or electronic, including

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

Automatically Scaling Android Apps For Multiple Screens

Automatically Scaling Android Apps For Multiple Screens Automatically Scaling Android Apps For Multiple Screens Aaron Sher, Vanteon Corporation The Problem As every Android developer is painfully aware, there are a very large number of Android devices with

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

Q1. What method you should override to use Android menu system?

Q1. What method you should override to use Android menu system? AND-401 Exam Sample: Q1. What method you should override to use Android menu system? a. oncreateoptionsmenu() b. oncreatemenu() c. onmenucreated() d. oncreatecontextmenu() Answer: A Q2. What Activity method

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

Android UI Design. Android UI Design

Android UI Design. Android UI Design Android UI Design i Android UI Design Android UI Design ii Contents 1 Android UI Overview 1 1.1 Introduction...................................................... 1 1.2 Android App Structure and UI patterns........................................

More information

No Frills Magento Layout. Alan Storm

No Frills Magento Layout. Alan Storm No Frills Magento Layout Alan Storm April 2011 Contents 0 No Frills Magento Layout: Introduction 5 0.1 Who this Book is For........................ 6 0.2 No Frills................................ 6 0.3

More information

TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION

TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION Cleveland State University CIS493. Mobile Application Development Using Android TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION The goal of this tutorial is to create a simple mapping application that

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

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

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

Mono for Android Activity Lifecycle Activity Lifecycle Concepts and Overview

Mono for Android Activity Lifecycle Activity Lifecycle Concepts and Overview Mono for Android Lifecycle Lifecycle Concepts and Overview Xamarin Inc. BRIEF Overview Activities are a fundamental building block of Android Applications and they can exist in a number of different states.

More information

DevOps: Extending Agile Development Disciplines to Deployment. 2009 IBM Corporation

DevOps: Extending Agile Development Disciplines to Deployment. 2009 IBM Corporation DevOps: Extending Agile Development Disciplines to Deployment Please note IBM Corporation 2012 The information contained in this presentation is provided for informational purposes only. While efforts

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

HERE SDK for Android. Developer's Guide. Hybrid Plus Version 2.1

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

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

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

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18 Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Cuong Nguyen, 2013.06.18 Faculty of Technology, Postboks 203, Kjølnes ring

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

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

8 Ways Marketing Automation Can Expand Your Search Marketing Practice. 8 Ways Marketing Automation Can Expand Your Search Marketing Practice 1

8 Ways Marketing Automation Can Expand Your Search Marketing Practice. 8 Ways Marketing Automation Can Expand Your Search Marketing Practice 1 8 Ways Marketing Automation Can Expand Your Search Marketing Practice 8 Ways Marketing Automation Can Expand Your Search Marketing Practice 1 If you re already good at search marketing M arketing automation

More information

English. Italiano. Français

English. Italiano. Français Annex 2b - UN Visual Identity Manual - updated 31.07.2014 UN-EXPO MILANO 2015 LOGO BOOK English Italiano Français LOGO BOOK Annex 2b - UN Visual Identity Manual - updated 31.07.2014 UN-EXPO MILANO 2015

More information

Creating a 2D Game Engine for Android OS. Introduction

Creating a 2D Game Engine for Android OS. Introduction Creating a 2D Game Engine for Android OS Introduction This tutorial will lead you through the foundations of creating a 2D animated game for the Android Operating System. The goal here is not to create

More information