Android Application Development android.cs.uchicago.edu.

Slides:



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

Delrieu Marjorie Loiseau Pierre
MOOC on M4D 2013 I NTRODUCTION TO THE A NDROID P LATFORM Ashish Agrawal Indian Institute of Technology Kanpur.
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.
What is Android?.
Introduction App Dev For Mobile Devices NASRULLAH.
 یعنی چی؟  تاریخچه  مقایسه  مزایا  معایب.  1979–1992 Mobile phones use embedded systems to control operation.  Martin Cooper.
Advanced Java Programming Adam Gerber, PhD, SCJP office: Ryerson CS Lab 4 th Floor office hrs: 3:30-5:30pm Wed.
An Introduction By Sonali and Rasika.  Required for the project  Show the versions of your code in the course of development  Show versions of your.
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.
Mobile Application Development
Android An open handset alliance project Janice Garcia September 18, 2008 MIS 304.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
Introduction to Android Platform Overview
To be Presented by, T.Sathishkumar [11mw07] 1. Synopsis Introduction Version Features License An Application Development Demo Possibilities Advantages.
Emerging Platform#4: Android Bina Ramamurthy.  Android is an Operating system.  Android is an emerging platform for mobile devices.  Initially developed.
Android Introduction Platform Overview.
Mobile Application Development with ANDROID Tejas Lagvankar UMBC 29 April 2009.
Mobile Application Development with ANDROID. Agenda Mobile Application Development (MAD) Intro to Android platform Platform architecture Application building.
About me Yichuan Wang Android Basics Credit goes to Google and UMBC.
Android Mobile Development Nic Shulver, FCET, Staffordshire University Introduction What is Android? Pros and Cons Why is it important? Why develop for.
Android Software Development
علیرضا فراهانی استاد درس: جعفری نژاد مهر Version Control ▪Version control is a system that records changes to a file or set of files over time so.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
01. Introduction to Android Prof. Oum Saokosal Master of Engineering in Information Systems, South Korea
Lecture 2 agenda Setting-up projects properly Review git config Java event model Anatomy of and Android Application Activity Lifecycle State Changes; saving.
Version Control Systems academy.zariba.com 1. Lecture Content 1.What is Software Configuration Management? 2.Version Control Systems (VCS) 3.Basic Git.
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
Team 708 – Hardwired Fusion Created by Nam Tran 2014.
Piazza Piazza: 037/home Course website:
The Android Operating System I- Introduction II- History III- Features IV- Competitors V- References.
ANDROID BY:-AANCHAL MEHTA MNW-880-2K11. Introduction to Android Open software platform for mobile development A complete stack – OS, Middleware, Applications.
Created By. Jainik B Patel Prashant A Goswami Gujarat Vidyapith Computer Department Ahmedabad.
Intro to Git presented by Brian K. Vagnini Hosted by.
Mobile Application Development with ANDROID Umang Patel(6537) LDCE.
Lecture 2 agenda flip teaching install p4merge rename project packages review git review Android Studio (Vinny) layouts and resources java event model.
1 Get All Answers Get All Answers. Contents History of Android Android Fragmentation The Role of Google Features and Architecture Android Software Development.
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 Adam Reimel. Outline Introduction Platform Architecture Future Conclusion.
INTRODUCTION TO GIT. Install Egit for eclipse Open eclipse->Help->Install New Software Search for one of the following -
Jake Ginnivan Git for TFS Version Control developers DEV32 4.
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.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
Presented by: Saurabh Kumar Sinha (MRT07UGBIT 186) IT VII Semester, Shobhit University Meerut.
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.
The Basics of Android App Development Sankarshan Mridha Satadal Sengupta.
A presentation on Android and Android project Around Me
Android Programming.
Android Application -Architecture.
Android Application Development gerber.cs.uchicago.edu/android/
Visit for more Learning Resources
ANDROID AN OPEN HANDSET ALLIANCE PROJECT
Git Practice walkthrough.
SSE2034: System Software Experiment 3 Spring 2016
Android.
Contents: Introduction Different Mobile Operating Systems
CMPE419 Mobile Application Development
SIG: Open Week 1: GitHub Tim Choh.
Application Development A Tutorial Driven Course
Android Introduction Platform Mihail L. Sichitiu.
Korea Software HRD Center
Android Platform, Android App Basic Components
Emerging Platform#3 Android & Programming an App
Getting Started with Android…
CMPE419 Mobile Application Development
Advanced Git for Beginners
Presentation transcript:

