java - Understanding custom lock implementation on Android via home screen replacement technique -


i've been researching question lot. asked a related question week.the helpful , relevant links in area this , this. want understand how works , all, if implemented home screen replacement app.

quick questions:

  • if implemented screen should set default? our home screen replacement or original home screen?
  • please read comments after answer of this question asker figured out way it. in end says:

    "figured out! gotta disable manifest intent filter using setcomponentenabledsetting(), , turn on when activity pops up. help!"

what mean? don't quite understand logic here. please help?

  • basically, have same doubts asker (please see comments below answer @coffeecrisp). but, unable understand solution , happened in here. please help?

thanks.

edit: please don't downvote it. if there's improvement required end, please suggest in comment time make changes. much.

  1. if implemented home screen replacement app, app should set default launcher/home screen.

  2. setcomponentenabledsetting() allows override intent filters in manifest , disable them. sounds overrode filter launcher intent after user unlocked default home screen show up.

that being said, don't recommend writing lock screen replacement, there many issues, it's hacky , insecure. focus on lock screen widgets.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -