HomeSort by relevance Sort by last modified time
    Searched refs:CommonConstants (Results 1 - 4 of 4) sorted by null

  /development/samples/training/notify-user/src/com/example/android/pingme/
CommonConstants.java 23 public final class CommonConstants {
25 public CommonConstants() {
PingService.java 46 mMessage = intent.getStringExtra(CommonConstants.EXTRA_MESSAGE);
48 mMillis = intent.getIntExtra(CommonConstants.EXTRA_TIMER,
49 CommonConstants.DEFAULT_TIMER_DURATION);
56 if(action.equals(CommonConstants.ACTION_PING)) {
58 } else if (action.equals(CommonConstants.ACTION_SNOOZE)) {
59 nm.cancel(CommonConstants.NOTIFICATION_ID);
60 Log.d(CommonConstants.DEBUG_TAG, getString(R.string.snoozing));
64 } else if (action.equals(CommonConstants.ACTION_DISMISS)) {
65 nm.cancel(CommonConstants.NOTIFICATION_ID);
76 dismissIntent.setAction(CommonConstants.ACTION_DISMISS)
    [all...]
ResultActivity.java 33 String message = getIntent().getStringExtra(CommonConstants.EXTRA_MESSAGE);
40 intent.setAction(CommonConstants.ACTION_SNOOZE);
46 intent.setAction(CommonConstants.ACTION_DISMISS);
MainActivity.java 50 mServiceIntent.putExtra(CommonConstants.EXTRA_MESSAGE, message);
51 mServiceIntent.setAction(CommonConstants.ACTION_PING);
65 mServiceIntent.putExtra(CommonConstants.EXTRA_TIMER, milliseconds);

Completed in 57 milliseconds