I'm looking into creating an widget operating like the spotify one, showing the user the current music being playing directly on the keyguard.
Reading up on widget I found this on androids developer page:
"The widgetCategory attribute declares whether your App Widget can be displayed on the home screen (home_screen), the lock screen (keyguard), or both. Only Android versions lower than 5.0 support lock-screen widgets. For Android 5.0 and higher, only home_screen is valid."
So I was wondering how spotify did it? Probably missing something big, help would be appreciated.