Android App Development. Rameel Sethi



Similar documents
Developing an Android App. CSC207 Fall 2014

Mobile Application Development

MMI 2: Mobile Human- Computer Interaction Android

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

Chapter 2 Getting Started

Android Development. Marc Mc Loughlin

ADITION Android Ad SDK Integration Guide for App Developers

Getting Started With Android

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

Presenting Android Development in the CS Curriculum

Android Programming Basics

Android Introduction. Hello Mihail L. Sichitiu 1

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

Developing Android Apps: Part 1

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

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

Android For Java Developers. Marko Gargenta Marakana

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

Introduction to Android SDK Jordi Linares

Android Application Development. Yevheniy Dzezhyts

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

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

Tutorial #1. Android Application Development Advanced Hello World App

Android Concepts and Programming TUTORIAL 1

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

Mobile App Design and Development

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

Building Your First App

01. Introduction of Android

Tutorial: Setup for Android Development

Getting Started: Creating a Simple App

Developing Android Applications: Case Study of Course Design

Android Quiz App Tutorial

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

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

23442 ECE Introduction to Android Mobile Programming ECE Special Topics: Android Mobile Programming

4. The Android System

Android Java Live and In Action

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

Getting started with Android and App Engine

QML and JavaScript for Native App Development

Cross-Compiling Android Applications to the iphone

Hello World. by Elliot Khazon

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

Jordan Jozwiak November 13, 2011

How to develop your own app

Android Basics. Xin Yang

Woubshet Behutiye ANDROID ECG APPLICATION DEVELOPMENT

Android Persistency: Files

Localization and Resources

Developing Applications for ios

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

2. Click the download button for your operating system (Windows, Mac, or Linux).

Android Application Development Lecture Notes INDEX

Running a Program on an AVD

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

Praktikum Entwicklung von Mediensystemen mit

What is Android? originally purchased from Android, Inc. in 2005

A software stack for mobile devices:

Objective C and iphone App

Client Requirement. Master Data Management App. Case Study -

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

Smartphone market share

Basics. Bruce Crawford Global Solutions Manager

Creating a List UI with Android. Michele Schimd

Android Environment SDK

BEGIN ANDROID JOURNEY IN HOURS

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

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

Android Mobile App Building Tutorial

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

Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions

Android Apps Development Boot Camp. Ming Chow Lecturer, Tufts University DAC 2011 Monday, June 6, 2011

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

ITG Software Engineering

How To Develop Android On Your Computer Or Tablet Or Phone

Android Programming Tutorials. by Mark L. Murphy

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

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

Mobile Application Development

Developing with Android Studio

How to Create an Android Application using Eclipse on Windows 7

Lecture 1 Introduction to Android

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

Mobile Application Development Android

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

Homeschool Programming, Inc.

TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION

Transcription:

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 software for prospective students/parents in ECE open houses Not part of VSCADA deliverables for 2015 due to time constraints

Sample Android SCADA app Source: play.google.com/store/apps/details?id=org.prowl.torque

Android vs ios (development-wise) Android ios Java; less verbose (compared to ObjectiveC) Objective-C; extremely verbose Any dev OS fine Need Mac OS X to dev Publishing to Play Store easy Difficult process of publishing to App Store Free to develop $99/yr to join ios Developer Program Many different devices and screen sizes need to be catered to Max of 3 devices (ipod, iphone, ipad) with known screen sizes Eclipse IDE hard-to-use (Android Studio now official IDE though buggy) Xcode mature IDE Clunky drag-and-drop UI editor; need to write tons of XML Easy-to-use Interface Builder

Android vs ios Market Share Source: developereconomics.com/report/q1-2014-regional-outlook/

Android OS First released in 2007; current version 5.1 Lollipop Based on Linux kernel Build system previously ANT; switched to Gradle Apps primarily written in Java; UI layout in XML Android Studio IDE and SDK Tools available at developer.android.com/sdk/index.html

Android - Activity Instance of Activity class in Android SDK Manages user interaction with screen of information Provide app functionality by extending Activity class Complex apps may have several activities

Android - Layout Defines set of user interface objects and position on screen Composed of XML definitions which create widgets on screen (e.g. text fields, buttons, sliders) Resulting widgets exist in hierarchy of View objects called view hierarchy

A simple Android app - GeoQuiz Source: Android Programming: The Big Nerd Ranch Guide (2013)

GeoQuiz - Layout (layout/activity_quiz.xml) <LinearLayout xmlns:android="http://schemas.android. com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:orientation="vertical" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="24dp" android:text="@string/question_text" /> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal" > <Button android:id="@+id/true_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/true_button" /> <Button android:id="@+id/false_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/false_button" /> </LinearLayout> </LinearLayout> Source: Android Programming: The Big Nerd Ranch Guide (2013)

GeoQuiz - View Hierarchy Source: Android Programming: The Big Nerd Ranch Guide (2013)

GeoQuiz - String Resources (res/strings. xml) <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">geoquiz</string> <string name="question_text">constantinople is the largest city in Turkey.</string> <string name="true_button">true</string> <string name="false_button">false</string> <string name="correct_toast">correct!</string> <string name="incorrect_toast">incorrect!</string> <string name="menu_settings">settings</string> </resources> Source: Android Programming: The Big Nerd Ranch Guide (2013)

GeoQuiz - Activity (QuizActivity.java) public class QuizActivity extends Activity { mfalsebutton = (Button)findViewById(R.id.false_button); private Button mtruebutton; mfalsebutton.setonclicklistener(new View.OnClickListener() { private Button mfalsebutton; @Override public void onclick(view v) { @Override Toast.makeText(QuizActivity.this, public void oncreate(bundle savedinstancestate) { R.string.correct_toast, super.oncreate(savedinstancestate); Toast.LENGTH_SHORT).show(); setcontentview(r.layout.activity_quiz); } } }); } mtruebutton = (Button)findViewById(R.id.true_button); mtruebutton.setonclicklistener(new View.OnClickListener() { @Override public void onclick(view v) { Toast.makeText(QuizActivity.this, R.string.incorrect_toast, Toast.LENGTH_SHORT).show(); } }); Source: Android Programming: The Big Nerd Ranch Guide (2013)