Good evening, I am a student from Spain, developing an app in java about sports, that when it's time to workout it prohibits you to use other apps (such as candy crush, facebook...) until you finish it. I don't know how to translate this in code or even if it's possible.
I think it's not illegal, as long as you ask for permission from the user before installing?
I've seen some apps like parental control apps that do a similar thing, and I think it's the same, am I right?