Telephony and sms API’S. Objective Telephony ➤ Initiating phone calls ➤ Reading the phone, network, data connectivity, and SIM states ➤ Monitoring changes.

Slides:



Advertisements
Similar presentations
Aspire Vertical Markets Law Office. Law Office Solutions.
Advertisements

Aspire Vertical Markets Banking, Finance and Insurance.
Google Android Introduction to Mobile Computing. Android is part of the build a better phone process Open Handset Alliance produces Android Comprises.
Android Application Development Tutorial. Topics Lecture 6 Overview Programming Tutorial 3: Sending/Receiving SMS Messages.
Unified Communications (UC) Quick Reference Guide USING YOUR UC CLIENT This guide is designed to provide you with a quick overview of the Unified Communications.
The business phone system for the next 100 years Call Manager Personal Desktop Call Management.
INTRO TO MOBILE APP DEVELOPMENT CMSC 150: Lecture 34.
MXIE overview 5/4/ Update1. MXIE Media Exchange Interface for End Users 5/4/ Update2.
Android Security. N-Degree of Separation Applications can be thought as composed by Main Functionality Several Non-functional Concerns Security is a non-functional.
MESSAGING. Overview  SMS sends short text messages between mobile phones.  Supports sending both text messages and data messages  MMS (multimedia messaging.
Ozeki Informatics Ltd. | | info.ozekiphone.com | Ozeki Informatics Ltd. | | +36.
The Android Development Environment.  Getting started on the Android Platform  Installing required libraries  Programming Android using the Eclipse.
Android 101 Application Fundamentals January 29, 2010.
ClickToPhone. ClickToPhone User Levels Beginner (answering and calling only) Intermediate (+ texting) Advanced (+ music, gallery, clock) Expert (+ 3 rd.
Cosc 5/4730 Android SMS. A note first Depending on the API level, an import changes because of a deprecated API 3 uses – import android.telephony.gsm.SmsManager;
SMS. Short Message Service – Primarily text messages between mobile phones – First one sent December 3, 1982 “Merry Christmas” – In 2008 Approximately.
Location based social networking product. Overview  Mobile Tracking System was first released in Romania in February  Currently MTS works with.
SMS Gateway OZEKI NG Document version: v Adding SMS functionality to SysAid.
Android Security Enforcement and Refinement. Android Applications --- Example Example of location-sensitive social networking application for mobile phones.
Remote Assistance  Using this program you can allow someone to work on your computer, chat with you and view your screen with your permission  The other.
Android Middleware Bo Pang
CS378 - Mobile Computing Speech to Text, Text to Speech, Telephony.
Android Declassification Infrastructure Matan David Yuval Evron Project Advisor: Roei Schuster 1.
Understanding Android Security Yinshu Wu William Enck, Machigar Ongtang, and PatrickMcDaniel Pennsylvania State University.
Cloud Control Senior Project Summer Overview Cloud Control is a platform to control data transmission to/from internet connected devices from the.
Introducing the Sudoku Example
J2ME Messaging Khanh Le. Objective  The objective of wireless messaging is to extend the networking and I/O capabilities of J2ME applications to send.
Introduction to Android Swapnil Pathak Advanced Malware Analysis Training Series.
 Understanding an activity  Starting an activity  Passing information between activities  Understanding intents  Understanding the activity lifecycle.
CS5103 Software Engineering Lecture 08 Android Development II.
Lecture 4 Page 1 CS 236 Online Prolog to Lecture 4 CS 236 On-Line MS Program Networks and Systems Security Peter Reiher.
Software Architecture of Android Yaodong Bi, Ph.D. Department of Computing Sciences University of Scranton.
CSS216 MOBILE PROGRAMMING Android, Chapter 13 Book: “Professional Android™ 2 Application Development” by Reto Meier, 2010 by: Andrey Bogdanchikov (
Java Mobile Application sms,sim,mms and barcode application Presented by Ayedh(SIM and MMS) Asad(SMS and Barcode Application)
Google Cloud Messaging for Android (GCM) is a free service that helps developers send data from servers to their Android.
Prerequisites Android Studio – io.html io.html Java.
Rajab Davudov. Agenda Eclipse, ADT and Android SDK APK file Fundamentals – Activity – Service – Content Provider – Broadcast Receiver – Intent Hello World.
Integrating with Android Services. Introduction  Android has numerous built-in functionality that can be called from within your applications  SMS/MMS.
Using Intents to Broadcast Events Intents Can be used to broadcast messages anonymously Between components via the sendBroadcast method As a result Broadcast.
DUE Hello World on the Android Platform.
CS378 - Mobile Computing Intents.
16 Services and Broadcast Receivers CSNB544 Mobile Application Development Thanks to Utexas Austin.
CS378 - Mobile Computing Intents. Allow us to use applications and components that are part of Android System – start activities – start services – deliver.
Android Boot Camp for Developers Using Java, 3E
COMP 365 Android Development.  Every android application has a manifest file called AndroidManifest.xml  Found in the Project folder  Contains critical.
Paradox Communication Solution GPRS / GSM
Android Security Model that Provide a Base Operating System Presented: Hayder Abdulhameed.
Android System Security Xinming Ou. Android System Basics An open-source operating system for mobile devices (AOSP, led by Google) – Consists of a base.
FCM Workflow using GCM.
Android - Location Based Services. Google Play services facilitates adding location awareness to your app with automated location tracking Geo fencing.
GPRS functionality overview in Horner OCS. GPRS functionality – Peer to Peer communication over GPRS – CSCAPE connectivity over GPRS – Data exchange using.
Introducing Intents Intents Bind application components and navigate between them Transform device into collection of interconnected systems Creating a.
Mobile Phone Forensics Michael Jones. Overview Mobile phones in crime The mobile phone system Components of a mobile phone The challenge of forensics.
Analysis And Research Of System Security Based On.
Kids’ GPS watch Q50 Q523 Step by step guide Apply for the watch ID starting with 145.
Telephone Call Interception System with GPS / IP based Monitoring with GPS / IP based Monitoring “TCIS”
Intents and Broadcast Receivers Dr. David Janzen Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution.
David Sutton SMS TELEPHONY IN ANDROID. OUTLINE  This week’s exercise, an SMS Pub Quiz  Simulating telephony on an emulator  Broadcast Intents and broadcast.
1. 2 Android location services Determining a device’s current location Tracking device movements Proximity alerts.
Android Application -Architecture.
Telephony and SMS Objective • Telephony ➤ Initiating phone calls
Understanding Android Security
Android Access Control
Reactive Android Development
Android System Security
Android Programming Lecture 9
Android Topics What are Intents? Implicit Intents vs. Explicit Intents
Understanding Android Security
Mobile Programming Dr. Mohsin Ali Memon.
Android Access Control
Presentation transcript:

Telephony and sms API’S

Objective Telephony ➤ Initiating phone calls ➤ Reading the phone, network, data connectivity, and SIM states ➤ Monitoring changes to the phone, network, data connectivity, and SMS ➤ Using Intents to send SMS and MMS messages ➤ Using the SMS Manager to send SMS Messages ➤ Handling incoming SMS messages

Telephony Overview The Android telephony APIs allows: ➤ Access the underlying telephone hardware stack ➤ Create your own dialer ➤ Integrate call handling and phone state monitoring For security, you can’t create your own ‘‘in call’’ Activity ➤ The screen that is displayed when an incoming call is received or an outgoing call has been placed.

Launching the Dialer Use Intent Intent.ACTION_DIAL to launch dialer activity. Specify the number to dial using the tel: schema as the data component of the Intent. Allows you to manage the call initialization (the default dialer asks the user to explicitly initiate the call). Doesn’t require any permissions The standard way applications should initiate calls.

Telephony Manager Access to the telephony APIs is managed by the Telephony Manager String srvcName = Context.TELEPHONY_SERVICE; TelephonyManager telephonyManager = (TelephonyManager)getSystemService(srvcName); Thru Telephony Manager you can obtain: ➤ the phone type (GSM or CDMA), ➤ unique ID (IMEI or MEID), ➤ software version, ➤ number. Requires the READ_PHONE_STATE uses-permission be included in the application manifest.

Telephony Manager

Reading Phone Details

Reading Data Connection Status

Reading Network Details

Monitoring Phone Status Android lets you: ➤ monitor phone state, ➤ retrieve incoming phone numbers, ➤ observe changes to data connections, signal strength, and network connectivity. Must specify the READ_PHONE_STATE uses-permission in its manifest Extend PhoneStateListener class to listen and respond to: ➤ Phone state change events including call state (ringing, off hook, etc.), ➤ Cell location changes, ➤ Voic and call-forwarding status, ➤ Phone service changes, ➤ Changes in mobile signal strength.

Monitoring Phone Status

Monitoring Phone Calls The onCallStateChanged handler receives the phone number associated with incoming calls, and the state parameter represents the current call state: ➤ TelephonyManager.CALL_STATE_IDLE When the phone is neither ringing nor in a call ➤ TelephonyManager.CALL_STATE_RINGING When the phone is ringing ➤ TelephonyManager.CALL_STATE_OFFHOOK When the phone is currently in a call

Tracking Cell Location Changes Override onCellLocationChanged to listen for cell location changes Add the ACCESS_COARSE_LOCATION permission to your application manifest. Handler receives a CellLocation object that includes methods for extracting the cell ID (getCid) and the current LAC (getLac).

Tracking Service Changes

Monitoring Data Connection/Activity

SMS and MMS

Sending SMS/MMS thru Native App