java - How to block application launch in Android -


i want create application in android show devices list of applications , allow user select apps want restricted access period of time.

i aware there android application named "appblock" don't know how works.

you select app, period of time , doesn't allow open app.

you cannot block start of application. way see possible: need save list of applications info in app need blocked time when need blocked. implement service runs "forever" , detects started applications. refer this answer how it. on each detection should check if application present in database , if time says need blocked. if - close application. refer this answer learning how it. global architecture think should follow.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -