Pro Android 2. Sayed Y. Hashimi Satya Komatineni Dave Mac Lean. Apress

Size: px
Start display at page:

Download "Pro Android 2. Sayed Y. Hashimi Satya Komatineni Dave Mac Lean. Apress"

Transcription

1 Pro Android 2 Sayed Y. Hashimi Satya Komatineni Dave Mac Lean Apress

2 Contents Contents at a Glance Contents About the Authors About the Technical Reviewer Acknowledgments Foreword iv v xiii xiv xv xvi Chapter 1: Introducing the Android Computing Platform 1 A New Platform for a New Personal Computer 1 History of Android 3 Delving into the Dalvik VM 5 Comparing Android and Java ME 7 Understanding the Android Software Stack 10 Developing an End-User Application with the Android SDK 11 Android Emulator 11 The Android Ul 12 The Android Foundational Components 13 Advanced Ul Concepts 14 Android Service Components 16 Android Media and Telephony Components 16 Android Java Packages 18 Taking Advantage of Android Source Code 23 Summary 24 Chapter 2: Getting Your Feet Wet 25 Setting Up Your Environment 25 Downloading JDK 6 26 Downloading Eclipse Downloading the Android SDK 27 V

3 Installing Android Development Tools (ADT) 28 Learning the Fundamental Components 31 View 31 Activity 31 Intent 31 Content Provider 32 Service 32 AndroidManifest.xml 32 Android Virtual Devices 32 Hello World! 33 Android Virtual Devices 38 Exploring the Structure of an Android Application 40 Analyzing the Notepad Application 42 Loading and Running the Notepad Application 43 Dissecting the Application 44 Examining the Application Lifecycle 51 Debugging Your App 54 Summary 55 Chapter 3: Using Resources, Content Providers, and Intents 57 Understanding Resources 58 String Resources 59 Layout Resources 60 Resource-Reference Syntax 62 Defining Your Own Resource IDs for Later Use 63 Compiled and Noncompiled Android Resources 64 Enumerating Key Android Resources 65 Working with Arbitrary XML Resource Files 73 Working with Raw Resources 74 Working with Assets 75 Reviewing the Resources Directory Structure 75 Understanding Content Providers 76 Exploring Android's Built-in Providers 77 Architecture of Content Providers 83 Implementing Content Providers 95 Understanding Intents 106 Available Intents in Android 107 Intents and Data URIs 109 Generic Actions 110 Using Extra Information 111 Using Components to Directly Invoke an Activity 113 Best Practice for Component Designers 114 Understanding Intent Categories 114 The Rules for Resolving Intents to Their Components 117 Exercising the ACTION.PICK 117 Exercising the GET_CONTENT Action 119 Further Resources for This Chapter 121 Summary 121

4 Chapter 4: Building User Interfaces and Using Controls 123 Ul Development in Android 123 Understanding Android's Common Controls 129 Text Controls 129 Button Controls 133 List Controls 139 Grid Controls 143 Date and Time Controls 145 Other Interesting Controls in Android 147 The MapView Control 148 The Gallery Control 148 The Spinner Control 148 Understanding Layout Managers 149 The LinearLayout Layout Manager 149 The TableLayout Layout Manager 153 The RelativeLayout Layout Manager 157 The FrameLayout Layout Manager 159 Customizing Layout for Various Device Configurations 162 Understanding Adapters 164 Getting to Know SimpleCursorAdapter 165 Getting to Know ArrayAdapter 165 Creating Custom Adapters 166 Debugging and Optimizing Layouts with the Hierarchy Viewer 167 Summary 170 Chapter 5: Working with Menus and Dialogs 171 Understanding Android Menus 171 Creating a Menu 173 Working with Menu Groups 174 Responding to Menu Items 175 Creating a Test Harness for Testing Menus 176 Working with Other Menu Types 183 Expanded Menus 183 Working with Icon Menus 183 Working with Submenus 184 Provisioning for System Menus 185 Working with Context Menus 185 Working with Alternative Menus 188 Working with Menus in Response to Changing Data 192 Loading Menus Through XML Files 192 Structure of an XML Menu Resource File 193 Inflating XML Menu Resource Files 193 Responding to XML-Based Menu Items 194 A Brief Introduction to Additional XML Menu Tags 195 Using Dialogs in Android 196 Designing an Alert Dialog 197 Designing a Prompt Dialog 199 The Nature of Dialogs in Android 204

5 Rearchitecting the Prompt Dialog 205 Working with Managed Dialogs 206 Understanding the Managed-Dialog Protocol 206 Recasting the Non-Managed Dialog As a Managed Dialog 206 Simplifying the Managed-Dialog Protocol 208 Summary 215 Chapter 6: Unveiling 2D Animation 217 Frame-by-Frame Animation 218 Planning for Frame-by-Frame Animation 218 Creating the Activity 219 Adding Animation to the Activity 220 Layout Animation 223 Basic Tweening Animation Types 224 Planning the Layout-Animation Test Harness 225 Creating the Activity and the ListView 226 Animating the ListView 228 Using Interpolators 231 View Animation 233 Understanding View Animation 233 Adding Animation 236 Using Camera to Provide Depth Perception in 2D 239 Exploring the AnimationListener Class 240 Some Notes on Transformation Matrices 241 Summary 242 Chapter 7: Exploring Security and Location-Based Services 243 Understanding the Android Security Model 243 Overview of Security Concepts 244 Signing Applications for Deployment 244 Performing Runtime Security Checks 249 Understanding Security at the Process Boundary 249 Declaring and Using Permissions 250 Understanding and Using Custom Permissions 252 Understanding and Using URI Permissions 258 Working with Location-Based Services 258 Understanding the Mapping Package 259 Understanding the Location Package 270 Summary 287 Chapter 8: Building and Consuming Services 289 Consuming HTTP Services 289 Using the HttpClient for HTTP GET Requests 290 Using the HttpClient for НИР POST Requests 291 Dealing with Exceptions 295 Addressing Multithreading Issues 297 Doing Interprocess Communication 301 Creating a Simple Service 301 Understanding Services in Android 302 Understanding Local Services 303

6 Understanding AIDL Services 307 Defining a Service Interface in AIDL 308 Implementing an AIDL Interface 310 Calling the Service from a Client Application 312 Passing Complex Types to Services 316 Summary 326 Chapter 9: Using the Media Framework and Telephony APIs 327 Using the Media APIs 327 Playing Audio Content 331 Understanding the setdatasource Method 335 Playing Video Content 336 Understanding the MediaPlayer Oddities 338 Exploring Audio Recording 339 Exploring Video Recording 343 Exploring the MediaStore Class 348 Adding Media Content to the Media Store 352 Using the Telephony APIs 354 Working with SMS 354 Working with the Telephony Manager 361 Summary 362 Chapter 10: Programming 3D Graphics with OpenGL 363 Understanding the History and Background of OpenGL 364 OpenGL ES 365 OpenGL ES and Java ME 366 M3G: Another Java ME 3D Graphics Standard 367 Fundamentals of OpenGL 367 Essential Drawing with OpenGL ES 368 Understanding OpenGL Camera and Coordinates 374 Interfacing OpenGL ES with Android 378 Using GLSurfaceView and Related Classes 379 Simple Test Harness That Draws a Triangle 380 Changing Camera Settings 384 Using Indices to Add Another Triangle 386 Animating the Simple OpenGL Triangle 387 Braving OpenGL: Shapes and Textures 390 A Simple Menu Trick for Your Demos 391 Drawing a Rectangle 395 Working with Shapes 397 Working with Textures 410 Drawing Multiple Figures 415 OpenGL Resources 419 Summary 419 Chapter 11: Managing and Organizing Preferences 421 Exploring the Preferences Framework 421 Understanding ListPreference 422 Manipulating Preferences Programmatically 429 Understanding CheckBoxPreference 430

7 Understanding EditTextPreference 432 Understanding RingtonePreference 433 Organizing Preferences 435 Summary 438 Chapter 12: Exploring Live Folders 439 Exploring Live Folders 439 How a User Experiences Live Folders 440 Building a Live Folder 445 Summary 456 Chapter 13: Home Screen Widgets 457 Architecture of Home Screen Widgets 458 What Are Home Screen Widgets? 458 User Experience with Home Screen Widgets 459 Lifecycle of a Widget 462 A Sample Widget Application 468 Defining the Widget Provider 470 Defining Widget Size 471 Widget Layout-Related Files 472 Implementing a Widget Provider 474 Implementing Widget Models 476 Implementing Widget Configuration Activity 483 Widget Limitations and Extensions 487 Resources 488 Summary 489 Chapter 14: Android Search 491 Android Search Experience 492 Exploring Android Global Search 492 Enabling Suggestion Providers for Global Search 497 QSB and Suggestions Provider Interaction 500 Activities and Search Key Interaction 502 Behavior of Search Key on a Regular Activity 503 Behavior of an Activity That Disables Search 510 Invoking Search Through a Menu 511 Understanding Local Search and Related Activities 514 Enabling Type-to-Search 519 Implementing a Simple Suggestion Provider 520 Planning the Simple Suggestions Provider 520 Simple Suggestions Provider Implementation Files 521 Implementing the SimpleSuggestionProvider class 521 Understanding Simple Suggestions Provider Search Activity 525 Search Invoker Activity 529 Simple Suggestion Provider User Experience 531 Implementing a Custom Suggestion Provider 535 Planning the Custom Suggestion Provider 535 SuggestURLProvider Project Implementation Files 536 Implementing the SuggestUrlProvider Class 536 Implementing a Search Activity for a Custom Suggestion Provider 545

8 Custom Suggestions Provider Manifest File 551 Custom Suggestion User Experience 552 Using Action Keys and Application-Specific Search Data 556 Using Action Keys in Android Search 557 Working with Application-Specific Search Context 559 Resources 561 Summary 562 Chapter 15: Exploring Text to Speech and Translate APIs 563 The Basics of Text to Speech in Android 563 Using Utterances to Keep Track of Our Speech 568 Using Audio Files for Your Voice 569 Advanced Features of the TTS Engine 576 Setting Audio Streams 576 Using Earcons 577 Playing Silence 577 Using Language Methods 578 Translating Text to a Different Language 579 Summary 588 Chapter 16: Touchscreens 591 Understanding MotionEvents 591 Using VelocityTracker 603 Exploring Drag and Drop 605 Multi-Touch 608 Touches with Maps 615 Gestures 618 Summary 625 Chapter 17: Titanium Mobile: A WebKit-Based Approach to Android Development 627 Titanium Mobile Overview 628 Architecture 629 The Titanium Ecosystem 632 Downloading and Installing Titanium Developer 633 Getting to Know the Ropes: The First Project 640 Creating a Titanium Mobile Project 640 Crafting "Hello World" 642 Provisioning the Application for Debugging 644 Packaging the Application 647 Installing the.apk File on Your Own Emulator 649 Planning for Real-World Applications 650 Essential Primer on JQuery 651 Essential Primer on Advanced JavaScript 653 Understanding the Microtemplating Engine 656 Additional Titanium Mobile APIs 659 Summary 660 Chapter 18: Working with Android Market 661 Becoming a Publisher 661 Following the Rules 662

