0

How can I push a pop-up from my app to the user when the screen is locked on android?

lyc001
  • 777
  • 1
  • 10
  • 25
  • 2
    use a notifiation? that's what they're there for, especially in lollipop, which adds notifications to the lock screen. – Marc B Nov 28 '14 at 15:41
  • I want a pop-up message to appear on top of the lock screen on older versions not only lollilop – lyc001 Nov 28 '14 at 16:46

1 Answers1

0

You can use "service" for this case. For example: http://www.vogella.com/tutorials/AndroidServices/article.html

From a service you can create your own dialog without activity: How to display a Dialog from a Service

Community
  • 1
  • 1