Pages

Thursday, February 23, 2012

Android Persistent Home App Sample

This is an Andorid sample application which persist on the home page.



Home, Back, Call, Power button are disabled.
It is a part of a presentation tablet.
User can exit the application only by typing a password.
The user must select the default home manager when it finish this application.


Code


Notes
  • read risk disclaimer
  • excuse my bad english

12 comments:

  1. Hello,

    Could we have a clear procedure to use it ? As i can't make it works. Thanks a lot :)

    ReplyDelete
    Replies
    1. you have to compile it using eclipse and then install on a device (even a virtual one)
      the first time it starts select it as the default home app, to remove this you have to insert the correct password.
      this is a sample app, so on a real device, do it at your risk.

      Delete
  2. Thanks a lot for your code. It's a great one!! It helped a lot and avoids me to spend so much time to implement it correctly. Thanks!

    ReplyDelete
  3. thanks for the code, its very helpfull

    ReplyDelete
  4. hi! im receiving this error, is there a way to fix it?

    Caught security exception registering for location updates from system. This should only happen in DumpRenderTree.

    thanks

    ReplyDelete
    Replies
    1. it's an android permission error.
      this project is build on android 2.2, i've not tested it with newer version.

      Delete
  5. Can you tell me more about how you made this app a home replacement?

    ReplyDelete
    Replies
    1. Hello, this app is for Android 2.2, it may not work on Android 4 due to security restrictions. Anyway, you can find the code of this app on the above link.

      Delete
  6. you are making this app as the home screen . but i am creating a screen lock application and i need to disable the home button . how can i achieve it ? please suggest .

    ReplyDelete
    Replies
    1. Hello, i doubt it depends on the Android SDK version you are working with, unluckly it's a few that i do not work on Android, so i can not point you to any solution.

      Delete