9 CONTENTS Developer Console 665 Preparing Your Application for Sale 666 Testing for Different Devices 666 Supporting Different Screen Sizes 666 Preparing AndroidManifest.xml for Uploading 667 Localizing Your Application 667 Preparing Your Application Icon 668 Considerations for Paid Apps 668 Directing Users Back to the Market 669 Preparing Your.apk File for Uploading 669 Uploading Your Application 670 User Experience on Android Market 672 Summary 674 Chapter 19: Outlook and Resources 675 Current State of Android 675 Android Based Mobile Device Manufacturers 676 Android Application Stores 677 Outlook For Android 679 Quick Summary of Mobile Operating Systems 679 Contrasting Android with other Mobile OSs 681 Support for HTML 5 and What it Reveals 682 Android Resources 683 Core Android Resources 683 Android News Related Resources 684 Summary 685 Index 687 xii

Companion ebook Available Pro Android Includes Android 1.5 SOURCE CODE ONLINE US $44.99

Companion ebook Available Pro Android Includes Android 1.5 SOURCE CODE ONLINE US $44.99 The EXPERT s VOIce in Open Source Pro Android Covers Google s Android Platform and its fundamental APIs, from basic concepts such as Android resources, intents, and content providers to advanced topics

More information

Android Programming (5 Days)

Android Programming (5 Days) www.peaklearningllc.com Android Programming (5 Days) Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse tools. This Android

More information

Android App Development

Android App Development Android App Development Course Contents: Android app development Course Benefit: You will learn how to Use Advance Features of Android with LIVE PROJECTS Original Fees: 15000 per student. Corporate Discount

More information

Android" Application Development SAMS. Sams Teach Yourself. Shane Conder. Lauren Darcey. Second Edition

Android Application Development SAMS. Sams Teach Yourself. Shane Conder. Lauren Darcey. Second Edition Lauren Darcey Shane Conder Sams Teach Yourself Android" Application Development Second Edition SAMS 800 East 96th Street, Indianapolis, Indiana, 46240 USA Table of Contents Introduction 1 Who Should Read

More information

Android Programming - Jelly Bean

Android Programming - Jelly Bean 1800 ULEARN (853 276) www.ddls.com.au Android Programming - Jelly Bean Length 5 days Price $4235.00 (inc GST) Overview This intensive, hands-on five-day course teaches programmers how to develop activities,

More information

Companion ebook Available Pro Android Includes Android 1.5 SOURCE CODE ONLINE US $44.99

Companion ebook Available Pro Android Includes Android 1.5 SOURCE CODE ONLINE US $44.99 The EXPERT s VOIce in Open Source Pro Android Covers Google s Android Platform and its fundamental APIs, from basic concepts such as Android resources, intents, and content providers to advanced topics

More information

Androidfp_printOnly.book Page vii Tuesday, October 4, :15 AM. Contents. Before You Begin

Androidfp_printOnly.book Page vii Tuesday, October 4, :15 AM. Contents. Before You Begin Androidfp_printOnly.book Page vii Tuesday, October 4, 2011 9:15 AM Preface Before You Begin xiv xxii 1 Introduction to Android 1 1.1 Introduction 2 1.2 Android Overview 4 1.3 Android 2.2 (Froyo) 7 1.4

More information

MC Android Programming

MC Android Programming MC1921 - Android Programming Duration: 5 days Course Price: $3,395 Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse

More information

ANDROID SYLLABUS. Advanced Android

ANDROID SYLLABUS. Advanced Android Advanced Android 1) Introduction To Mobile Apps I. Why we Need Mobile Apps II. Different Kinds of Mobile Apps III. Briefly about Android 2) Introduction Android I. History Behind Android Development II.

More information

Pro Android. Sayed Y. Hashimi and Satya Komatineni

Pro Android. Sayed Y. Hashimi and Satya Komatineni Pro Android Sayed Y. Hashimi and Satya Komatineni Pro Android Copyright 2009 by Sayed Y. Hashimi and Satya Komatineni All rights reserved. No part of this work may be reproduced or transmitted in any form

More information

Android Online Training

Android Online Training Android Online Training IQ training facility offers Android Online Training. Our Android trainers come with vast work experience and teaching skills. Our Android training online is regarded as the one

More information

ORACLE UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

ORACLE UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP) Android Syllabus Pre-requisite: C, C++, Java Programming SQL & PL SQL Chapter 1: Introduction to Android Introduction to android operating system History of android operating system Features of Android

More information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY 1. Learning Objectives: To be able to understand the process of developing software for the mobile To be able to create mobile applications on the Android Platform To be able to create mobile applications

More information

Android. (XKE Mars 2009) Erwan Alliaume.

