4 Application Development

Size: px
Start display at page:

Download "4 Application Development"

Transcription

1 PROFESSIONAL Android 4 Application Development

2 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 Applications 5 Android SDK Features 6 Access to Hardware, Including Camera, GPS, and Sensors 6 Data Transfers Using Wi-Fi, Bluetooth, and NFC 7 Maps, Geocoding, and Location-Based Services 7 Background Services 7 SQLite Database for Data Storage and Retrieval 8 Shared Data and Inter-Application Communication 8 Using Widgets and Live Wallpaper to Enhance the Home Screen 9 Extensive Media Support and 2D/3D Graphics 9 Cloud to Device Messaging 9 Optimized Memory and Process Management 10 Introducing the Open Handset Alliance 10 What Does Android Run On? 10 Why Develop for Mobile? 11 Why Develop for Android? 11 Factors Driving Android's Adoption 12 What Android Has That Other Platforms Don't Have 12 The Changing Mobile Development Landscape 13 Introducing the Development Framework 14 What Comes in the Box 14 Understanding the Android Software Stack 15 The Dalvik Virtual Machine 16 Android Application Architecture 17 Android Libraries 18

3 CHAPTER 2: GETTING STARTED 19 Developing for Android 20 What You Need to Begin 20 Downloading and Installing the Android SDK 21 Downloading and Installing Updates to the SDK 23 Developing with Eclipse 23 Using the Android Developer Tools Plug-In for Eclipse 24 Using the Support Package 27 Creating Your First Android Application 28 Creating a New Android Project 28 Creating an Android Virtual Device 30 Creating Launch Configurations 30 Running and Debugging Your Android Application 33 Understanding Hello World 33 Types of Android Applications 36 Foreground Applications 36 Background Applications 37 Intermittent Applications 37 Widgets and Live Wallpapers 37 Developing for Mobile and Embedded Devices 38 Hardware-Imposed Design Considerations 38 Be Efficient 38 Expect Limited Capacity 39 Design for Different Screens 39 Expect Low Speeds, High Latency 40 At What Cost? 41 Considering the User's Environment 42 Developing for Android 43 Being Fast and Efficient 43 Being Responsive 44 Ensuring Data Freshness 45 Developing Secure Applications 45 Ensuring a Seamless User Experience 46 Providing Accessibility 47 Android Development Tools 47 The Android Virtual Device Manager 48 Android SDK Manager 49 The Android Emulator 50 xvili

4 The Dalvik Debug Monitor Service 50 The Android Debug Bridge 51 The Hierarchy Viewer and Lint Tool 51 Monkey and Monkey Runner 52 CHAPTER 3: CREATING APPLICATIONS AND ACTIVITIES 53 What Makes an Android Application? 54 Introducing the Application Manifest File 55 A Closer Look at the Application Manifest 56 Using the Manifest Editor 63 Externalizing Resources 64 Creating Resources 65 Simple Values 65 Styles and Themes 68 Drawables 68 Layouts 69 Animations 70 Menus 73 Using Resources 74 Using Resources in Code 74 Referencing Resources Within Resources 75 Using System Resources 76 Referring to Styles in the Current Theme 76 Creating Resources for Different Languages and Hardware 77 Runtime Configuration Changes 79 The Android Application Lifecycle 81 Understanding an Application's Priority and Its Process' States 82 Introducing the Android Application Class 83 Extending and Using the Application Class 83 Overriding the Application Lifecycle Events 84 A Closer Look at Android Activities 86 Creating Activities 86 The Activity Lifecycle 87 Activity Stacks 88 Activity States 88 Monitoring State Changes 89 Understanding Activity Lifetimes 91 Android Activity Classes 93

5 CHAPTER 4: BUILDING USER INTERFACES 95 Fundamental Android Ul Design 96 Android User Interface Fundamentals 97 Assigning User Interfaces to Activities 97 Introducing Layouts 98 Defining Layouts 99 Using Layouts to Create Device Independent User Interfaces 100 Using a Linear Layout 100 Using a Relative Layout 101 Using a Grid Layout 102 Optimizing Layouts 103 Redundant Layout Containers Are Redundant 103 Avoid Using Excessive Views 105 Using Lint to Analyze Your Layouts 106 To-Do List Example 107 Introducing Fragments 114 Creating New Fragments 115 The Fragment Lifecycle 116 Fragment-Specific Lifecycle Events 119 Fragment States 119 Introducing the Fragment Manager 120 Adding Fragments to Activities 120 Using Fragment Transactions 121 Adding, Removing, and Replacing Fragments 122 Using the Fragment Manager to Find Fragments 122 Populating Dynamic Activity Layouts with Fragments 123 Fragments and the Back Stack 124 Animating Fragment Transactions 125 Interfacing Between Fragments and Activities 126 Fragments Without User Interfaces 126 Android Fragment Classes 128 Using Fragments for Your To-Do List 128 The Android Widget Toolbox 132 Creating New Views 133 Modifying Existing Views 133 Customizing Your To-Do List 135 Creating Compound Controls 138 Creating Simple Compound Controls Using Layouts 141 Creating Custom Views 141 Creating a New Visual Interface 142 Handling User Interaction Events 147

6 Supporting Accessibility in Custom Views Creating a Compass View Example Using Custom Controls Introducing Adapters Introducing Some Native Adapters Customizing the Array Adapter Using Adapters to Bind Data to a View Customizing the To-Do List Array Adapter Using the Simple Cursor Adapter CHAPTER 5: INTENTS AND BROADCAST RECEIVERS Introducing Intents Using Intents to Launch Activities Explicitly Starting New Activities Implicit Intents and Late Runtime Binding Determining If an Intent Will Resolve Returning Results from Activities Native Android Actions Introducing Linkify Native Linkify Link Types Creating Custom Link Strings Using the Match Filter Using the Transform Filter Using Intents to Broadcast Events Broadcasting Events with Intents Listening for Broadcasts with Broadcast Receivers Broadcasting Ordered Intents Broadcasting Sticky Intents Introducing the Local Broadcast Manager Introducing Pending Intents Creating Intent Filters and Broadcast Receivers Using Intent Filters to Service Implicit Intents How Android Resolves Intent Filters Finding and Using Intents Received Within an Activity Passing on Responsibility Selecting a Contact Example Using Intent Filters for Plug-Ins and Extensibility Supplying Anonymous Actions to Applications Discovering New Actions from Third-Party Intent Receivers Incorporating Anonymous Actions as Menu Items Listening for Native Broadcast Intents xxi

7 Monitoring Device State Changes Using Broadcast Intents 197 Listening for Battery Changes 197 Listening for Connectivity Changes 198 Listening for Docking Changes 199 Managing Manifest Receivers at Run Time 199 CHAPTER 6: USING INTERNET RESOURCES 201 Downloading and Parsing Internet Resources 201 Connecting to an Internet Resource 202 Parsing XML Using the XML Pull Parser 203 Creating an Earthquake Viewer 205 Using the Download Manager 210 Downloading Files 211 Customizing Download Manager Notifications 213 Specifying a Download Location 213 Cancelling and Removing Downloads 214 Querying the Download Manager 215 Using Internet Services 217 Connecting to Google App Engine 218 Best Practices for Downloading Data Without Draining the Battery 219 CHAPTER 7: FILES, SAVING STATE, AND PREFERENCES 221 Saving Simple Application Data 222 Creating and Saving Shared Preferences 222 Retrieving Shared Preferences 223 Creating a Settings Activity for the Earthquake Viewer 223 Introducing the Preference Framework and the Preference Activity 231 Defining a Preference Screen Layout in XML 232 Native Preference Controls 234 Using Intents to Import System Preferences into Preference Screens 234 Introducing the Preference Fragment 235 Defining the Preference Fragment Hierarchy Using Preference Headers 235 Introducing the Preference Activity 236 Backward Compatibility and Preference Screens 237 Finding and Using the Shared Preferences Set by Preference Screens 238 Introducing On Shared Preference Change Listeners 238 xxii

