android - Set my home screen as default programmatically -


assume have multiple home screen installed in android device. when booting or pressing home key, dialog shown user select desired home screen , check box set action default.

i know code "default" home screen set when select "set action default" checkbox , launch application.

i need programatically control home screen in 2 different modes.

regards, praga

short answer can't security purposes. (i.e. if can programmatically set myself default home screen, can theoretically "lock" user out of own device)

if want implement going have build own version of os , install on own devices , can getting working within os, not people have stock os builds.


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 -