Reputation: 404
I am implementing a Music player Application. for that Application i want to implement a playback widget that stays on their lock screens and allows them to interact with the app.
i have found that it is possible in Android 4.2 Api. but some of the music player application can provide this feature in above Android 3.0
So that i have searched a lots of thing to implementing an screen lock widget that support from Android 3.0, but i can't found anything about it.
Any one have a solution or step, how to making lock screen widget that support from Android 3.0. ?
waiting for you reply.
Thanks in Advance.
Upvotes: 2
Views: 2826
Reputation: 20563
You can make it into an activity instead of a widget and use certain flags such as FLAG_SHOW_WHEN_LOCKED
and FLAG_DISMISS_KEYGUARD
to achieve this I think. This thread will help you:
Upvotes: 1