public override void onServiceConnected(ComponentName className, IBinder binder) { ((ClearNotificationService.ClearBinder)binder).service.startService(new Intent(outerInstance, typeof(ClearNotificationService))); NotificationManager mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); mNotificationManager.notify(ClearNotificationService.NOTIFICATION_ID, outerInstance.mNotifyBuilder.build()); }
protected internal override void onCreate(Bundle savedInstanceState) { base.onCreate(savedInstanceState); ContentView = R.layout.room; ActionBar actionBar = ActionBar; actionBar.HomeButtonEnabled = true; actionBar.DisplayHomeAsUpEnabled = true; mSession = new MySession(this); mMessageEditText = (EditText)findViewById(R.id.message); ViewGroup preview = (ViewGroup)findViewById(R.id.preview); mSession.PreviewView = preview; mNotificationManager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); ViewPager playersView = (ViewPager)findViewById(R.id.pager); mSession.PlayersViewContainer = playersView; mSession.setMessageView((TextView)findViewById(R.id.messageView), (ScrollView)findViewById(R.id.scroller)); mSession.connect(); }
protected internal override void onCreate(Bundle savedInstanceState) { base.onCreate(savedInstanceState); ContentView = R.layout.room; ActionBar actionBar = ActionBar; actionBar.HomeButtonEnabled = true; actionBar.DisplayHomeAsUpEnabled = true; mSession = new MySession(this); mMessageEditText = (EditText) findViewById(R.id.message); ViewGroup preview = (ViewGroup) findViewById(R.id.preview); mSession.PreviewView = preview; mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); ViewPager playersView = (ViewPager) findViewById(R.id.pager); mSession.PlayersViewContainer = playersView; mSession.setMessageView((TextView) findViewById(R.id.messageView), (ScrollView) findViewById(R.id.scroller)); mSession.connect(); }
public override void onCreate() { mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); mNotificationManager.cancel(NOTIFICATION_ID); }
public override void onCreate() { mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); mNotificationManager.cancel(NOTIFICATION_ID); }
public override void onCreate() { base.onCreate(); notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); }
public override void onCreate() { base.onCreate(); notificationManager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); }