8 Creating a Standard Preference Activity for the Earthquake Viewer 238 Persisting the Application Instance State 242 Saving Activity State Using Shared Preferences 242 Saving and Restoring Activity Instance State Using the Lifecycle Handlers 242 Saving and Restoring Fragment Instance State Using the Lifecycle Handlers 243 Including Static Files as Resources 245 Working with the File System 246 File-Management Tools 246 Using Application-Specific Folders to Store Files 246 Creating Private Application Files 247 Using the Application File Cache 248 Storing Publicly Readable Files 248 CHAPTER 8: DATABASES AND CONTENT PROVIDERS 251 Introducing Android Databases 252 SQLite Databases 252 Content Providers 252 Introducing SQLite 253 Content Values and Cursors 253 Working with SQLite Databases 254 Introducing the SQLiteOpenHelper 255 Opening and Creating Databases Without the SQLite Open Helper 257 Android Database Design Considerations 257 Querying a Database 257 Extracting Values from a Cursor 259 Adding, Updating, and Removing Rows 260 Inserting Rows 260 Updating Rows 261 Deleting Rows 261 Creating Content Providers 262 Registering Content Providers 262 Publishing Your Content Provider's URI Address 263 Creating the Content Provider's Database 264 Implementing Content Provider Queries 264 Content Provider Transactions 266 Storing Files in a Content Provider 268 A Skeleton Content Provider Implementation 270 xxiii

9 Using Content Providers 274 Introducing the Content Resolver 274 Querying Content Providers 274 Querying for Content Asynchronously Using the Cursor Loader 277 Introducing Loaders 277 Using the Cursor Loader 277 Adding, Deleting, and Updating Content 280 Inserting Content 280 Deleting Content 281 Updating Content 281 Accessing Files Stored in Content Providers 282 Creating a To-Do List Database and Content Provider 283 Adding Search to Your Application 290 Making Your Content Provider Searchable 291 Creating a Search Activity for Your Application 292 Making Your Search Activity the Default Search Provider for Your Application 293 Performing a Search and Displaying the Results 294 Using the Search View Widget 297 Supporting Search Suggestions from a Content Provider 298 Surfacing Search Results in the Quick Search Box 301 Creating a Searchable Earthquake Content Provider 301 Creating the Content Provider 302 Using the Earthquake Provider 307 Searching the Earthquake Provider 310 Native Android Content Providers 316 Using the Media Store Content Provider 317 Using the Contacts Contract Content Provider 318 Introducing the Contacts Contract Content Provider 318 Reading Contact Details 319 Creating and Picking Contacts Using Intents 323 Modifying and Augmenting Contact Details Directly 324 Using the Calendar Content Provider 325 Querying the Calendar 325 Creating and Editing Calendar Entries Using Intents 327 Modifying Calendar Entries Directly 329 CHAPTER 9: WORKING IN THE BACKGROUND 331 Introducing Services 332 Creating and Controlling Services 332 Creating Services 332 xxiv

10 Executing a Service and Controlling Its Restart Behavior 333 Starting and Stopping Services 335 Self-Terminating Services 336 Binding Services to Activities 336 An Earthquake-Monitoring Service Example 338 Creating Foreground Services 343 Using Background Threads 345 Using AsyncTask to Run Asynchronous Tasks 345 Creating New Asynchronous Tasks 346 Running Asynchronous Tasks 347 Introducing the Intent Service 348 Introducing Loaders 349 Manual Thread Creation and GUI Thread Synchronization 349 Using Alarms 351 Creating, Setting, and Canceling Alarms 352 Setting Repeating Alarms 353 Using Repeating Alarms to Schedule Network Refreshes 354 Using the Intent Service to Simplify the Earthquake Update Service 357 CHAPTER 10: EXPANDING THE USER EXPERIENCE 359 Introducing the Action Bar 360 Customizing the Action Bar 362 Modifying the Icon and Title Text 362 Customizing the Background 363 Enabling the Split Action Bar Mode 364 Customizing the Action Bar to Control Application Navigation Behavior 364 Configuring Action Bar Icon Navigation Behavior 365 Using Navigation Tabs 366 Using Drop-Down Lists for Navigation 368 Using Custom Navigation Views 370 Introducing Action Bar Actions 370 Adding an Action Bar to the Earthquake Monitor 370 Creating and Using Menus and Action Bar Action Items 377 Introducing the Android Menu System 377 Creating a Menu 379 Specifying Action Bar Actions 380 Menu Item Options 381 Adding Action Views and Action Providers 382 Adding Menu Items from Fragments 383 Defining Menu Hierarchies in XML 384

11 Updating Menu Items Dynamically 385 Handling Menu Selections 386 Introducing Submenus and Context Menus 387 Creating Submenus 387 Using Context Menus and Popup Menus 388 Refreshing the Earthquake Monitor 390 Going Full Screen 392 Introducing Dialogs 394 Creating a Dialog 395 Using the Alert Dialog Class 396 Using Specialized Input Dialogs 397 Managing and Displaying Dialogs Using Dialog Fragments 398 Managing and Displaying Dialogs Using Activity Event Handlers 400 Using Activities as Dialogs 401 Let's Make a Toast 401 Customizing Toasts 402 Using Toasts in Worker Threads 404 Introducing Notifications 405 Introducing the Notification Manager 406 Creating Notifications 407 Creating a Notification and Configuring the Status Bar Display 407 Using the Default Notification Sounds, Lights, and Vibrations 408 Making Sounds 408 Vibrating the Device 409 Flashing the Lights 409 Using the Notification Builder 410 Setting and Customizing the Notification Tray Ul 410 Using the Standard Notification Ul 411 Creating a Custom Notification Ul 412 Customizing the Ticker View 414 Configuring Ongoing and Insistent Notifications 415 Triggering, Updating, and Canceling Notifications 416 Adding Notifications and Dialogs to the Earthquake Monitor 418 CHAPTER 11: ADVANCED USER EXPERIENCE 425 Designing for Every Screen Size and Density 426 Resolution Independence 426 Using Density-Independent Pixels 426 Resource Qualifiers for Pixel Density 427 xxvl

12 Supporting and Optimizing for Different Screen Sizes 427 Creating Scalable Layouts 428 Optimizing Layouts for Different Screen Types 428 Specifying Supported Screen Sizes 430 Creating Scalable Graphics Assets 431 Color Drawables 431 Shape Drawables 431 Gradient Drawables 432 NinePatch Drawables 434 Creating Optimized, Adaptive, and Dynamic Designs 434 Testing, Testing, Testing 435 Using Emulator Skins 435 Testing for Custom Resolutions and Screen Sizes 435 Ensuring Accessibility 436 Supporting Navigation Without a Touch Screen 436 Providing a Textual Description of Each View 436 Introducing Android Text-to-Speech 437 Using Speech Recognition 439 Using Speech Recognition for Voice Input 440 Using Speech Recognition for Search 441 Controlling Device Vibration 441 Working with Animations 442 Tweened View Animations 442 Creating Tweened View Animations 443 Applying Tweened Animations 443 Using Animation Listeners 444 Animating Layouts and View Groups 444 Creating and Using Frame-by-Frame Animations 445 Interpolated Property Animations 446 Creating Property Animations 447 Creating Property Animation Sets 449 Using Animation Listeners 449 Enhancing Your Views 450 Advanced Canvas Drawing 450 What Can You Draw? 450 Getting the Most from Your Paint 451 Improving Paint Quality with Anti-Aliasing 456 Canvas Drawing Best Practice 457 Advanced Compass Face Example 458 xxvii

13 Hardware Acceleration 466 Managing Hardware Acceleration Use in Your Applications 466 Checking If Hardware Acceleration Is Enabled 467 Introducing the Surface View 467 When to Use a Surface View 467 Creating Surface Views 468 Creating 3D Views with a Surface View 470 Creating Interactive Controls 470 Using the Touch Screen 471 Using the Device Keys, Buttons, and D-Pad 475 Using the On Key Listener 475 Using the Trackball 476 Advanced Drawable Resources 476 Composite Drawables 476 Transformative Drawables 476 Layer Drawables 477 State List Drawables 478 Level List Drawables 479 Copy, Paste, and the Clipboard 479 Copying Data to the Clipboard 479 Pasting Clipboard Data 480 CHAPTER 12: HARDWARE SENSORS 481 Using Sensors and the Sensor Manager 482 Supported Android Sensors 482 Introducing Virtual Sensors 483 Finding Sensors 484 Monitoring Sensors 485 Interpreting Sensor Values 487 Monitoring a Device's Movement and Orientation 489 Determining the Natural Orientation of a Device 490 Introducing Accelerometers 491 Detecting Acceleration Changes 492 Creating a Gravitational Force Meter 494 Determining a Device's Orientation 497 Understanding the Standard Reference Frame 497 Calculating Orientation Using the Accelerometer and Magnetic Field Sensors 498 Remapping the Orientation Reference Frame 500 Determining Orientation Using the Deprecated Orientation Sensor 501 xxvili

14 Creating a Compass and Artificial Horizon 502 Introducing the Gyroscope Sensor 505 Introducing the Environmental Sensors 506 Using the Barometer Sensor 506 Creating a Weather Station 508 CHAPTER 13: MAPS, GEOCODING, AND LOCATION-BASED SERVICES 513 Using Location-Based Services 514 Using the Emulator with Location-Based Services 515 Updating Locations in Emulator Location Providers 515 Configuring the Emulator to Test Location-Based Services 516 Selecting a Location Provider 516 Finding Location Providers 517 Finding Location Providers by Specifying Criteria 517 Determining Location Provider Capabilities 518 Finding Your Current Location 519 Location Privacy 519 Finding the Last Known Location 519 Where Am I Example 519 Refreshing the Current Location 522 Tracking Your Location in Where Am I 525 Requesting a Single Location Update 527 Best Practice for Location Updates 527 Monitoring Location Provider Status and Availability 528 Using Proximity Alerts 530 Using the Geocoder 532 Reverse Geocoding 533 Forward Geocoding 534 Geocoding Where Am I 535 Creating Map-Based Activities 536 Introducing Map View and Map Activity 537 Getting Your Maps API Key 537 Getting Your Development/Debugging MD5 Fingerprint 537 Getting your Production/Release MD5 Fingerprint 538 Creating a Map-Based Activity 538 Maps and Fragments 540 Configuring and Using Map Views 541 Using the Map Controller 541 Mapping Where Am I 542

15 Creating and Using Overlays 546 Creating New Overlays 546 Introducing Projections 547 Drawing on the Overlay Canvas 547 Handling Map Tap Events 548 Adding and Removing Overlays 549 Annotating Where Am I 549 Introducing My Location Overlay 553 Introducing Itemized Overlays and Overlay Items 554 Pinning Views to the Map and Map Positions 556 Mapping Earthquakes Example 558 CHAPTER 14: INVADING THE HOME SCREEN 565 Introducing Home Screen Widgets 566 Creating App Widgets 567 Creating the Widget XML Layout Resource 567 Widget Design Guidelines 567 Supported Widget Views and Layouts 568 Defining Your Widget Settings 569 Creating Your Widget Intent Receiver and Adding It to the Application Manifest 570 Introducing the App Widget Manager and Remote Views 572 Creating and Manipulating Remote Views 572 Applying Remote Views to Running App Widgets 574 Using Remote Views to Add Widget Interactivity 575 Refreshing Your Widgets 577 Using the Minimum Update Rate 577 Using Intents 578 Using Alarms 579 Creating and Using a Widget Configuration Activity 580 Creating an Earthquake Widget 582 Introducing Collection View Widgets 587 Creating Collection View Widget Layouts 589 Creating the Remote Views Service 591 Creating a Remote Views Factory 591 Populating Collection View Widgets Using a Remote Views Service 594 Adding Interactivity to the Items Within a Collection View Widget 595 Binding Collection View Widgets to Content Providers 596 Refreshing Your Collection View Widgets 598 Creating an Earthquake Collection View Widget 598 XXX

16 Introducing Live Folders 605 Creating Live Folders 606 The Live Folder Content Provider. 606 The Live Folder Activity 608 Creating an Earthquake Live Folder 610 Surfacing Application Search Results Using the Quick Search Box 614 Surfacing Search Results to the Quick Search Box 614 Adding the Earthquake Example Search Results to the Quick Search Box 615 Creating Live Wallpaper 616 Creating a Live Wallpaper Definition Resource 616 Creating a Wallpaper Service 617 Creating a Wallpaper Service Engine 618 CHAPTER 15: AUDIO, VIDEO, AND USING THE CAMERA 621 Playing Audio and Video 622 Introducing the Media Player 623 Preparing Audio for Playback 624 Initializing Audio Content for Playback 624 Preparing Video for Playback 625 Playing Video Using the Video View 625 Creating a Surface for Video Playback 626 Controlling Media Player Playback 629 Managing Media Playback Output 631 Responding to the Volume Controls 631 Responding to the Media Playback Controls 632 Requesting and Managing Audio Focus 635 Pausing Playback When the Output Changes 637 Introducing the Remote Control Client 637 Manipulating Raw Audio 640 Recording Sound with Audio Record 640 Playing Sound with Audio Track 642 Creating a Sound Pool 643 Using Audio Effects 645 Using the Camera for Taking Pictures 646 Using Intents to Take Pictures 646 Controlling the Camera Directly 648 Camera Properties 648 Camera Settings and Image Parameters 649 Controlling Auto Focus, Focus Areas, and Metering Areas 650 xxxi

