Take a look here: https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.html
And google (or go to StackOverflow) "MediaSessionCompat" for more info if you get stuck. On Monday, October 19, 2015 at 7:20:23 AM UTC-4, Russell Harrower wrote: > > PLEASE HELP! I am not understanding how I get the mediaplayer to show in > the notification drop down box, I have read how-tos and all that and it is > not making sense. > > I have this so far > > NotificationCompat.Builder builder = new NotificationCompat.Builder( this ); > builder.setContentTitle(getString(R.string.app_name)); > //builder.setContentText(mNotificationTextEditText.getText()); > builder.setSmallIcon(R.drawable.rnotifivcaton); > NotificationManager manager = > (NotificationManager) getSystemService( > Context.NOTIFICATION_SERVICE ); > manager.notify(1, builder.build()); > > Which just makes the app show in the notification area. Now I just need a > play and stop button. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

