Week 3: Android App Programming Jeff Gray, Ph.D. - Associate Professor Carnegie Foundation Professor of the Year (Alabama, 2008) University of Alabama.

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

Android architecture overview 1 CS 150. Android  A software stack for mobile devices developed and managed by Open Handset Alliance  Free software under.
Intro to Android and iOS CS-328 Dick Steflik. The Players Android – Open source mobile OS developed ny the Open Handset Alliance led by Google. Based.
David Angulo Rubio ANDROID OS Open Software Platform for Mobile Devices.
A Developer’s Introduction to Google Android Dr. Frank McCown Harding University Spring 2010.
By Amelia Hart.  Both have a lot in common:  1. Both are Linux-based operating systems for smartphones that have been put together by companies best.
Chapter 1 Meet the Android. Goals & Objectives Understand the market for Android applications State the role of the Android device in the mobile market.
Chapter 1: Voilà! Meet the Android
Programming Mobile Applications with Android
Using App Inventor in a K-12 Summer Camp SIGCSE 2013 Denver, CO – March 9, 2013 Amber Wagner, Jeff Gray, Jonathan Corley University of Alabama David Wolber.
Android Overview. Why Mobile App Development? The fact that we can! Only a few years ago you had to be in the Motorola inner circle to do it! Mobile platform.
Student Name: Group.  Developed by Microsoft  Alliance with Nokia in 2011  4 main functions:  Outlook Mobile  Windows Media Player for Windows Mobile.
DEPARTMENT OF COMPUTER ENGINEERING
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
A Developer’s Introduction to Google Android Dr. Frank McCown Harding University Fall 2011 This work is licensed under Creative Commons Attribution-NonCommercial.
Operating Systems for Wireless Mobile Devices (cont)
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Android Wentworth Institute of Technology Elec101 07/08 Douglas A. Arevalo-Santos.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
SMARTPHONE OPERATION SYSTEM MARKET IN U.S. Ryan (Jang-Hoon) Doo ISM 158.
Introduction to Android Platform Overview
To be Presented by, T.Sathishkumar [11mw07] 1. Synopsis Introduction Version Features License An Application Development Demo Possibilities Advantages.
Chapter 1: Voilà! Meet the Android. Smartphones –Can browse the Web –Allow you to play games –Use business applications –Check –Play music –Record.
Mobile Application Development with ANDROID Tejas Lagvankar UMBC 29 April 2009.
© by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.
Mobile Application Development with ANDROID. Agenda Mobile Application Development (MAD) Intro to Android platform Platform architecture Application building.
Mobile Application Development using Android
Introduction to Mobile Computing CSE 390 Fall 2010.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Chapter 1: Voilà! Meet the Android
2- Android Overview and Android Development Environment CSNB544 Mobile Application Development Thanks to Utexas Austin.
CS4HS with App Inventor May 18, 2012 Jeff Gray, Ph.D. - Associate Professor University of Alabama Department of Computer Science
Presentation Seminar on “IMAGE SLIDER –AN ANDROID APPLICATION”
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
1 Android- Platform Overview. 2 What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key.
Google Workshop: App Inventor Jeff Gray, Ph.D. - Associate Professor Carnegie Foundation Professor of the Year (Alabama, 2008) University of Alabama Department.
© by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.
Presentation on android based application
Mobile Device Programming
The Android Operating System I- Introduction II- History III- Features IV- Competitors V- References.
CS 104 October 12, 2011 Potpourri. Agenda Scratch Kinect demo Quiz discuss Getting Ready for App Inventor Next Monday  Exam.
ANDROID BY:-AANCHAL MEHTA MNW-880-2K11. Introduction to Android Open software platform for mobile development A complete stack – OS, Middleware, Applications.
Android Overview History and architecture. Brief History 1996 The WWW already had websites with color and images But, the best phones displayed a couple.
CS Principles Panel Jeff Gray, Ph.D. - Associate Professor Amber Wagner – Ph.D. student (former AP CS teacher) K-12 Colleague: Bill Cowles, Booker T. Washington.
Android Overview Shashank Kailash Gajbhiye. Why Mobile App Development? The fact that we can! Only a few years ago you had to be in the Motorola inner.
Android History.
Mobile Application Development with ANDROID Umang Patel(6537) LDCE.
By, Rutika R. Channawar. Content Introduction Open Handset Alliance Minimum Hardware Requirements Versions Feature Architecture Advantages Disadvantages.
Vs "Smart phones are getting popular quickly. Compare the Apple’s I-phone platform (which is a closed system) with Google’s Droid platform (which is open)
Android Development For Beginners. What is Android? Android is an open mobile phone platform that was developed by Google and later by Open Handset Alliance.
Android operating system N. Sravani M. Tech(CSE) (09251D5804)
By : Abhishek Verma Main Topics : 1. Introduction 2. Platform 3. Software Development 4. Overall Evaluation.
ANDROID OS Ravi Soni MTech (CS) III Sem. W HAT IS A NDROID ? Android is a software stack for mobile devices that includes an operating system, middleware.
Mobile Computing Lecture#01 Mobile Horizon. Leading Mobile Phone Technologies  iOS  Android  Blackberry  Symbian  Windows Phone  J2ME.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
Google. Android What is Android ? -Android is Linux Based OS -Designed for use on cell phones, e-readers, tablet PCs. -Android provides easy access to.
Brian Atzori 4B 2015/2016.
Introduction to Mobile Computing
A brief information about the Android Operating System
Visit for more Learning Resources
Chapter 2: Operating-System Structures
chapter 6- Android Introduction
Android.
Operating System.
Contents: Introduction Different Mobile Operating Systems
CMPE419 Mobile Application Development
SE4S701 Mobile Application Development
Application Development A Tutorial Driven Course
Android Introduction Platform Mihail L. Sichitiu.
CMPE419 Mobile Application Development
Presentation transcript:

Week 3: Android App Programming Jeff Gray, Ph.D. - Associate Professor Carnegie Foundation Professor of the Year (Alabama, 2008) University of Alabama Department of Computer Science

Today General intro Introduction to App Inventor Various Demos and Hands-on Exercises Lunch: Ms. Lynsey Dill Rest of week See end of slides Agenda for Week

Camp Introduction Liability forms Photos throughout the week Lunch each day – 11:30am-12:45pm  Today: Pizza lunch (Shelby 3438)  Tue-Thu: Lunch in the Freshens Food Court  Fri: Catered lunch Restrooms USB Stick Assumption  Java background

Camp rules Camp Rules  No cell phone usage in class except for emergencies  No headphones while instructor is speaking  No surfing the web or playing games during lectures  No food or drink are allowed in the lab  Pay attention during class exercises; do not jump ahead and let us know if you fall behind

Bleeding edge – may encounter various “issues” throughout the week; App Inventor barely a year old Sharing of various Android phones Much different than week 1 Focus is on motivating you to practice Java on fun exercises Developing your own creativity while implementing a customized app General Info

Why Smartphones?

Motivation: Teaching CS – 1980s style Typical example was text-based, trivial, and uninspiring

Motivation: New and Exciting Contexts Media Computation (Georgia Tech)  Programming in a more exciting context by manipulating images and sounds Robots  Lego NXT 2D/3D Animation Environments  Alice, Scratch, AgentSheets

Motivation: Newest Context Teen cell phone adoption at 84% March 3, 2011  Android marketshare (29%) passes Apple (27%)  Android sales soar 888% Social networking and crowd sourcing a daily activity Increasing adoption of smartphones in science and medical applications

Android Overview

Brief History 2005  Google acquires startup Android Inc. to start Android platform  Work on Dalvik VM begins 2007  Open Handset Alliance announced  Early look at SDK 2008  Google sponsors 1 st Android Developer Challenge  T-Mobile G1 announced  SDK 1.0 released  Android released open source (Apache License)  Android Dev Phone 1 released

Brief History cont  SDK 1.5 (Cupcake) new soft keyboard with an "Autocomplete" feature  SDK 1.6 (Donut)  SDK 2.0/2.0.1/2.1 (Eclair) Exchange support; refine UI  Android runs on 3.5% of all smartphones Gartner Inc. predicts 14% in  Nexus One released to the public  SDK 2.2 (Froyo) wifi tethering, Flash  SDK 2.3 (Gingerbread) refine UI; improve keyboard copy/paste  Q4 Android passes Symbia as best-selling smartphone platform 2011  SDK 3.0 (Honeycomb) Table only release; Motorola Xoom in 2 weeks  Ice-cream Sandwich (mid-2011)

Android Facts From Wikipedia  Modified version of Linux kernel  Android is composed of 12 millions lines of code 3M SLOCs pertaining to XML 2.8M SLOCS in C 2.1M SLOCS in Java 1.75M SLOCS in C++  Linux kernel tensions  Oracle lawsuit

Android Developer Challenge :  10 teams received $275k  10 teams received $100k  Each of top 50 finalists received $25k 2009  10 first prizes at $100k  10 2 nd prizes at $50k  10 3 rd prizes at 25k  Overall: 1 st -$250k, 2 nd - $50k, 3 rd - $25k

Open Handset Alliance Established November 2007 Competes against Microsoft, Apple, Nokia (Symbia), Palm, RIM, and Samsung (Bada) Composed of 79 software and hardware companies URLs:  

Key Differences: Android vs. iPhone iPhone OS is proprietary OS runs on iPhone or iPod Touches only Apps written in Objective- C Apple must approve all apps  Application Store Some apps are more important than others (Safari is your browser) Android OS is open source OS can be licensed for any mobile device Apps written in Java No approval process for apps  Android Market All apps considered equal (choose your browser)

What is Google Android? A software stack for mobile devices that includes  An operating system  Middleware  Key Applications Uses Linux to provide core system services  Security  Memory management  Process management  Power management  Hardware drivers

App Inventor Overview

URL: Purpose  Teaching  Prototyping Components of App Inventor  Designer GUI builder  Block Editor Provide behavior behind the GUI Based on MIT OpenBlocks and Scratch

App Inventor Overview

Installing and Running /index.html#setupComputer  Requires Java 1.6  Install App Inventor setup App Inventor environment loads in a web browser  Login using Google account Run from a phone or the Android emulator Stores programs in the cloud

Designer Provides a WYSIWYG editor for designing the visual parts of the app Also provides ability to attach non-visual components

Blocks Editor Provides an ability to give behavior to an app; the programming part Typical and expected basic predefined constructs (logic, conditionals, iteration) Ability to refer to the components and their properties from the Designer Very similar to Scratch  Built on Open Blocks library from MIT

Limitations File I/O Custom objects Printing your code! Reliability

Examples Many tutorials available:  Developed by Dave Wolber (Univ. San Francisco)  Standard Google Kitty app (embarrassing!)  emulatorpart1.html emulatorpart1.html Other Examples  Where’s My Car, No Text While Driving

Schedule Monday  Intro to App Inventor  Think about an app idea Tuesday  More on App Inventor  Java-based intro to writing Android Apps  Prepare project presentation (3 minutes each) Wednesday  Start at 8:30am  Project proposal presentation  More Java-based Android  Start project implementation

Schedule Thursday  Project implementation  Late Afternoon: CS AP GridWorld Mr. Martin and Mrs. Woessner Friday  Project wrap-up and final presentations  Lunch  Say good-byes