17 Using the Camera Preview 651 Detecting Faces and Facial Features 653 Taking a Picture 654 Reading and Writing JPEG EXIF Image Details 655 Recording Video 656 Using Using Intents to Record Video 656 the Media Recorder to Record Video 657 Configuring the Video Recorder 658 Previewing the Video Stream 660 Controlling the Recording 660 Creating a Time-Lapse Video 661 Using Media Effects 661 Adding Media to the Media Store 662 Inserting Media Using the Media Scanner 662 Inserting Media Manually 663 CHAPTER 16: BLUETOOTH, NFC, NETWORKS, AND WI-FI 665 Using Bluetooth 666 Managing the Local Bluetooth Device Adapter 666 Being Discoverable and Remote Device Discovery 669 Managing Device Discoverability 669 Discovering Remote Devices 671 Bluetooth Communications 673 Opening a Bluetooth Server Socket Listener 674 Selecting Remote Bluetooth Devices for Communications 675 Opening a Client Bluetooth Socket Connection 676 Transmitting Data Using Bluetooth Sockets 677 Managing Network and Internet Connectivity 679 Introducing the Connectivity Manager 679 Supporting User Preferences for Background Data Transfers 679 Finding and Monitoring Network Connectivity 681 Managing Wi-Fi 682 Monitoring Wi-Fi Connectivity 683 Monitoring Active Wi-Fi Connection Details 684 Scanning for Hotspots 684 Managing Wi-Fi Configurations 685 Creating Wi-Fi Network Configurations 685 Transferring Data Using Wi-Fi Direct 686 Initializing the Wi-Fi Direct Framework 686 Enabling Wi-Fi Direct and Monitoring Its Status 688 xxxli

18 Discovering Peers 689 Connecting with Peers 690 Transferring Data Between Peers 692 Near Field Communication 693 Reading NFC Tags 693 Using the Foreground Dispatch System 695 Introducing Android Beam 697 Creating Android Beam Messages 697 Assigning the Android Beam Payload 699 Receiving Android Beam Messages 699 CHAPTER 17: TELEPHONY AND SMS 701 Hardware Support for Telephony 701 Marking Telephony as a Required Hardware Feature 702 Checking for Telephony Hardware 702 Using Telephony 702 Initiating Phone Calls 703 Replacing the Native Dialer 703 Accessing Telephony Properties and Phone State 705 Reading Phone Device Details 705 Reading Network Details 706 Reading SIM Details 707 Reading Data Connection and Transfer State Details 707 Monitoring Changes in Phone State Using the Phone State Listener. 708 Monitoring Incoming Phone Calls 709 Tracking Cell Location Changes 710 Tracking Service Changes 710 Monitoring Data Connectivity and Data Transfer Status Changes 711 Using Intent Receivers to Monitor Incoming Phone Calls ( 712 Introducing SMS and MMS 713 Using SMS and MMS in Your Application 713 Sending SMS and MMS from Your Application Using Intents 713 Sending SMS Messages Using the SMS Manager 714 Sending Text Messages 715 Tracking and Confirming SMS Message Delivery 715 Conforming to the Maximum SMS Message Size 717 Sending Data Messages 717 Listening for Incoming SMS Messages 717 Simulating Incoming SMS Messages in the Emulator 719 Handling Data SMS Messages 719 xxxifi

19 Emergency Responder SMS Example 720 Automating the Emergency Responder 729 Introducing SIP and VOIP 737 CHAPTER 18: ADVANCED ANDROID DEVELOPMENT 739 Paranoid Android 740 Linux Kernel Security 740 Introducing Permissions 740 Declaring and Enforcing Permissions 741 Enforcing Permissions when Broadcasting Intents 742 Introducing Cloud to Device Messaging 743 C2DM Restrictions 743 Signing Up to Use C2DM 744 Registering Devices with a C2DM Server 744 Sending C2DM Messages to Devices 748 Receiving C2DM Messages 749 Implementing Copy Protection Using the License Verification Library 750 Installing the License Verification Library 750 Finding Your License Verification Public Key 751 Configuring Your License Validation Policy 751 Performing License Validation Checks 752 Introducing In-App Billing 753 In-App Billing Restrictions 754 Installing the In-App Billing Library 754 Finding Your Public Key and Defining Your Purchasable Items 754 Initiating In-App Billing Transactions 755 Handling In-App Billing Purchase Request Responses 756 Using Wake Locks 757 Using AIDL to Support Inter-Process Communication for Services 759 Implementing an AIDL Interface 759 Making Classes Parcelable 759 Creating an AIDL Service Definition 762 Implementing and Exposing the AIDL Service Definition 762 Dealing with Different Hardware and Software Availability 765 Specifying Hardware as Required 766 Confirming Hardware Availability 766 Building Backward-Compatible Applications 766 Parallel Activities 767 Interfaces and Fragments 768 Optimizing Ul Performance with Strict Mode 769 xxxiv

20 CHAPTER 19: MONETIZING, PROMOTING, AND DISTRIBUTING APPLICATIONS 771 Signing and Publishing Applications 772 Signing Applications Using the Export Android Application Wizard 772 Distributing Applications 774 Introducing the Google Play 774 Getting Started with Google Play 775 Publishing Applications 776 Application Reports Within the Developer Console 778 Accessing Application Error Reports 778 An Introduction to Monetizing Your Applications 779 Application Marketing, Promotion, and Distribution Strategies 780 Application Launch Strategies 781 Promotion Within Google Play 781 Internationalization 782 Analytics and Referral Tracking 783 Using Google Analytics for Mobile Applications 784 Referral Tracking with Google Analytics 786 INDEX 787 xxxv

INTERMEDIATE ANDROID DEVELOPMENT Course Syllabus

INTERMEDIATE ANDROID DEVELOPMENT Course Syllabus 6111 E. Skelly Drive P. O. Box 477200 Tulsa, OK 74147-7200 INTERMEDIATE ANDROID DEVELOPMENT Course Syllabus Course Number: APD-0248 OHLAP Credit: No OCAS Code: None Course Length: 120 Hours Career Cluster:

More information

COURSE CONTENT. GETTING STARTED Select Android Version Create RUN Configuration Create Your First Android Activity List of basic sample programs

COURSE CONTENT. GETTING STARTED Select Android Version Create RUN Configuration Create Your First Android Activity List of basic sample programs COURSE CONTENT Introduction Brief history of Android Why Android? What benefits does Android have? What is OHA & PHA Why to choose Android? Software architecture of Android Advantages, features and market

More information

1. Introduction to Android

1. Introduction to Android 1. Introduction to Android Brief history of Android What is Android? Why is Android important? What benefits does Android have? What is OHA? Why to choose Android? Software architecture of Android Advantages

More information

CHAPTER 1: INTRODUCTION TO ANDROID, MOBILE DEVICES, AND THE MARKETPLACE

CHAPTER 1: INTRODUCTION TO ANDROID, MOBILE DEVICES, AND THE MARKETPLACE FOREWORD INTRODUCTION xxiii xxv CHAPTER 1: INTRODUCTION TO ANDROID, MOBILE DEVICES, AND THE MARKETPLACE 1 Product Comparison 2 The.NET Framework 2 Mono 3 Mono for Android 4 Mono for Android Components

More information

Developer's Cookbook. Building Applications with. The Android. the Android SDK. A Addison-Wesley. James Steele Nelson To

Developer's Cookbook. Building Applications with. The Android. the Android SDK. A Addison-Wesley. James Steele Nelson To The Android Developer's Cookbook Building Applications with the Android SDK James Steele Nelson To A Addison-Wesley Upper Saddle River, NJ Boston «Indianapolis San Francisco New York Toronto Montreal London

More information

ITG Software Engineering

ITG Software Engineering Basic Android Development Course ID: Page 1 Last Updated 12/15/2014 Basic Android Development ITG Software Engineering Course Overview: This 5 day course gives students the fundamental basics of Android

More information

Getting Started with Android Programming (5 days) with Android 4.3 Jelly Bean

Getting Started with Android Programming (5 days) with Android 4.3 Jelly Bean Getting Started with Android Programming (5 days) with Android 4.3 Jelly Bean Course Description Getting Started with Android Programming is designed to give students a strong foundation to develop apps

More information

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013 Mobility Introduction Android Duration 16 Working days Start Date 1 st Oct 2013 Day 1 1. Introduction to Mobility 1.1. Mobility Paradigm 1.2. Desktop to Mobile 1.3. Evolution of the Mobile 1.4. Smart phone

More information

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Our program is a practical knowledge oriented program aimed at making innovative and attractive applications for mobile

More information

ANDROID INTRODUCTION TO ANDROID

ANDROID INTRODUCTION TO ANDROID ANDROID JAVA FUNDAMENTALS FOR ANDROID Introduction History Java Virtual Machine(JVM) JDK(Java Development Kit) JRE(Java Runtime Environment) Classes & Packages Java Basics Data Types Variables, Keywords,

More information

Here to take you beyond Mobile Application development using Android Course details

Here to take you beyond Mobile Application development using Android Course details Here to take you beyond Mobile Application development using Android Course details Mobile Application Development using Android Objectives: To get you started with writing mobile application using Android

More information

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP) Android Syllabus Pre-requisite: C, C++, Java Programming JAVA Concepts OOPs Concepts Inheritance in detail Exception handling Packages & interfaces JVM &.jar file extension Collections HashTable,Vector,,List,