Android. (XKE Mars 2009) Erwan Alliaume. Android (XKE Mars 2009) Erwan Alliaume ealliaume(*at*)xebia(*dot*)fr http://www.xebia.fr http://blog.xebia.fr History August 2005 Google acquires Android November 2007 Open Handset Alliance announcement

More information

Android Apps. with Eclipse. Apress. Onur Cinar

Android Apps. with Eclipse. Apress. Onur Cinar Android Apps with Eclipse Onur Cinar Apress Contents About the Author About the Technical Reviewer Introduction x xi xii Chapter 1: Android Primer 1 Android History 1 Android Versions..2 Android Platform

More information

Programming Concepts and Skills. Creating an Android Project

Programming Concepts and Skills. Creating an Android Project Programming Concepts and Skills Creating an Android Project Getting Started An Android project contains all the files that comprise the source code for your Android app. The Android SDK tools make it easy

More information

In this Class Mark shows you how to put applications into packages and how to run them through the command line.

In this Class Mark shows you how to put applications into packages and how to run them through the command line. Overview Unless you ve been sleeping for the last couple of years, you know that Mobile is H-O-T! And the most popular mobile platform in the world? That s Android. Do you have a great idea for an App

More information

ANDROID COURSE BROCHURE

ANDROID COURSE BROCHURE Page 1 1Pointer Technology Chacko Towers,Anna nagar Main Road, Anna Nager(Annai Insititute 2nd Floor) Pondicherry-05 Mobile :+91-9600444787,9487662326 Website : http://www.1pointer.com/ Email : info@1pointer.com/onepointertechnology@gmail.com

More information

Lecture 1 Introduction to Android. App Development for Mobile Devices. App Development for Mobile Devices. Announcement.

Lecture 1 Introduction to Android. App Development for Mobile Devices. App Development for Mobile Devices. Announcement. CSCE 315: Android Lectures (1/2) Dr. Jaerock Kwon App Development for Mobile Devices Jaerock Kwon, Ph.D. Assistant Professor in Computer Engineering App Development for Mobile Devices Jaerock Kwon, Ph.D.

More information

Software Development & Education Center ANDROID. Application Development

Software Development & Education Center ANDROID. Application Development Software Development & Education Center ANDROID Application Development Android Overview and History ANDROID CURRICULUM How it all got started Why Android is different (and important) Android Stack Overview

More information

SHWETANK KUMAR GUPTA Only For Education Purpose

SHWETANK KUMAR GUPTA Only For Education Purpose Introduction Android: INTERVIEW QUESTION AND ANSWER Android is an operating system for mobile devices that includes middleware and key applications, and uses a modified version of the Linux kernel. It

More information

Mobile and Wireless Systems Programming

Mobile and Wireless Systems Programming to Android Android is a software stack for mobile devices that includes : an operating system middleware key applications Open source project based on Linux kernel 2.6 Open Handset Alliance (Google, HTC,

More information

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION Course Title: Java Technologies Grades: 10-12 Prepared by: Rob Case Course Unit: What is Java? Learn about the history of Java. Learn about compilation & Syntax. Discuss the principles of Java. Discuss

More information

Android Overview. Most of the material in this section comes from

Android Overview. Most of the material in this section comes from Android Overview Most of the material in this section comes from http://developer.android.com/guide/ Android Overview A software stack for mobile devices Developed and managed by Open Handset Alliance

More information

Android System Architecture. Android Application Fundamentals. Applications in Android. Apps in the Android OS. Program Model 8/31/2015

Android System Architecture. Android Application Fundamentals. Applications in Android. Apps in the Android OS. Program Model 8/31/2015 Android System Architecture Android Application Fundamentals Applications in Android All source code, resources, and data are compiled into a single archive file. The file uses the.apk suffix and is used

More information

Android Development Crash Course

Android Development Crash Course Android Development Crash Course Campus Sundsvall, 2015 Stefan Forsström Department of Information and Communication Systems Mid Sweden University, Sundsvall, Sweden OVERVIEW The Android Platform Start

More information

Android Programming in Bluetooth Cochlea Group

Android Programming in Bluetooth Cochlea Group Android Programming in Bluetooth Cochlea Group Zijian Zhao Abstract: My project is mainly android programming work in the Bluetooth Cochlea Group. In this report I will first introduce the background of

More information

BCA 6. Question Bank

BCA 6. Question Bank BCA 6 030010601 : Introduction to Mobile Application Development Question Bank Unit 1: Introduction to Android and Development tools Short questions 1. What kind of tool is used to simulate Android application?

More information

Introduction To Android

Introduction To Android Introduction To Android Mobile Technologies Symbian OS ios BlackBerry OS Windows Android Introduction to Android Android is an operating system for mobile devices such as smart phones and tablet computers.

More information

Android App Development. Muhammad Sharjeel COMSATS Institute of Information Technology, Lahore

Android App Development. Muhammad Sharjeel COMSATS Institute of Information Technology, Lahore Android App Development Muhammad Sharjeel COMSATS Institute of Information Technology, Lahore Mobile devices (e.g., smartphone, tablet PCs, etc.) are increasingly becoming an essential part of human life

More information

1. What are the key components of Android Architecture? 2. What are the advantages of having an emulator within the Android environment?

1. What are the key components of Android Architecture? 2. What are the advantages of having an emulator within the Android environment? 1. What are the key components of Android Architecture? Android Architecture consists of 4 key components: - Linux Kernel - Libraries - Android Framework - Android Applications 2. What are the advantages

More information

Android Programming Lecture 2 9/7/2011

Android Programming Lecture 2 9/7/2011 Android Programming Lecture 2 9/7/2011 Creating a first app 1. Create a new Android project (a collection of source code and resources for the app) from the Eclipse file menu 2. Choose a project name (can

More information

Mobile Application Development Android

Mobile Application Development Android Mobile Application Development Android Lecture 2 MTAT.03.262 Satish Srirama satish.srirama@ut.ee Android Lecture 1 -recap What is Android How to develop Android applications Run & debug the applications

More information

Lab 3: Using Worklight Server and Environment Optimization Lab Exercise

Lab 3: Using Worklight Server and Environment Optimization Lab Exercise Lab 3: Using Worklight Server and Environment Optimization Lab Exercise Table of Contents Lab 3 Using the Worklight Server and Environment Optimizations... 3-4 3.1 Building and Testing on the Android Platform...3-4

More information

Syllabus- Java + Android. Java Fundamentals

Syllabus- Java + Android. Java Fundamentals Introducing the Java Technology Syllabus- Java + Android Java Fundamentals Key features of the technology and the advantages of using Java Using an Integrated Development Environment (IDE) Introducing

More information

Lecture 1 - Introduction to Android

Lecture 1 - Introduction to Android Lecture 1 - Introduction to Android This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/

More information

Android App Development

Android App Development Android App Development Outline Introduction Android Fundamentals Android Studio Tutorials Introduction What is Android? A software platform and operating system for mobile devices Based on the Linux kernel

More information

Questions and Answers. Q.1) Which of the following is the most ^aeuroeresource hungry ^aeuroepart of dealing with activities on android?

Questions and Answers. Q.1) Which of the following is the most ^aeuroeresource hungry ^aeuroepart of dealing with activities on android? Q.1) Which of the following is the most ^aeuroeresource hungry ^aeuroepart of dealing with activities on android? A. Closing an app. B. Suspending an app C. Opening a new app D. Restoring the most recent

