[android-developers] How to switch between ANDROID homescreen and our custom homescreen programmatically?

2011-09-21 Thread vishnu raj
hai, i have developed an android custom lock screen so that the default launcher is replaced with my app. I have done changes in android manifest file to make app as home screen. Now the problem is that i cannot control my app. That means whenever i click the home , my lock screen is come. i

Re: [android-developers] How to switch between ANDROID homescreen and our custom homescreen programmatically?

2011-09-21 Thread Mark Murphy
You cannot force your activity to be the home screen. You can force your activity to *not* be the home screen by calling clearPackagePreferredActivities() on PackageManager. Then, the user will get a chooser the next time the HOME screen is launched (e.g., pressing the HOME button). On Wed, Sep