FileDocCategorySizeDatePackage
ApplicationContext.javaAPI DocAndroid 1.5 API98985Wed May 06 22:41:54 BST 2009android.app

ReceiverRestrictedContext

public class ReceiverRestrictedContext extends android.content.ContextWrapper

Fields Summary
Constructors Summary
ReceiverRestrictedContext(android.content.Context base)

        super(base);
    
Methods Summary
public booleanbindService(android.content.Intent service, android.content.ServiceConnection conn, int flags)

        throw new ReceiverCallNotAllowedException(
                "IntentReceiver components are not allowed to bind to services");
        //ex.fillInStackTrace();
        //Log.e("IntentReceiver", ex.getMessage(), ex);
        //return mContext.bindService(service, interfaceName, conn, flags);
    
public android.content.IntentregisterReceiver(android.content.BroadcastReceiver receiver, android.content.IntentFilter filter)

        return registerReceiver(receiver, filter, null, null);
    
public android.content.IntentregisterReceiver(android.content.BroadcastReceiver receiver, android.content.IntentFilter filter, java.lang.String broadcastPermission, android.os.Handler scheduler)

        throw new ReceiverCallNotAllowedException(
                "IntentReceiver components are not allowed to register to receive intents");
        //ex.fillInStackTrace();
        //Log.e("IntentReceiver", ex.getMessage(), ex);
        //return mContext.registerReceiver(receiver, filter, broadcastPermission,
        //        scheduler);