More information

brief contents PART 1 INTRODUCING WINDOWS PHONE... 1 PART 2 CORE WINDOWS PHONE... 57

brief contents PART 1 INTRODUCING WINDOWS PHONE... 1 PART 2 CORE WINDOWS PHONE... 57 brief contents PART 1 INTRODUCING WINDOWS PHONE... 1 1 A new phone, a new operating system 3 2 Creating your first Windows Phone application 30 PART 2 CORE WINDOWS PHONE... 57 3 Fast application switching

More information

M.C.A. Semester V Subject: - Mobile Computing (650003) Week : 2

M.C.A. Semester V Subject: - Mobile Computing (650003) Week : 2 M.C.A. Semester V Subject: - Mobile Computing (650003) Week : 2 1) What is Intent? How it is useful for transitioning between various activities? How intents can be received & broadcasted. (Unit :-2, Chapter

More information

Android UI DateBasics

Android UI DateBasics Android UI DateBasics Why split the UI and programing tasks for a Android AP The most convenient and maintainable way to design application user interfaces is by creating XML layout resources. This method

More information

Beginning Android Tablet

Beginning Android Tablet Beginning Android Tablet Programming Starting with Android Honeycomb for Tablets Robbie Matthews Apress* Contents About the Author About the Technical Reviewer - Acknowledgments Some Notes on Using the

More information

ITG Software Engineering

ITG Software Engineering Android Security Course ID: Page 1 Last Updated 12/15/2014 Android Security ITG Software Engineering Course Overview: This 5 day course covers the Android architecture, the stack, and primary building

More information

Mobile Application Development - Android

Mobile Application Development - Android Mobile Application Development - Android MTAT.03.262 Satish Srirama satish.srirama@ut.ee Goal Give you an idea of how to start developing Android applications Introduce major Android application concepts

More information

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II)

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II) Media Playback Engine Android provides a media playback engine at the native level called Stagefright that comes built-in with software-based

More information

IGEEKS TECHNOLOGIES. Software Training Division. Academic Live Projects For BE,ME,MCA,BCA and PHD Students

IGEEKS TECHNOLOGIES. Software Training Division. Academic Live Projects For BE,ME,MCA,BCA and PHD Students Duration:40hours IGEEKS TECHNOLOGIES Software Training Division Academic Live Projects For BE,ME,MCA,BCA and PHD Students IGeekS Technologies (Make Final Year Project) No: 19, MN Complex, 2nd Cross, Sampige

More information

The World of Android Development

The World of Android Development The World of Android Development Java Concepts The Big Difference WEB APPS & MOBILE APPS Advantages of Web apps o Universal access Browsers are everywhere Any device on the network can access content PCs,

More information

Introduction to Android Android Smartphone Programming. Outline University of Freiburg. What is Android? Background University of Freiburg.

Introduction to Android Android Smartphone Programming. Outline University of Freiburg. What is Android? Background University of Freiburg. Introduction to Android Android Smartphone Programming Matthias Keil Institute for Computer Science Faculty of Engineering October 19, 2015 Outline 1 What is Android? 2 3 Applications: A Quick Glimpse

More information

Beginning Android 4 Application Development

Beginning Android 4 Application Development Beginning Android 4 Application Development Lee, Wei-Meng ISBN-13: 9781118199541 Table of Contents INTRODUCTION xxi CHAPTER 1: GETTING STARTED WITH ANDROID PROGRAMMING 1 What Is Android? 2 Android Versions

More information

Course Syllabus. Course Title. Who should attend? Course Description. Android ( Level 1 )

Course Syllabus. Course Title. Who should attend? Course Description. Android ( Level 1 ) Course Title Android ( Level 1 ) Course Description Android is a Free and open source operating system designed primarily for smart phones and tablets and can be used for TVs, cars and others. It is based

More information

Jim Jackson II Ian Gilman

Jim Jackson II Ian Gilman Single page web apps, JavaScript, and semantic markup Jim Jackson II Ian Gilman FOREWORD BY Scott Hanselman MANNING contents 1 HTML5 foreword xv preface xvii acknowledgments xx about this book xxii about

More information

COLLEGE OF ENGINEERING, NASHIK-4

COLLEGE OF ENGINEERING, NASHIK-4 Pune Vidyarthi Griha s COLLEGE OF ENGINEERING, NASHIK-4 DEPARTMENT OF COMPUTER ENGINEERING 1) What is Android? Important Android Questions It is an open-sourced operating system that is used primarily

More information

Contents. Before You Begin. Copyright by Pearson Education, Inc. All Rights Reserved.

Contents. Before You Begin. Copyright by Pearson Education, Inc. All Rights Reserved. AndroidHTP.book Page vii Monday, January 23, 2012 1:33 PM Preface Before You Begin xix xxxi 1 Introduction to Android 1 1.1 Introduction 2 1.2 Android Overview 4 1.3 Android 2.2 (Froyo) 7 1.4 Android 2.3

More information

CHAPTER 4. Fragments ActionBar Menus

CHAPTER 4. Fragments ActionBar Menus CHAPTER 4 Fragments ActionBar Menus Explore how to build applications that use an ActionBar and Fragments Understand the Fragment lifecycle Learn to configure the ActionBar Implement Fragments with Responsive

More information

Android Development Tutorial. Yi Huang

Android Development Tutorial. Yi Huang Android Development Tutorial Yi Huang Contents What s Android Android architecture Android software development Hello World on Android More 2 3 What s Android Android Phones Sony X10 HTC G1 Samsung i7500

More information

CS378 -Mobile Computing. Anatomy of and Android App and the App Lifecycle

CS378 -Mobile Computing. Anatomy of and Android App and the App Lifecycle CS378 -Mobile Computing Anatomy of and Android App and the App Lifecycle Hello Android Tutorial http://developer.android.com/resources/tutorials/hello-world.html Important Files src/helloandroid.java Activity

More information

Android Application Development 101. Jason Chen Google I/O 2008

Android Application Development 101. Jason Chen Google I/O 2008 Android Application Development 101 Jason Chen Google I/O 2008 Goal Get you an idea of how to start developing Android applications Introduce major Android application concepts Provide pointers for where

More information

Around Android. Essential Android features illustrated by a walk through a practical example

Around Android. Essential Android features illustrated by a walk through a practical example Around Android Essential Android features illustrated by a walk through a practical example By Stefan Meisner Larsen, Trifork. sml@trifork.dk. Twitter: stefanmeisner Agenda Introduction to MoGuard Alert

More information

Required Core Java for Android application development

Required Core Java for Android application development Required Core Java for Android application development Introduction to Java Datatypes primitive data types non-primitive data types Variable declaration Operators Control flow statements Arrays and Enhanced

More information

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. Computer Engineering

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. Computer Engineering GUJARAT TECHNOLOGICAL UNIERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM COURSE TITLE: MOBILE COMPUTING AND APPLICATION DEELOPMENT (COURSE CODE : 3360704) Diploma Program in which this course is offered Computer

More information

CS378 - Mobile Computing. Anatomy of an Android App and the App Lifecycle

CS378 - Mobile Computing. Anatomy of an Android App and the App Lifecycle CS378 - Mobile Computing Anatomy of an Android App and the App Lifecycle Application Components five primary components different purposes and different lifecycles Activity single screen with a user interface,

More information

An Introduction to Android. Jason Chen Developer Advocate Google I/O 2008

An Introduction to Android. Jason Chen Developer Advocate Google I/O 2008 An Introduction to Android Jason Chen Developer Advocate Google I/O 2008 Background What is Android? Latest News 4,000,000,000 Internet and Mobile Phone Users, Worldwide 3,000,000,000 2,000,000,000 1,000,000,000

More information

Android Application Development

Android Application Development Android Application Development Octav Chipara What is Android A free, open source mobile platform A Linux-based, multiprocess, multithreaded OS Android is not a device or a product It s not even limited

More information

Developer s overview of the Android platform

Developer s overview of the Android platform Developer s overview of the Android platform Erlend Stav SINTEF November 10, 2009 mailto:erlend.stav@sintef.no 1 Overview Vendors and licensing Application distribution Platform architecture Application

More information

Android App Development Workshop

Android App Development Workshop Android App Development Workshop Android powers hundreds of millions of mobile devices in more than 190 countries around the world. It s the largest installed base of any mobile platform and growing fast

More information

Android Application Development

Android Application Development Android Application Development (upto Android 4.4) Black Book TM Kogent Learning Solutions Inc. Published by: Copyright 2014 by Dreamtech Press, 19-A, Ansari Road, Daryaganj, New Delhi-110002 Black Book

More information

M.C.A. Semester V Subject: - Mobile Computing (650003) Week : 1

M.C.A. Semester V Subject: - Mobile Computing (650003) Week : 1 M.C.A. Semester V Subject: - Mobile Computing (650003) Week : 1 1) Explain underlying architecture of Android Platform. (Unit :- 1, Chapter :- 1) Suggested Answer:- Draw Figure: 1.8 from textbook given

More information

Another difference is that the kernel includes only the suspend to memory mechanism, and not the suspend to hard disk, which is used on PCs.

Another difference is that the kernel includes only the suspend to memory mechanism, and not the suspend to hard disk, which is used on PCs. 9. Android is an open-source operating system for mobile devices. Nowadays, it has more than 1.4 billion monthly active users (statistic from September 2015) and the largest share on the mobile device

More information

Mobile OS. Symbian. BlackBerry. ios. Window mobile. Android

Mobile OS. Symbian. BlackBerry. ios. Window mobile. Android Ing. Elton Domnori December 7, 2011 Mobile OS Symbian BlackBerry Window mobile Android ios Mobile OS OS First release Last release Owner Android Android 1.0 September 2008 Android 4.0 May 2011 Open Handset

More information

ANDROID DEVELOPMENT. Course Details

ANDROID DEVELOPMENT. Course Details ANDROID DEVELOPMENT Course Details centers@acadgild.com www.acadgild.com 90360 10796 01 Brief About the Course Android s share of the global smartphone is 81%. The Google Certified Android development

More information

Mobile and Ubiquitous Computing: Android Programming (part 1)

Mobile and Ubiquitous Computing: Android Programming (part 1) Mobile and Ubiquitous Computing: Android Programming (part 1) Master studies, Winter 2015/2016 Dr Veljko Pejović Veljko.Pejovic@fri.uni-lj.si The World of Android The Android Platform A mobile operating

More information

Wirtschaftsinformatik Skiseminar ao. Prof. Dr. Rony G. Flatscher. Seminar paper presentation Dennis Robert Stöhr

Wirtschaftsinformatik Skiseminar ao. Prof. Dr. Rony G. Flatscher. Seminar paper presentation Dennis Robert Stöhr Android Programming Wirtschaftsinformatik Skiseminar ao. Prof. Dr. Rony G. Flatscher Seminar paper presentation Dennis Robert Stöhr 0453244 11.01.2011 Agenda Introduction Basics of Android Development

More information

Android. Michael Greifeneder. Image source: Android homepage

Android. Michael Greifeneder. Image source: Android homepage Android Michael Greifeneder Image source: Android homepage Inhalt Overwiew Hardware Software Development Demo Tools Basics Debugging/Emulator Location Android And Me Why I like Android Blend of Linux and

More information

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1 Android Lesson 1 1 1 1.0 to Android 2 Contents Android is an ecosystem Android platform architecture Android Versions Challenges of Android app development App fundamentals 3 Android Ecosystem 4 What is

More information

Android Training Overview (For Demo Classes Call Us )

Android Training Overview (For Demo Classes Call Us ) Android Training Overview (For Demo Classes Call Us +91 9990173465) We are an esteemed organization engaged in providing Training Courses for Android. It is a software stack for mobile phones & tablets

More information

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 AGENDA Android v. ios Design Paradigms Setup Application Framework Demo Libraries Distribution ANDROID V. IOS Android $25 one-time

More information

CHAPTER 1: HELLO, ANDROID 1

CHAPTER 1: HELLO, ANDROID 1 INTRODUCTION xxxvii CHAPTER 1: HELLO, ANDROID 1 A Little Background 2 The Not-So-Distant Past 2 Living in the Future 3 What Android Isn t 3 Android: An Open Platform for Mobile Development 4 Native Android

More information

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie User Interface Design" & Development -

More information

Pro Android 4. Satya Komatineni Dave MacLean

Pro Android 4. Satya Komatineni Dave MacLean Pro Android 4 Satya Komatineni Dave MacLean i Pro Android 4 Copyright 2012 by Satya Komatineni and Dave MacLean This work is subject to copyright. All rights are reserved by the Publisher, whether the

More information

CS260 Intro to Java & Android 05.Android UI(Part I)

CS260 Intro to Java & Android 05.Android UI(Part I) CS260 Intro to Java & Android 05.Android UI(Part I) Winter 2015 Winter 2015 CS250 - Intro to Java & Android 1 User Interface UIs in Android are built using View and ViewGroup objects A View is the base

More information

Android Software Development Kit (Part I)

Android Software Development Kit (Part I) Android Software Development Kit (Part I) Gustavo Alberto Rovelo Ruiz October 29th, 2010 Look & Touch Group 2 Presentation index What is Android? Android History Stats Why Andriod? Android Architecture

More information

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah ECOM 5341 Mobile Computing(Android) 1 Eng.Ruba A. Salamah Lecture # 2 Android Tools Objectives Understand Android Tools Setup Android Development Environment Create HelloWorld Application Understand HelloWorld

More information

Android Development Tools = Eclipse + ADT + SDK

Android Development Tools = Eclipse + ADT + SDK Lesson 2 Android Development Tools = Eclipse + ADT + SDK Victor Matos Cleveland State University Portions of this page are reproduced from work created and shared by Google and used according to terms