Android Application Development android.cs.uchicago.edu

Adam Gerber, PhD, SCJP Some of my mobile work: Introductions: Name Where are you from? Your experience with mobile and java? What you want to get out of this class?

Unit00: Setup

1/ Install required software: java-sdk 7, Android Studio, git, sourcetree 2/ Set-up steps (projects and labs) 3/ A tour of the course website and policies: android.cs.uchicago.edu 4/ A tour of git-bash and SourceTree a) add, reset, commit, F5, folders b) amend c) branch d) push/remotes 5/ A tour of Android Studio (shortcuts, VCS, etc.)

tools

Lab 2g

Lab 2m

Your laptop bitbucket.org/jstudent/labJava Lab 2m

Projects

Download and install required software: Java SDK (7): ndex.html Android Studio: developer.android.com/sdk/installing/studio.html Git: git-scm.com SourceTree:

GIT architecture

git config --global user.name "Your Name" git config --global user.

add/reset/commit: move files from working-dir to stage-dir(aka index) git add. git add res/. git add src/. git add res/values/strings.xml move files from stage-dir(aka index) to working-dir git reset HEAD. git reset head res/. git reset head src/. git reset head res/values/strings.xml git commit -m “your commit message.”

Amending: Every commit is associated with a sha-1 hash. That hash is derived from 1/ the file changes in that commit and 2/ the previous commit. You can not change any commit unless that commit is at the head. Since no other commits depend on the head, you may safely change the head. To change the head, use git commit --amend -m “your message” git commit --amend --no-edit

Branching: To list the branches in a project: git branch git branch -r git branch --all To create a branch: git checkout -b branchName c39b git checkout -b branchName To delete a branch: git branch -D branchName To checkout a branch: git checkout 7afe git checkout master

Pushing to remotes: To see the remotes: git remote -v show To push to a remote: git push origin master git push --all To clear all local changes since last push git reset --hard origin/master

Reverting (does the exact opposite) git revert 0da8 --no-edit git revert head --no-edit git revert head~3 --no-edit To clear all local changes since last push git reset --hard origin/master To delete a remote branch git push origin :branchName

Android Studio Default keymap: File || settings || keymap

Unit01: The Android Computing Platform

Android Comprehensive open-source platform for mobile devices Owned by Open Handset Alliance Championed by Google Stated goal: "accelerate innovation in mobile and offer consumers a richer, less expensive, and better mobile experience."

Vision for Android

Android is NOT just phones Tablets Readers Televisions Game consoles AR-Devices Android Wear Android is open-source, which means any manufacturer of mobile devices can drop Android onto it.

6/9/12

Android Version Distribution Using the compatability (support) libraries, you can develop in 4.2 and min- build-target to 1.6.

Android Version History

Code/Version/API map

Mods (skins) HTC Motorola Samsung | HTC Motorola Samsung

Open Handset Alliance The OHA was established on 5 November 2007, led by Google with 34 members including mobile handset makers, application developers, some mobile carriers and chip makers. Android, the flagship software of the alliance, is based on an open source license and competes against mobile platforms from Apple, Microsoft, Nokia (Symbian), HP (formerly Palm), Research In Motion, and Samsung Electronics (bada). Headquarters:South Korea

iOS versus Android Revenue at POP

Android Architecture

6/9/12

Stock apps, all of which can be replaced; modular architecture. Managers (APIs to OS). You will use these APIs in your apps. SQLite and WebKit are in iOS as well. libc is from c. OpenGL is graphics, etc. kernel components; you won't touch these.

android dex files are like java class files - they're bytecode, but they've been optimized for a resource constrained environment.

Android is modular

Building Blocks of an App Activities (you can see an activity, activities have views.) Intents (shuttle messages) Services (background services) Content Providers (api abstraction to datastore) Broadcast Receivers (capture OS broadcasts; such as battery-low, reboot, sms-received, headphone-plugged-in, etc. )

Some Developer Resources

Resources Android Developer's Guide : developer.android.com/guide/index.html Stack Overflow: stackoverflow.com/questions/tagged/android Asset Studio: android-ui- utils.googlecode.com/hg/asset- studio/dist/index.html Android Views: