Joemarie Comeros Amparo Android Development Orientation for Starters.

Slides:



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

Google Android Introduction to Mobile Computing. Android is part of the build a better phone process Open Handset Alliance produces Android Comprises.
Ando-it-yourself droid Praveen Kumar Pendyala. Outline Brief intro to the Droid developement Setting up the Life saviors - Development tools Hello Droid.
David Angulo Rubio ANDROID OS Open Software Platform for Mobile Devices.
Chapter 1: Voilà! Meet the Android
Programming Mobile Applications with Android
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Filip Debelić What is it? Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google Android,
DEPARTMENT OF COMPUTER ENGINEERING
A Developer’s Introduction to Google Android Dr. Frank McCown Harding University Fall 2011 This work is licensed under Creative Commons Attribution-NonCommercial.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Android and Project Structure. Android Android OS – Built on Linux Kernel – Phones – Netbooks – Readers – Other???
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
Android Programming Beomjoo Seo Sep., 12 CS5248 Fall 2012.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Android Tutorial Larry Walters OOSE Fall References This tutorial is a brief overview of some major concepts…Android is much richer and more complex.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Android Application Development CSE 5520/4520 Wireless Networks.
Emerging Platform#4: Android Bina Ramamurthy.  Android is an Operating system.  Android is an emerging platform for mobile devices.  Initially developed.
Chapter 1: Voilà! Meet the Android. Smartphones –Can browse the Web –Allow you to play games –Use business applications –Check –Play music –Record.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Introduction to Android Programming Content Basic environmental structure Building a simple app Debugging.
Android and Eclipse Thaddeus Diamond CPSC 112. A Quick Introduction Eclipse is an IDE (Integrated Development Environment Open Source Much more full-featured.
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.
About me Yichuan Wang Android Basics Credit goes to Google and UMBC.
Android: versions Note that: Honeycomb (Android v3.0) A tablet-only release Jelly Bean (Android v4.1) Released on July 09, 2012.
CS5103 Software Engineering Lecture 08 Android Development II.
© Keren Kalif Intro to Android Development Written by Keren Kalif, Edited by Liron Blecher Contains slides from Google I/O presentation.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Chapter 1: Voilà! Meet the Android
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
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.
DUE Hello World on the Android Platform.
1 Android- Platform Overview. 2 What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Presented By: Muhammad Tariq Software Engineer Android Training course.
© 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
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
Creating an Example Android App in Android Studio Activity lifecycle & UI Resources.
Android Overview History and architecture. Brief History 1996 The WWW already had websites with color and images But, the best phones displayed a couple.
Android History.
1 Android Introduction Platform Overview. 2 What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
By, Rutika R. Channawar. Content Introduction Open Handset Alliance Minimum Hardware Requirements Versions Feature Architecture Advantages Disadvantages.
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.
Introduction to Android OS Димитър Н. Димитров Astea Solutions AD.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
Introduction to Android Programming
COM594: Mobile Technology Practical – Week 1 Android and Android Studio.
Android Programming.
A brief information about the Android Operating System
Workshop by T.Naveen sai kumar.
Android Application Development 1 6 May 2018
Obtaining the Required Tools
Android Studio, Android System Basics and Git
Android.
Operating System.
Development-Introduction
CIS 470 Mobile App Development
CMPE419 Mobile Application Development
CS323 Android Getting Started
Application Development A Tutorial Driven Course
Android Developer Fundamentals V2
Emerging Platform#3 Android & Programming an App
CMPE419 Mobile Application Development
Presentation transcript:

Joemarie Comeros Amparo Android Development Orientation for Starters

Android is an open mobile phone platform that was developed by Google and later by Open Handset Alliance. Google defines Android as a "software stack" for mobile phones. Software stack is made up of operating system(the platform on which everything runs), the middleware (the programming that allows applications to talk to a network and to one another) and the applications (the actual programs that phone will run) What is Android?

July Google Inc. bought from Danger In Open Handset Alliance was formed headed by Google which is composed of companies like Intel, T-Mobile, Spring Nextel and more. In 2008, Android became available as an open source and ASOP(Android Open Source Project) is responsible for maintaining and development of android. February 2009, the first android version was released, Android 1.1. for Mobile G1. Brief History

Android OS Versions: > Android 1.1 > Android 1.5 Cupcake > Android 1.6 Donut > Android 2.0/2.1 Eclair > Android 2.2.x Froyo > Android 2.3.x Gingerbread > Android 3. x Honeycomb > Android 4.0.x Ice Cream Sandwich > Android 4.1 Jelly Bean Brief History - continuation

Android Version Market Share

What will you need? Computer running Windows, Linux, or Mac OS X Java SDK Google Android SDK Integrated Development Environment (IDE)

Please refer to: Installation

Android Development Tool Android SDK and Virtual Device Manager Android Emulator / Phone Dalvik Debug Monitoring Service SQLite3 …more

Application Components Activity Present a visual user interface for one focused endeavor the user can undertake Example: a list of menu items users can choose from Services Run in the background for an indefinite period of time Example: calculate and provide the result to activities that need it Broadcast Receivers Receive and react to broadcast announcements Example: announcements that the time zone has changed Content Providers Store and retrieve data and make it accessible to all applications Example: Android ships with a number of content providers for common Intents Hold the content of a message Example: convey a request for an activity to present an image to the user or let the user edit some text

Activities

Services Run in the background o Can continue even if Activity that started it dies o Should be used if something needs to be done while the user is not interacting with application  Otherwise, a thread is probably more applicable o Should create a new thread in the service to do work in, since the service runs in the main thread Can be bound to an application o In which case will terminate when all applications bound to it unbind o Allows multiple applications to communicate with it via a common interface Needs to be declared in manifest file Like Activities, has a structured life cycle

Services

Project Components SRC The project source code GEN Auto generated code Example: R.java Included libraries Resources Drawables Layout Values like strings Manifest File A must have xml file. Contains essential information about the system to the android system

XML Used to define some of the resources o Layouts (UI) o Strings Manifest file Shouldn’t usually have to edit it directly, Eclipse can do that for you Preferred way of creating UIs o Separates the description of the layout from any actual code that controls it o Can easily take a UI from one platform to another

R Class Auto-generated: you shouldn’t edit it Contains IDs of the project resources Enforces good software engineering Use findViewById and Resources object to get access to the resources o Ex. Button b = (Button)findViewById(R.id.button1) o Ex. getResources().getString(R.string.hello));