More information

Table of Contents. Adding Build Targets to the SDK 8 The Android Developer Tools (ADT) Plug-in for Eclipse 9

Table of Contents. Adding Build Targets to the SDK 8 The Android Developer Tools (ADT) Plug-in for Eclipse 9 SECOND EDITION Programming Android kjj *J} Zigurd Mednieks, Laird Dornin, G. Blake Meike, and Masumi Nakamura O'REILLY Beijing Cambridge Farnham Koln Sebastopol Tokyo Table of Contents Preface xiii Parti.

More information

Google Android Syllabus

Google Android Syllabus Google Android Syllabus Introducing the Android Computing Platform A New Platform for a New Personal Computer Early History of Android Delving Into the Dalvik VM Understanding the Android Software Stack

More information

«compl*tc IDIOT'S GUIDE. Android App. Development. by Christopher Froehlich ALPHA. A member of Penguin Group (USA) Inc.

«compl*tc IDIOT'S GUIDE. Android App. Development. by Christopher Froehlich ALPHA. A member of Penguin Group (USA) Inc. «compl*tc IDIOT'S GUIDE Android App Development by Christopher Froehlich A ALPHA A member of Penguin Group (USA) Inc. Contents Part 1: Getting Started 1 1 An Open Invitation 3 Starting from Scratch 3 Software

More information

Android Developer Fundamental 1

Android Developer Fundamental 1 Android Developer Fundamental 1 I. Why Learn Android? Technology for life. Deep interaction with our daily life. Mobile, Simple & Practical. Biggest user base (see statistics) Open Source, Control & Flexibility

More information

Mobile App Design and Development

Mobile App Design and Development Mobile App Design and Development The course includes following topics: Apps Development 101 Introduction to mobile devices and administrative: Mobile devices vs. desktop devices ARM and intel architectures

More information

Des Moines Area Community College

