1

android notification - RemoteServiceException

view story
linux-howto

http://stackoverflow.com – I am getting RemoteServiceException. This occurs if I simply call the following in onResume() of the activity : NotificationManager mNotificationManager = (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); NotificationCompat.Builder notif = new NotificationCompat.Builder(mContext); notif.setTicker("Notification ticker") .setContentTitle("Vinceri") .setContentText("Ha recibido una oferta de trabajo") .setAutoCancel(true); //create notification from builder Notification notification = notif.buil (HowTos)