More information

CS260 Intro to Java & Android 05.Android UI(Part I)

CS260 Intro to Java & Android 05.Android UI(Part I) CS260 Intro to Java & Android 05.Android UI(Part I) Winter 2018 Winter 2018 CS250 - Intro to Java & Android 1 User Interface UIs in Android are built using View and ViewGroup objects A View is the base

More information

Mobile Application Development

Mobile Application Development Android Native Application Development Mobile Application Development 1. Android Framework and Android Studio b. Android Software Layers c. Android Libraries d. Components of an Android Application e.

More information

Computer Science E-76 Building Mobile Applications

Computer Science E-76 Building Mobile Applications Computer Science E-76 Building Mobile Applications Lecture 3: [Android] The SDK, Activities, and Views February 13, 2012 Dan Armendariz danallan@mit.edu 1 http://developer.android.com Android SDK and NDK

More information

Pro ios Design and. Development. HTML5, CSS3, and JavaScript with Safari. Andrea Picchi. Apress*

Pro ios Design and. Development. HTML5, CSS3, and JavaScript with Safari. Andrea Picchi. Apress* Pro ios Design and Development HTML5, CSS3, and JavaScript with Safari Andrea Picchi Apress* Contents Contents at a Glance About the Author About the Technical Reviewer Acknowledgments Preface Introduction

More information

Android Syllabus. Android. Android Overview and History How it all get started. Why Android is different.

Android Syllabus. Android. Android Overview and History How it all get started. Why Android is different. Overview and History How it all get started. Why is different. Syllabus Stack Overview of the stack. Linux kernel. Native libraries. Dalvik. App framework. Apps. SDK Overview Platforms. Tools & Versions.

More information

MOC 20481C: Essentials of Developing Windows Store Apps Using HTML5 and JavaScript

MOC 20481C: Essentials of Developing Windows Store Apps Using HTML5 and JavaScript MOC 20481C: Essentials of Developing Windows Store Apps Using HTML5 and JavaScript Course Overview This course provides students with the knowledge and skills to develop Windows Store Apps using HTML5

More information

Project Covered During Training: Real Time Project Training

Project Covered During Training: Real Time Project Training Website: http://www.php2ranjan.com/ Contact person: Ranjan Mobile: 91-9347045052, 09032803895 Email: purusingh2004@gmail.com Skype: purnendu_ranjan Course name: Advance Android App Development Training

More information

Lab 3. Accessing GSM Functions on an Android Smartphone

Lab 3. Accessing GSM Functions on an Android Smartphone Lab 3 Accessing GSM Functions on an Android Smartphone 1 Lab Overview 1.1 Goals The objective of this practical exercise is to create an application for a smartphone with the Android mobile operating system,

More information

Murach s Beginning Java with Eclipse

Murach s Beginning Java with Eclipse Murach s Beginning Java with Eclipse Introduction xv Section 1 Get started right Chapter 1 An introduction to Java programming 3 Chapter 2 How to start writing Java code 33 Chapter 3 How to use classes

More information

Configuring the Android Manifest File

Configuring the Android Manifest File Configuring the Android Manifest File Author : userone What You ll Learn in This Hour:. Exploring the Android manifest file. Configuring basic application settings. Defining activities. Managing application

More information

Introduction to Android

Introduction to Android Introduction to Android Ambient intelligence Teodoro Montanaro Politecnico di Torino, 2016/2017 Disclaimer This is only a fast introduction: It is not complete (only scrapes the surface) Only superficial

More information

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism ANDROID TRAINING COURSE CONTENT SECTION 1 : INTRODUCTION Android What it is? History of Android Importance of Java language for Android Apps Other mobile OS-es Android Versions & different development

More information

Contextual Android Education

Contextual Android Education Contextual Android Education James Reed David S. Janzen Abstract Advances in mobile phone hardware and development platforms have drastically increased the demand, interest, and potential of mobile applications.

More information

Mobile Computing and Application Development Course code :

Mobile Computing and Application Development Course code : Mobile and Application Development Course code : 336070 GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM COURSE TITLE: MOBILE COMPUTING AND APPLICATION DEVELOPMENT (COURSE CODE: 336070)

More information

Programming Android UI. J. Serrat Software Design December 2017

Programming Android UI. J. Serrat Software Design December 2017 Programming Android UI J. Serrat Software Design December 2017 Preliminaries : Goals Introduce basic programming Android concepts Examine code for some simple examples Limited to those relevant for the

More information

ANDROID APPLICATION DEVELOPMENT PROSPECTUS ADAAD UNIVERSITY OF SKILLS

ANDROID APPLICATION DEVELOPMENT PROSPECTUS ADAAD UNIVERSITY OF SKILLS ANDROID APPLICATION DEVELOPMENT PROSPECTUS ADAAD ABOUT ISM UNIV ISM UNIV is established in 1994, past 21 years this premier institution has trained over 7000+ Engineers on Embedded Systems and other Software

More information

Mobile Programming Lecture 1. Getting Started

Mobile Programming Lecture 1. Getting Started Mobile Programming Lecture 1 Getting Started Today's Agenda About the Android Studio IDE Hello, World! Project Android Project Structure Introduction to Activities, Layouts, and Widgets Editing Files in

More information