NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); nm.notifyWithText(R.string.repeating_received, context.getText(R.string.repeating_received), NotificationManager.LENGTH_SHORT, null);