java - Android - Autostart app and restrict access to other apps -


i'm new in android development , have app i'm working on kids. app start when device starts up. when app running, want prevent access other screens. disable home buttons, prevent access browser, settings etc.

is possible do? stumbled across link http://www.androidsnippets.com/autostart-an-application-at-bootup, few people think it's not approach allow activities start automatically.

thank :-)

sounds need own launcher, because launcher can prevent access unnecessary screens , home button "blocked" launcher.
solve "start-up" problem.

all need declare activity in androidmanifest this:

<activity android:name="your.package.activityname android:launchmode="singletask"> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> <category android:name="android.intent.category.home" /> <category android:name="android.intent.category.default" /> </intent-filter> </activity> 

activate creativity, , build launcher needs.
luck!


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -