Android Question How to implement notification and lockscreen controls for ExoPlayer?

Discussion in 'Android Questions' started by Inman, Apr 12, 2018.

  1. Inman

    Inman Well-Known Member Licensed User

    ExoPlayer is a nice addition to B4A. It's built-in UI controls are nice enough to not bother with developing custom UI. It even supports background playback.

    But for a media player, users usually expect player controls on both notification and lockscreen when playing in the background. Popular media players like Google Play Music, Poweramp, Shuttle etc... do this.

    I was wondering if it is possible to do it in B4A as well. I found some exoplayer Java documentation regarding this. It will be great if someone could translate it to B4A. TIA.

    Playback Notifications with ExoPlayer
    MediaSession extension for lockscreen playback
     
  2. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice