1

Making a Notification Icon appear on headset plugin

view story
linux-howto

http://stackoverflow.com – I want to make it so when one plugs in there headset, when doing whatever on there phone, not just begin on the app, a Notification icon appears in the Notification Area (Very top) I already have the Notification Icon code //Notification Icon Starts NotificationManager nm=(NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); Notification notification=new Notification(R.drawable.icon_notification, "Icon Notification", System.currentTimeMillis()); Context context=MainActivity.this; PendingIntent contentIntent = PendingIntent.getActivity(this, 0, new Intent(this, MainActivity.c (HowTos)