Layouts Eclipse has a great UI creator o Generates the XML for you Composed of View objects Can be specified for portrait and landscape mode o Use same file name, so can make completely different UIs for the orientations without modifying any code

Layouts - continuation

Click ‘Create’ to make layout modifications When in portrait mode can select ‘Portrait’ to make a res sub folder for portrait layouts o Likewise for Landscape layouts while in landscape mode o Will create folders titled ‘layout-port’ and ‘layout-land’ Note: these ‘port’ and ‘land’ folders are examples of ‘alternate layouts’, see here for more info o Avoid errors by making sure components have the same id in both orientations, and that you’ve tested each orientation thoroughly

Layouts - continuation

Running in Eclipse Similar to launching a regular Java app, use the launch configurations Specify an Android Application and create a new one Specify activity to be run Can select a manual option, so each time program is run, you are asked whether you want to use the actual phone or the emulator o Otherwise, it should be smart and use whichever one is available

Please refer to : Google Maps

<LinearLayout xmlns:android=" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <com.google.android.maps.MapView android:layout_width="fill_parent" android:layout_height="fill_parent" android:enabled="true" android:clickable="true" android:apiKey=“Your API Key Here" />

Installation: Google API: Android Developer’s Website : Numerous Forums & other developer sites, including: o o o o Resources & Acknowledgements

Joemarie Comeros Amparo Android Developer Skype/Ymail/Gmail : joemarieamparo THANK YOU VERY MUCH!