public class

SmsReceiver

extends BroadcastReceiver
java.lang.Object
   ↳ android.content.BroadcastReceiver
     ↳ com.android.mms.transaction.SmsReceiver
Known Direct Subclasses

Class Overview

Handle incoming SMSes. Just dispatches the work off to a Service.

Summary

Public Constructors
SmsReceiver()
Public Methods
static void beginStartingService(Context context, Intent intent)
Start the service to process the current event notifications, acquiring the wake lock before returning to ensure that the service will run.
static void finishStartingService(Service service, int startId)
Called back by the service when it has finished processing notifications, releasing the wake lock if the service is now stopping.
static SmsReceiver getInstance()
void onReceive(Context context, Intent intent)
Protected Methods
void onReceiveWithPrivilege(Context context, Intent intent, boolean privileged)
[Expand]
Inherited Methods
From class android.content.BroadcastReceiver
From class java.lang.Object

Public Constructors

public SmsReceiver ()

Public Methods

public static void beginStartingService (Context context, Intent intent)

Start the service to process the current event notifications, acquiring the wake lock before returning to ensure that the service will run.

public static void finishStartingService (Service service, int startId)

Called back by the service when it has finished processing notifications, releasing the wake lock if the service is now stopping.

public static SmsReceiver getInstance ()

public void onReceive (Context context, Intent intent)

Protected Methods

protected void onReceiveWithPrivilege (Context context, Intent intent, boolean privileged)