CHAPTER 1 Introduction. Chapter objectives: Understand what Android is Learn the differences between Java and Android Java Examine the Android project.

Slides:



Advertisements
Similar presentations
Chapter 1: Voilà! Meet the Android
Advertisements

Introduction to Android Mohammad A. Gowayyed CS334-Spring 2014.
Programming Mobile Applications with Android
Joemarie Comeros Amparo Android Development Orientation for Starters.
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Android 4.0 ICS An Unified UI framework for Tablets and Cell Phones Ashwin. G. Balani, Founder Member, GTUG, Napur.
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
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.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Background of Mobile App Development North Carolina A&T State University.
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.
Android Introduction Platform Overview.
One day Workshop on "Android Application Development"
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Android and Eclipse Thaddeus Diamond CPSC 112. A Quick Introduction Eclipse is an IDE (Integrated Development Environment Open Source Much more full-featured.
© by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.
Introduction to Android Swapnil Pathak Advanced Malware Analysis Training Series.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
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.
© by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.
Overview of Android Application Development
Presentation on android based application
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
Configuring Android Development Environment Nilesh Singh.
Creating an Example Android App in Android Studio Activity lifecycle & UI Resources.
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.
First Venture into the Android World Chapter 1 Part 2.
Created By. Jainik B Patel Prashant A Goswami Gujarat Vidyapith Computer Department Ahmedabad.
Introduction to Android
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
Mobile Application Development with ANDROID Umang Patel(6537) LDCE.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Intoduction to Andriod studio Environment With a hello world program.
Mobile Application Development. What You Should Know About Android Studio 2.0.
J.BHAVANA 3/4B.TECH CSE Ch.Rochasmathi 3/4B.tech CSE.
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. I. What’s Android Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google. Android is designed.
By: Dylan Small.  History of Android  Android Versions  Technical Specs  New/Current Versions  Future of Android  Summary Road Map.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
Evolution of the Android Operating System Vince Marchillo.
CHAPTER 1 part 1 Introduction. Chapter objectives: Understand Android Learn the differences between Java and Android Java Examine the Android project.
Introduction to Android Programming
Introduction to Android Chapter 1 1. Objectives Understand what Android is Learn the differences between Java and Android Java Examine the Android project.
COM594: Mobile Technology Practical – Week 1 Android and Android Studio.
Presenter Sudhanshu Gupta
Android Mobile Application Development
INFO 448: Android Development
Architecture of Android
chapter 6- Android Introduction
Android.
CIS 470 Mobile App Development
CMPE419 Mobile Application Development
SE4S701 Mobile Application Development
CHAPTER 1 Introduction Chapter objectives: Understand what Android is
Android Developer Fundamentals V2
Android Platform, Android App Basic Components
Emerging Platform#3 Android & Programming an App
Mobile Programming Dr. Mohsin Ali Memon.
CMPE419 Mobile Application Development
Presentation transcript:

CHAPTER 1 Introduction

Chapter objectives: Understand what Android is Learn the differences between Java and Android Java Examine the Android project structure Build a basic application using Android Studio Learn about the Model-View-Controller design

1.1Android Platforms First-generation Android phones did not include many of the features users are familiar with Since 2008, Android has been enhanced in a multitude of ways, improving its performance, the user interface design, and adding many features, such as voice searching By 2015, Android applications were including fluid animations, bold color palettes, and sophisticated multitasking menus that featured voice interactions

Table 1-1 shows the evolution of Android

Google services were integrated as part of the Android operating system since the first installment Two of the most substantial inclusions of Android 1.0 were Google Maps and Notifications Notifications remains an important part of the Android user interface In current releases of Android, this feature has been refined to include chat messages and calendar events that support synchronization across all Android devices

By the time Cupcake appeared in 2009, refinements, such as the inclusion of self- refreshing widgets and copy-and-paste, had been implemented One of the most significant features that emerged with Cupcake was the introduction of a soft keyboard, which also brought the first forms of keyboard skins Keyboard skins are created by third-party developers to provide enhancements to an existing soft keyboard

Unique to Android, skins allow users to personalize their keyboard Skins have evolved alongside Android and have shifted beyond basic appearance and into more extensive behavior than originally seen in Cupcake Today, Android device manufacturers regularly offer skins that enhance the user experience by adding functionality to the design.

Android 2.2 was created with the ability to execute far faster than previous versions This was due to the introduction of the new Dalvik Just-In-Time (JIT) compiler, first seen on Froyo Dalvik allowed for better CPU performance, which significantly enhanced processing power Froyo’s browser came with a new JavaScript engine, making Internet browsing nearly three times faster than the previously released version of Android Froyo also brought native support for tethering.

Gingerbread the first version of Android that backed multi-core processing on mobile devices For application developers, Gingerbread brought support for new technologies, such as NFC (Near Field Communication), and SIP (Session Initiation Protocol) The SIP API provides developers with tools to create applications that perform video conferencing and instant messaging

Honeycomb was released as the first version of Android specifically implemented for tablets Prior to Honeycomb, Android tablets were running on phone operating systems that were stretched to fit the screen of a larger tablet

Ice Cream Sandwich combined the best characteristics of Gingerbread and Honeycomb into a single operating system that would work for tablets and phones Ice Cream Sandwich was able to bring many of the design elements of Honeycomb to smartphones, while refining the Android experience

Jelly Bean it was a faster and smoother Android version Along with its Google Voice Search feature, Jelly Bean was a jump in magnitude of performance This version of Android was often referred to as a turning point for Android, where services and customization options met responsive design guidelines KitKat looked similar to Jelly Bean; however, due to a 512 MB size it was able to run on a much larger array of devices

Lollipop is the latest version of Android being used by developers Lollipop and 64-bit chips provide enhanced performance with graphics, decoding and encoding of high-resolution video, and algorithms for facial recognition and speech interaction

1.2 Java vs. Android Java A large number of Java libraries are available in the Android platform The SDK includes a debugger, software libraries, and an emulator for an Android device

differences between the Java API and the Android API There is no Java virtual machine in the Android platform Dalvik is a specialized virtual machine Once Java has been compiled into bytecode by the Java compiler, it is compiled again into a proprietary bytecode Bytecode loaded by the Dalvik virtual machine should not be confused with Java bytecode The dex bytecode is a compact Dalvik executable format designed for Android systems, which are constrained in terms of memory and processor speed The Android SDK includes the Dalvik dx tool, used to translate java bytecode into Dalvik bytecode

1.3 Android Studio IDE Android Studio is the official IDE for building Android applications Developed by Google, this environment focuses exclusively on Android development and comes bundled with the Android Software Development Kit, SDK The SDK provides developers with a packaged set of developer tools and API libraries for building complete applications, testing them on virtual devices, and performing debugging and optimization

Java Editor Layout Editor Android SDK Android SDK Archive AVD Gradle

1.4 The Basics of App Design The process for building an application

1.5 The Anatomy of an Android Project A project built in Android Studio, will be structured similar to Figure 1-6 Project structure is organized by source code, the application’s resources, manifest settings, and build files All of these files are eventually packaged into an apk file, which represents the final

1.5.1 Android Manifest File An AndroidManifest.xml, is required for every Android application This file uses XML code to define specific application information This information can include general application-wide settings such as the application’s style and launch icon.

1.5.2 Java Source Code and Activity class files The Java source code of an application is placed in the java directory of the project structure A main file, often named MainActivity or sometimes MyActivity, is a java file that is auto-generated when the project is first built It may have a different name, depending on the Android Studio version you are using

1.5.3 Drawable Resources The drawable folder is located in the res directory res contains the application resources Drawable resources are image files, such as application icons, buttons, and background textures

generalized screen sizes: xlarge screens are at least 960dp x 720dp large screens are at least 640dp x 480dp normal screens are at least 470dp x 320dp small screens are at least 426dp x 320dp

1.5.4 Layout XML files User interface screens are visually designed and coded as XML layout files The design and arrangement of the elements on the screen are implemented using XML code in a layout file.

1.7 Model-View-Controller Android applications tend to rely on the Model-View-Controller design architecture This architecture assigns one of three roles that objects can play in an application For example, an object can be a Model, View, or Controller

1.9 Sharing your Android Applications Android requires the application to be digitally signed with a certificate Android uses this certificate to identify the author Android apps typically use self-signed certificates, in which the app developer holds the certificate’s private key