com.vodafone360.people.service.receivers
Class SmsBroadcastReceiver

java.lang.Object
  extended by BroadcastReceiver
      extended by com.vodafone360.people.service.receivers.SmsBroadcastReceiver

public class SmsBroadcastReceiver
extends BroadcastReceiver

Handle SMS activation messages sent from server to activate an account after sign-up/sign-in. The SMS should contain a Hessian encoded body which has an activation code used to activate the account.


Field Summary
static java.lang.String ACTION_ACTIVATION_CODE
          Identifier for SMS activation/wake-up messages sent to People client
 
Constructor Summary
SmsBroadcastReceiver()
           
 
Method Summary
 void onReceive(Context context, Intent intent)
          Implementation of the BroadcastReceiver#onReceive function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_ACTIVATION_CODE

public static final java.lang.String ACTION_ACTIVATION_CODE
Identifier for SMS activation/wake-up messages sent to People client

See Also:
Constant Field Values
Constructor Detail

SmsBroadcastReceiver

public SmsBroadcastReceiver()
Method Detail

onReceive

public void onReceive(Context context,
                      Intent intent)
Implementation of the BroadcastReceiver#onReceive function. Decodes Hessian from SMS text and broadcasts the data to the engines

Parameters:
context - The current context of the People application
intent - Intent containing the SMS data


JavaDoc