ANDROID SERVICES Peter Liu School of ICT, Seneca College.

Slides:



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

Cosc 5/4730 Android Services. What is a service? From android developer web pages: Most confusion about the Service class actually revolves around what.
Bryan Donyanavard Nik Sumikawa. Project Description Transfer data between two mobile phones via Bluetooth. A unique cell phone movement will establish.
Lec 06 AsyncTask Local Services IntentService Broadcast Receivers.
First Person POV RC Car Using WiFi-Direct P2P video streaming and Bluetooth By Shane Langhans.
Project Objectives o Developing android application which turns standard cellular phone into a tracking device that is capable to estimate the current.
Emerging Platform#4: Android Bina Ramamurthy.  Android is an Operating system.  Android is an emerging platform for mobile devices.  Initially developed.
ANDROID UI - DEVELOP AND DESIGN Peter Liu School of ICT, Seneca College.
CS378 - Mobile Computing Connecting Devices. How to pass data between devices? – Chat – Games – Driving Options: – Use the cloud and a service such as.
CS378 - Mobile Computing What's Next?. Fragments Added in Android 3.0, a release aimed at tablets A fragment is a portion of the UI in an Activity multiple.
Intro to Android Programming George Nychis Srinivasan Seshan.
Mobile Application Development with ANDROID Tejas Lagvankar UMBC 29 April 2009.
Mobile Application Development with ANDROID. Agenda Mobile Application Development (MAD) Intro to Android platform Platform architecture Application building.
About me Yichuan Wang Android Basics Credit goes to Google and UMBC.
Team Member: Dakuo Wang, Li Zhang, Xuejie Sun, Yang Liu NETWORK INFORMATION BASE (NIB) VISUALIZATION SYSTEM.
UI Design Patterns & Best Practices Mike Wolfson July 22, 2010.
Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman MODULE 14 CASE TOOLS Learning Units 14.1 CASE tools and their importance 14.2.
Rakesh Kumar Jha M. Tech..  Master Android Development via a fun and easy to learn system  Learn step-by-step via Class Room, Online, Audio, Video Android.
Software Architecture of Android Yaodong Bi, Ph.D. Department of Computing Sciences University of Scranton.
Mobile App:IT Mobile Application Careers. MOBILE PLATFORMS The Internet is full of free websites that teach you how to code - codecademy.comcodecademy.com.
Take a leap towards the most promising technology
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
ANDROID CONTENT PROVIDERS Peter Liu School of ICT, Seneca College.
Smart Phone Laboratory ECEN 489 Srinivas Shakkottai.
Cosc 5/4730 Introduction: Threads, Android Activities, and MVC.
Android Platform. Course Instructor Yourself? Lectures, Labs, Text-Book Moodle Course Syllabus Online Resources Assessment Deadlines Code of professional.
Rajab Davudov. Agenda Eclipse, ADT and Android SDK APK file Fundamentals – Activity – Service – Content Provider – Broadcast Receiver – Intent Hello World.
COMP 365 Android Development.  Perform operations in the background  Services do not have a user interface (UI)  Can run without appearing on screen.
Mobile Application Development using Android Lecture 2.
DUE Hello World on the Android Platform.
16 Services and Broadcast Receivers CSNB544 Mobile Application Development Thanks to Utexas Austin.
Developing Secure Mobile Applications for Android CS 595 James Zachary Howland.
DataLogger For Android based on Cosm.com Presented by: Pang Zineng.
23/10/2015 E.R.Edwards 23/10/2015 Staffordshire University School of Computing Introduction to Android Sensors.
SIMPLE PARALLEL PROGRAMMING WITH PATTERNS AND OMNITHREADLIBRARY PRIMOŽ GABRIJELČIČ SKYPE: GABR42
Working in the Background Radan Ganchev Astea Solutions.
A remote control robot with webcam. Responsibilities User Interface Communicate with server Webcam Display Server Web Server Collaborators Work: Harkins.
Services 1 CS440. What is a Service?  Component that runs on background  Context.startService(), asks the system to schedule work for the service, to.
Mobile Programming Midterm Review
PhotoShare Application Phillip Hanna Jordan Hull.
Phase 3 The Software Requirements Specification. After review of the customer’s System Spec. After educated analysis Preliminary design A technical, software.
Mobile Development. Name: Saurabh Software Developer.
CS 360: Software Engineering Course Instructor: Dr. Hamid Abdul Basit Teaching Assistant: Shamsa Abid Course Project: Campus Nav Course Project: Campus.
Services Background operating component without a visual interface Running in the background indefinitely Differently from Activity, Service in Android.
Conway’s Game Of Live 1 Fall 2014 CS7020: Game Design and Development.
Technische Universität München Services, IPC and RPC Gökhan Yilmaz, Benedikt Brück.
Introduction to Android OS Димитър Н. Димитров Astea Solutions AD.
Android operating system N. Sravani M. Tech(CSE) (09251D5804)
A method for using cloud computing for Android By: Collin Molnar.
/16 Final Project Report By Facializer Team Final Project Report Eagle, Leo, Bessie, Five, Evan Dan, Kyle, Ben, Caleb.
Analyzing Input Validation vulnerabilities in Android System Services NAMJUN PARK (NPAR350)
Android intro Building UI #1: interactions. AndroidManifest.xml permissions 2.
Services. What is a Service? A Service is not a separate process. A Service is not a thread. A Service itself is actually very simple, providing two main.
The Ingredients of Android Applications. A simple application in a process In a classical programming environment, the OS would load the program code.
Android Training in Chandigarh. What is Android Android is a mobile operating system based on the Linux Kernel. The goal of android project is to create.
Developing Android Services. Objectives Creating a service that runs in background Performing long-running tasks in a separate thread Performing repeated.
Beginning Android Programming
Asynchronous Task (AsyncTask) in Android
Reactive Android Development
Lecture 7: Service Topics: Services, Playing Media.
Notification.
Android Mobile Application Development
Development-Introduction
Reactive Android Development
Android Programming Lecture 9
Developing Android Services
Application Development A Tutorial Driven Course
Emerging Platform#3 Android & Programming an App
Lecture 7: Service Topics: Services, Broadcast Receiver, Playing Media.
Android Development Introduction to Android Development 2011/01/16
Presentation transcript:

ANDROID SERVICES Peter Liu School of ICT, Seneca College

What is an Android Service? an Android application runs in the background without an user interface (i.e. UI screen) a piece of Android code that runs in the background

Android System Services the Location Service the LocationManager class the Alarm Service the AlarmManager class more examples… WiFi Service Bluetooth Service Sensor Service Programming with the APIs the getSystemService( ) methods the Manager objects

How To Program an Android Service? Diagram Three Examples Two Student Seneca Resources

How To Program an Android Service? Example 1: SimpleService the life cycle of a service Example 2: LittleIntentService the IntentService long-running background jobs a worker thread vs the UI thread data communication between an activity and a service

How To Program an Android Service? Example 2 data communication use an Intent to pass the data from an activity to a service broadcast work status from a service to an activity Should you use a thread or a service?

How To Program an Android Service? Example 3: MyService 2 forms of a service started bound (for data communication) use Intent for passing simple data use method calls to pass complex data

How To Program an Android Service? Best Practices for Background Jobs background.html background.html

Two Student Seneca Natesh’s team (Android Game) Edward Hanna at CDOT (MMDI)

Resources the course wiki developer.android.com nents/services.html