-1

I've been reading all posts I could find about this topic but I could not find the answer I'm looking for.

There's a lot of apps with 'pranks' that show bugs running over your screen or cracks in your screen. These are seen on top of everything: homescreens other apps etc.

I've found methods with a service adding a view, but these require permissions. The apps I'm talking about don't require any permissions or just one for image acces.

Can anyone point me in the right direction on how to do this?

Examples of Apps

Cracked Screen app

Ants on screen

  • All of those apps, even those linked by you, ask for permission to draw over other apps. The SYSTEM_ALERT_WINDOW permission is automatically granted until L. Since M it must be explicitly enabled by the user in the system settings. – shelll Apr 06 '17 at 12:05
  • Ahh I see, the permission window didnt pop up for me when installing but this explains it. Thanks for the reply! – Gaius Julius Caesar Apr 06 '17 at 12:11

1 Answers1

0

You can do this using WindowsManager. You can see an example of window here.

Community
  • 1
  • 1
mr_sh
  • 304
  • 1
  • 10
  • Thanks for the reply, I'll have a better look at the WindowsManager, but the example you gave still uses a permission. I don't understand how these apps can do it without one. – Gaius Julius Caesar Apr 06 '17 at 12:01