Des Moines Area Community College Des Moines Area Community College Course Information EFFECTIVE FL 2012-01 Acronym/Number MDT 210 Historical Ref Title Android App Development II Credit breakout 3 3 0 0 0 (credit lecture lab practicum

More information

INFORMATION BROCHURE

INFORMATION BROCHURE INFORMATION BROCHURE OF ADVANCE COURSE ON MOBILE APPLICATION DEVELOPMENT USING ANDROID PROGRAMMING (Specialization: Android Programming) National Institute of Electronics & Information Technology (An Autonomous

More information

Introduction to Android

Introduction to Android Introduction to Android Poll How many have an Android phone? How many have downloaded & installed the Android SDK? How many have developed an Android application? How many have deployed an Android application

More information

Android in Action. Second Edition. Revised Edition of Unlocking Android MANNING. (74 w. long.) W. FRANK ABLESON CHRIS KING ROBI SEN.

Android in Action. Second Edition. Revised Edition of Unlocking Android MANNING. (74 w. long.) W. FRANK ABLESON CHRIS KING ROBI SEN. Android in Action Second Edition W. FRANK ABLESON ROBI SEN CHRIS KING Revised Edition of Unlocking Android II MANNING Greenwich (74 w. long.) contents preface xvii preface to the first edition xix acknowledgments

More information

Android Application Development

Android Application Development Android Application Development 3TECHSOFT INNOVATION*INTELLIGENCE*INFORMATION Effective from: JUNE 2013 Noida Office: A-385, Noida (UP)- 201301 Contact us: Email: hr@3techsoft.com Website: www.3techsoft.com

More information

Introduction to Tizen SDK 2.0.0 Alpha. Taiho Choi Samsung Electronics

Introduction to Tizen SDK 2.0.0 Alpha. Taiho Choi Samsung Electronics Introduction to Tizen SDK 2.0.0 Alpha Taiho Choi Samsung Electronics Contents Web technologies of Tizen Components of SDK 2.0.0 Alpha Hello world! Debugging apps Summary 1 Web technologies on Tizen Web

More information

Module Title: Software Development A: Mobile Application Development

Module Title: Software Development A: Mobile Application Development Module Title: Software Development A: Mobile Application Development Module Code: SDA SDA prerequisites: CT1, HS1, MS001, CA Award of BSc. In Information Technology The Bachelor of Science in Information

More information

ANDROID PROGRAMMING - INTRODUCTION. Roberto Beraldi

ANDROID PROGRAMMING - INTRODUCTION. Roberto Beraldi ANDROID PROGRAMMING - INTRODUCTION Roberto Beraldi Introduction Android is built on top of more than 100 open projects, including linux kernel To increase security, each application runs with a distinct

More information

Lecture 1 Introduction to Android

Lecture 1 Introduction to Android These slides are by Dr. Jaerock Kwon at. The original URL is http://kettering.jrkwon.com/sites/default/files/2011-2/ce-491/lecture/alecture-01.pdf so please use that instead of pointing to this local copy

More information

Android (Basic + Advance) Application Development

Android (Basic + Advance) Application Development Android (Basic + Advance) Application Development You will learn how to create custom widgets, create animations, work with camera, use sensors, create and use advanced content providers and much more.

More information

Introduction to Android

Introduction to Android Introduction to Android Android Smartphone Programming Matthias Keil Institute for Computer Science Faculty of Engineering October 19, 2015 Outline 1 What is Android? 2 Development on Android 3 Applications:

More information

Introduction to Android Development. Jeff Avery CS349, Mar 2013

Introduction to Android Development. Jeff Avery CS349, Mar 2013 Introduction to Android Development Jeff Avery CS349, Mar 2013 Overview What is Android? Android Architecture Overview Application Components Activity Lifecycle Android Developer Tools Installing Android

More information

Workshop on Android and Applications Development

Workshop on Android and Applications Development Workshop on Android and Applications Development Duration: 2 Days (8 hrs/day) Introduction: With over one billion devices activated, Android is an exciting space to make apps to help you communicate, organize,

More information

A Short Introduction to Android

A Short Introduction to Android A Short Introduction to Android Notes taken from Google s Android SDK and Google s Android Application Fundamentals 1 Plan For Today Lecture on Core Android Three U-Tube Videos: - Architecture Overview

More information

An Introduction to Android

An Introduction to Android An Introduction to Android Michalis Katsarakis M.Sc. Student katsarakis@csd.uoc.gr Tutorial: hy439 & hy539 16 October 2012 http://www.csd.uoc.gr/~hy439/ Outline Background What is Android Android as a

More information

Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner

Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner 1 vk» Java 7 Recipes (,\['«** - < g!p#«josh Juneau Carl Dea Freddy Guime John O'Conner Contents J Contents at a Glance About the Authors About the Technical Reviewers Acknowledgments Introduction iv xvi

More information

ANDROID TRAINING COURSE MODULES. Module-I: Introduction to Android. Introducing Android. Installing Development Tools. Using the Emulator.

ANDROID TRAINING COURSE MODULES. Module-I: Introduction to Android. Introducing Android. Installing Development Tools. Using the Emulator. ANDROID TRAINING COURSE MODULES Module-I: Introduction to Android Introducing Android. Installing Development Tools. Using the Emulator. Android developer tools. Eclipse, IDEs and Tools. Module-II: Introduction

More information

ANDROID BASED MOBILE APPLICATION DEVELOPMENT and its SECURITY

ANDROID BASED MOBILE APPLICATION DEVELOPMENT and its SECURITY ANDROID BASED MOBILE APPLICATION DEVELOPMENT and its SECURITY Suhas Holla #1, Mahima M Katti #2 # Department of Information Science & Engg, R V College of Engineering Bangalore, India Abstract In the advancing

More information

Professional Tizen Application Development

Professional Tizen Application Development Brochure More information from http://www.researchandmarkets.com/reports/2617239/ Professional Tizen Application Development Description: Create powerful, marketable applications with Tizen for the smartphone

More information

An Introduction to Android Application Development. Serdar Akın, Haluk Tüfekçi

An Introduction to Android Application Development. Serdar Akın, Haluk Tüfekçi An Introduction to Android Application Serdar Akın, Haluk Tüfekçi ARDIC ARGE http://www.ardictech.com April 2011 Environment Programming Languages Java (Officially supported) C (Android NDK Needed) C++

More information

Development. SriSeshaa Technologies. Table of Contents

Development. SriSeshaa Technologies. Table of Contents SriSeshaa Technologies Development Table of Contents SriSeshaa Android Development... 2 Introduction to Android... 3 SriSeshaa Capabilities... 3 SriSeshaa Android Case Studies... 5 Privacy Guard... 5 Backup

More information

Overview of CS 282 & Android

Overview of CS 282 & Android Overview of CS 282 & Android Douglas C. Schmidt d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282

More information

Expert Android Apps Development

Expert Android Apps Development Course Contents: 1. 2D Animations Frame-by-Frame Animation o Planning for Frame-by-Frame Animation o Creating the Activity o Adding Animation to the Activity Layout Animation o Basic Tweening Animation

More information

Android Application Development. Daniel Switkin Senior Software Engineer, Google Inc.

Android Application Development. Daniel Switkin Senior Software Engineer, Google Inc. Android Application Development Daniel Switkin Senior Software Engineer, Google Inc. Goal Get you an idea of how to start developing Android applications Introduce major Android application concepts Walk

More information

Creating and Using Databases for Android Applications

Creating and Using Databases for Android Applications Creating and Using Databases for Android Applications Sunguk Lee * 1 Research Institute of Industrial Science and Technology Pohang, Korea sunguk@rist.re.kr *Correspondent Author: Sunguk Lee* (sunguk@rist.re.kr)

More information

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

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Who am I? Lo Chi Wing, Peter Lecture 1: Introduction to Android Development Email: Peter@Peter-Lo.com Facebook: http://www.facebook.com/peterlo111

More information

Graduate presentation for CSCI 5448. By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu )

Graduate presentation for CSCI 5448. By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu ) Graduate presentation for CSCI 5448 By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu ) Content What is Android?? Versions and statistics Android Architecture Application Components Inter Application

More information

Getting started with Android and App Engine

Getting started with Android and App Engine Getting started with Android and App Engine About us Tim Roes Software Developer (Mobile/Web Solutions) at inovex GmbH www.timroes.de www.timroes.de/+ About us Daniel Bälz Student/Android Developer at

More information

Running a Program on an AVD

Running a Program on an AVD Running a Program on an AVD Now that you have a project that builds an application, and an AVD with a system image compatible with the application s build target and API level requirements, you can run

More information

Android Application Development Distance Learning Program Brochure

Android Application Development Distance Learning Program Brochure Android Application Development Distance Learning Program Brochure About gnxt Systems gnxt systems is an IT professional services and product development company. We provide global solutions in the areas

More information

[PACKTl. Flash Development for Android Cookbook. Flash, Flex, and AIR. Joseph Labrecque. Over 90 recipes to build exciting Android applications with

[PACKTl. Flash Development for Android Cookbook. Flash, Flex, and AIR. Joseph Labrecque. Over 90 recipes to build exciting Android applications with Flash Development for Android Cookbook Over 90 recipes to build exciting Android applications with Flash, Flex, and AIR Joseph Labrecque [PACKTl III IV I V I J PUBLISHING BIRMINGHAM - MUMBAI Preface 1

More information

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development Android Development Lecture AD 0 Android SDK & Development Environment 2013/2014 Parma Università degli Studi di Parma Lecture Summary Android Module Overview The Android Platform Android Environment Setup

More information

Introduction to Android

Introduction to Android Introduction to Android Ref: Wei-Meng Lee, BEGINNING ANDROID 4 APPLICATION DEVELOPMENT, Ch1, John Wiley & Sons, 2012 1. What is Android Android is a mobile operating system that is based on a modified

More information

Introduction to Android: Hello, Android! 26 Mar 2010 CMPT166 Dr. Sean Ho Trinity Western University

Introduction to Android: Hello, Android! 26 Mar 2010 CMPT166 Dr. Sean Ho Trinity Western University Introduction to Android: Hello, Android! 26 Mar 2010 CMPT166 Dr. Sean Ho Trinity Western University Android OS Open-source mobile OS (mostly Apache licence) Developed by Google + Open Handset Alliance

More information

Praktikum Entwicklung Mediensysteme (für Master)

Praktikum Entwicklung Mediensysteme (für Master) Praktikum Entwicklung Mediensysteme (für Master) An Introduction to Android An Introduction to Android What is Android? Installation Getting Started Anatomy of an Android Application Life Cycle of an Android

More information

Introduction to Android. CSG250 Wireless Networks Fall, 2008

Introduction to Android. CSG250 Wireless Networks Fall, 2008 Introduction to Android CSG250 Wireless Networks Fall, 2008 Outline Overview of Android Programming basics Tools & Tricks An example Q&A Android Overview Advanced operating system Complete software stack

More information

MA-WA1920: Enterprise iphone and ipad Programming

MA-WA1920: Enterprise iphone and ipad Programming MA-WA1920: Enterprise iphone and ipad Programming Description This 5 day iphone training course teaches application development for the ios platform. It covers iphone, ipad and ipod Touch devices. This

More information

Contents. New features. Getting started. Entertainment. Transferring data. Managing your phone. Tools

Contents. New features. Getting started. Entertainment. Transferring data. Managing your phone. Tools User Guide Contents New features 1 Read before use 1 Unlocking with fingerprint 3 Safe 3 All focus mode 4 Taking photos from the timeline album screen 5 Scanning a QR code 6 Protecting your privacy Getting

More information

Beginning BlackBerry 7

Beginning BlackBerry 7 Beginning BlackBerry 7 Development Robert Kao Dante Sarigumba With Anthony Rizk and Kevin Michaluk Apress* Contents Contents at a Glance About the Authors About the Technical Reviewer Acknowledgments iv

More information

Android Application Development

Android Application Development Android Application Development Self Study Self Study Guide Content: Course Prerequisite Course Content Android SDK Lab Installation Guide Start Training Be Certified Exam sample Course Prerequisite The

More information

Learning ios Programming

Learning ios Programming SECOND EDITION Learning ios Programming Alasdair Allan Beijing Cambridge Farnham Koln Sebastopol O'REILLY Tokyo Table of Contents Preface ix 1. Why Go Native? 1 The Pros and Cons 1 Why Write Native Applications?

More information

060010702 Mobile Application Development 2014

060010702 Mobile Application Development 2014 Que 1: Short question answer. Unit 1: Introduction to Android and Development tools 1. What kind of tool is used to simulate Android application? 2. Can we use C++ language for Android application development?

More information

Practical Android Projects Lucas Jordan Pieter Greyling

Practical Android Projects Lucas Jordan Pieter Greyling Practical Android Projects Lucas Jordan Pieter Greyling Apress s w«^* ; i - -i.. ; Contents at a Glance Contents --v About the Authors x About the Technical Reviewer xi PAcknowiedgments xii Preface xiii

More information

Point of View Mobii 925 - Android 4.2 Tablet PC. General notices for use... 2 Disclaimer... 2 Box Contents... 2

Point of View Mobii 925 - Android 4.2 Tablet PC. General notices for use... 2 Disclaimer... 2 Box Contents... 2 Table of Contents General notices for use... 2 Disclaimer... 2 Box Contents... 2 1.0 Product basics... 3 1.1 Buttons and connections... 3 1.2 Start up and shut down... 3 2.0 Introduction to Google Android

More information

Android Architecture. Alexandra Harrison & Jake Saxton

Android Architecture. Alexandra Harrison & Jake Saxton Android Architecture Alexandra Harrison & Jake Saxton Overview History of Android Architecture Five Layers Linux Kernel Android Runtime Libraries Application Framework Applications Summary History 2003

More information

Building an Android client. Rohit Nayak Talentica Software

Building an Android client. Rohit Nayak Talentica Software Building an Android client Rohit Nayak Talentica Software Agenda iphone and the Mobile App Explosion How mobile apps differ Android philosophy Development Platform Core Android Concepts App Demo App Dissection

More information

Wiley Publishing, Inc.

Wiley Publishing, Inc. CREATING ANDROID AND IPHONE APPLICATIONS Richard Wagner WILEY Wiley Publishing, Inc. INTRODUCTION xv CHAPTER 1: INTRODUCING FLASH DEVELOPMENT FOR MOBILE DEVICES 3 Expanding to the Mobile World 3 Discovering

More information

Introduction (Apps and the Android platform)

Introduction (Apps and the Android platform) Introduction (Apps and the Android platform) CE881: Mobile and Social Application Programming Simon Lucas & Spyros Samothrakis January 13, 2015 1 / 38 1 2 3 4 2 / 38 Course Structure 10 weeks Each week:

More information

Jordan Jozwiak November 13, 2011

Jordan Jozwiak November 13, 2011 Jordan Jozwiak November 13, 2011 Agenda Why Android? Application framework Getting started UI and widgets Application distribution External libraries Demo Why Android? Why Android? Open source That means

More information

ANDROID OPERATING SYSTEM

ANDROID OPERATING SYSTEM ANDROID OPERATING SYSTEM Himanshi Grover,Devesh Agrawal IT Department, Dronacharya College Of Engg Gurgaon,Haryana,India Abstract - Android has become need rather than luxury these days. The computing

More information

CRESTRON-APP/CRESTRON-APP-PAD Control App for Apple ios

CRESTRON-APP/CRESTRON-APP-PAD Control App for Apple ios 1 Introduction The Crestron apps CRESTRON-APP and CRESTRON-APP-PAD provide a Smart Graphics touch screen user interface on Apple devices running the ios operating system. CRESTRON-APP can also provide

More information

Android Development. Marc Mc Loughlin

Android Development. Marc Mc Loughlin Android Development Marc Mc Loughlin Android Development Android Developer Website:h:p://developer.android.com/ Dev Guide Reference Resources Video / Blog SeCng up the SDK h:p://developer.android.com/sdk/

More information

Tizen Core APIs: A Core Framework Layer To Build In-House Applications. Jin-Woo Jeong

Tizen Core APIs: A Core Framework Layer To Build In-House Applications. Jin-Woo Jeong Tizen Core APIs: A Core Framework Layer To Build In-House Applications Jin-Woo Jeong Tizen Architecture Tizen Architecture HTML5/ W3C Device APIs Web Runtime Social, Media, Web, Messages, Location Base

More information

Data Tool Platform SQL Development Tools

Data Tool Platform SQL Development Tools Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6

More information

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Why Android? ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Dr Dimitris C. Dracopoulos A truly open, free development platform based on Linux and open source A component-based

More information

Development. Wiley Publishing, Inc. BUILDING APPLICATIONS AND GAMES USING. Christopher Fairbairn VISUAL STUDIO, SILVERLIGHT, AND XNA.

Development. Wiley Publishing, Inc. BUILDING APPLICATIONS AND GAMES USING. Christopher Fairbairn VISUAL STUDIO, SILVERLIGHT, AND XNA. Development BUILDING APPLICATIONS AND GAMES USING VISUAL STUDIO, SILVERLIGHT, AND XNA Nick Randolph Christopher Fairbairn WILEY Wiley Publishing, Inc. INTRODUCTION xxv CHAPTER 1: TAKING THE METRO WITH

More information

ANDROID PROGRAMMING - INTRODUCTION. Roberto Beraldi

ANDROID PROGRAMMING - INTRODUCTION. Roberto Beraldi ANDROID PROGRAMMING - INTRODUCTION Roberto Beraldi Introduction Android is built on top of more than 100 open projects, including linux kernel To increase security, each application runs with a distinct

More information

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities App Development for Smart Devices CS 495/595 - Fall 2011 Lec #2: Android Tools, Building Applications, and Activities Tamer Nadeem Dept. of Computer Science Objective Understand Android Tools Setup Android

More information

Android Geek Night. Application framework

Android Geek Night. Application framework Android Geek Night Application framework Agenda 1. Presentation 1. Trifork 2. JAOO 2010 2. Google Android headlines 3. Introduction to an Android application 4. New project using ADT 5. Main building blocks

More information

Developing NFC Applications on the Android Platform. The Definitive Resource

Developing NFC Applications on the Android Platform. The Definitive Resource Developing NFC Applications on the Android Platform The Definitive Resource Part 1 By Kyle Lampert Introduction This guide will use examples from Mac OS X, but the steps are easily adaptable for modern

More information

Programming with Android

Programming with Android Praktikum Mobile und Verteilte Systeme Programming with Android Prof. Dr. Claudia Linnhoff-Popien Philipp Marcus, Mirco Schönfeld http://www.mobile.ifi.lmu.de Sommersemester 2015 Programming with Android

More information

Android Application Development - Exam Sample

Android Application Development - Exam Sample Android Application Development - Exam Sample 1 Which of these is not recommended in the Android Developer's Guide as a method of creating an individual View? a Create by extending the android.view.view

More information

Android Development Tutorial. Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011

Android Development Tutorial. Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Android Development Tutorial Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Database connections Local SQLite and remote access Outline Setting up the Android Development Environment (Windows)

More information

Android Basics. Xin Yang 2016-05-06

Android Basics. Xin Yang 2016-05-06 Android Basics Xin Yang 2016-05-06 1 Outline of Lectures Lecture 1 (45mins) Android Basics Programming environment Components of an Android app Activity, lifecycle, intent Android anatomy Lecture 2 (45mins)

More information

How To Develop An Android App On An Android Device

How To Develop An Android App On An Android Device 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 Googleand used according to terms described

More information

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone - 2012

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone - 2012 Android Development Lecture 1 Android SDK & Development Environment Università Degli Studi di Parma Lecture Summary - 2 The Android Platform Android Environment Setup SDK Eclipse & ADT SDK Manager Android

More information

Application Development

Application Development BEGINNING Android Application Development Wei-Meng Lee WILEY Wiley Publishing, Inc. INTRODUCTION xv CHAPTER 1: GETTING STARTED WITH ANDROID PROGRAMMING 1 What Is Android? 2 Android Versions 2 Features

More information

Quareo ICM Server Software

Quareo ICM Server Software The Quareo Infrastructure Configuration Manager (ICM) is a server software application designed to document and administer both passive and active network connectivity infrastructure. ICM enables management

More information

Point of View ProTab 3XXL IPS - Android 4.0 Tablet PC. Contents... 1 General notices for use... 2 Disclaimer... 2 Box Contents...

Point of View ProTab 3XXL IPS - Android 4.0 Tablet PC. Contents... 1 General notices for use... 2 Disclaimer... 2 Box Contents... Point of View ProTab 3XXL IPS - Android 4.0 Tablet PC English Contents Contents... 1 General notices for use... 2 Disclaimer... 2 Box Contents... 2 1.0 Product basics... 3 1.1 Buttons and connections...

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

Connecting Software Connect Bridge - Mobile CRM Android User Manual

Connecting Software Connect Bridge - Mobile CRM Android User Manual Connect Bridge - Mobile CRM Android User Manual Summary This document describes the Android app Mobile CRM, its functionality and features available. The document is intended for end users as user manual

More information

Mobile Phones Operating Systems

Mobile Phones Operating Systems Mobile Phones Operating Systems José Costa Software for Embedded Systems Departamento de Engenharia Informática (DEI) Instituto Superior Técnico 2015-05-28 José Costa (DEI/IST) Mobile Phones Operating

More information

CS378 -Mobile Computing. Android Overview and Android Development Environment

CS378 -Mobile Computing. Android Overview and Android Development Environment CS378 -Mobile Computing Android Overview and Android Development Environment What is Android? A software stack for mobile devices that includes An operating system Middleware Key Applications Uses Linux

More information

Document Number: 13004.25-4.5.2-6/15/2012

Document Number: 13004.25-4.5.2-6/15/2012 Mobile Android App User Guide Copyright 2012 icontrol Networks, Inc. All rights reserved. No reproduction in whole or in part without prior written approval. icontrol Networks, icontrol, and icontrol logo

More information

HTML5 Applications Made Easy on Tizen IVI. Brian Jones / Jimmy Huang

HTML5 Applications Made Easy on Tizen IVI. Brian Jones / Jimmy Huang HTML5 Applications Made Easy on Tizen IVI Brian Jones / Jimmy Huang IVI Systems Today Lots of hardware variety. Multiple operating systems Different input devices Software development requires access to

More information

TUTORIALS AND QUIZ ANDROID APPLICATION SANDEEP REDDY PAKKER. B. Tech in Aurora's Engineering College, 2013 A REPORT

TUTORIALS AND QUIZ ANDROID APPLICATION SANDEEP REDDY PAKKER. B. Tech in Aurora's Engineering College, 2013 A REPORT TUTORIALS AND QUIZ ANDROID APPLICATION by SANDEEP REDDY PAKKER B. Tech in Aurora's Engineering College, 2013 A REPORT submitted in partial fulfillment of the requirements for the degree MASTER OF SCIENCE

More information

Технологии Java. Android: Введение. Кузнецов Андрей Николаевич. Санкт-Петербургский Государственный Политехнический Университет

Технологии Java. Android: Введение. Кузнецов Андрей Николаевич. Санкт-Петербургский Государственный Политехнический Университет Технологии Java Android: Введение Санкт-Петербургский Государственный Политехнический Университет Кузнецов Андрей Николаевич 1 2 Архитектура ОС Android See http://www.android-app-market.com/android-architecture.html

More information

Android Fundamentals 1

Android Fundamentals 1 Android Fundamentals 1 What is Android? Android is a lightweight OS aimed at mobile devices. It is essentially a software stack built on top of the Linux kernel. Libraries have been provided to make tasks

More information

Development. Wiley Publishing, Inc. 24-HOUR TRAINER. Brian Faucher WILEY

Development. Wiley Publishing, Inc. 24-HOUR TRAINER. Brian Faucher WILEY Development 24-HOUR TRAINER Brian Faucher WILEY Wiley Publishing, Inc. INTRODUCTION xxvii LESSON 1: HELLO, WINDOWS PHONE 7 3 Overview of Windows Phone 7 3 Silverlight Versus XNA 4 Silverlight 4 Microsoft

More information

Developing Android Apps for BlackBerry 10. JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012

Developing Android Apps for BlackBerry 10. JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012 Developing Android Apps for BlackBerry 10 JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012 Overview What is the BlackBerry Runtime for Android Apps? Releases and Features New Features Demo Development

More information

Firefox OS Features Guide

Firefox OS Features Guide Firefox OS Features Guide Reviewer s press@mozilla.com Guide press@mozilla.com Contents About Mozilla 1 About Firefox OS 2 Getting Started with Firefox OS 3 Web Apps and Adaptive App Search 17 Privacy

More information

Hands- On Training for Android and ios Software Developers

Hands- On Training for Android and ios Software Developers Hands- On Training for Android and ios Software Developers Hands- On Training Conquers the Learning Curve Your mobile development projects are important. We give you the knowledge and skills to get started

More information