New course! Every coder should learn Generative AI!
Try a free lesson+ 2
For this, you have to take permission at runtime and include it in your manifest.xml file.
For reference you can also visit the following link
https://stackoverflow.com/questions/14129595/draw-over-other-app-is-which-permission-in-android