Skip to main content

Temporarily Lock or Disable iphone home button


I know the iphone home button is extremely crucial for the functioning of the iphone.





However I have an idea for which I need the application running and the home button to be disabled. I tried googling, but haven't been able to find a solution.



Temporary or timed locking (Lock for 5/10 mins.) would also do.



The app. should work on non-jailbroken phones, hence going around apple won't work.



Appreciate any ideas.


Source: Tips4allCCNA FINAL EXAM

Comments

  1. For the record, it's silly that people are saying "Why would you want to do this?"

    it's a great idea for example for APPS FOR SMALL CHILDREN (which is indeed a very large market on the iPhone).

    If you've ever marketed an app for small children, you'll know that instantly parents write in abusing you because you "did not stop that stupid home button working, so the child just turns off the game and makes phone calls"

    To which you have to reply that it's of course not possible because of the way the iPhone works.

    So yes it's a good question. As far as I know, Planet, it is not possible.

    Apple should add a "kids mode" where parents can lock the fone on TO one particular app for awhile. (Perhaps you would have to long-press or something the home button to unlock it.)

    Also be sure to see Rob's answer at the bottom!

    ReplyDelete
  2. This is against the iOS interface guidelines, and apps have been rejected for "overriding" or restricting behaviour of hardware buttons/switches.

    I suggest you have a read of the App Store Review Guideline for iOS apps for a good overview of what you shouldn't be doing.

    Particularly:


    10.5

    Apps that alter the functions of standard switches, such as the Volume Up/Down and Ring/Silent switches, will be rejected


    Pretty sure that the Home button is included in that.

    I'm not sure what your "idea" is here, but I would suggest you look into other things such as backgrounding. There is a feature that allows you to finish executing tasks in the background, even if the user presses the home button, and optionally display a notification after certain time (before the task "expires"). I imagine that this might offer a more appropriate solution (again dependent on what your idea actually is).

    ReplyDelete
  3. BubCap.com sells home button covers that effectively deter toddlers from pressing the home button.

    ReplyDelete
  4. Ya, this will never get past the Review Team. Why do you want to do this? maybe there's a better implementation we can come up with to help you.

    ReplyDelete
  5. You can't unless you want to run it on jail broken devices.

    ReplyDelete
  6. Apple currently will not allow any software to disable or change ANY button functionality for iPhone, iPad, and iPod touch, so the only software solution is to jailbreak the device, so you're not forced to live by Apple's rules.

    However, PaperclipRobot.com is about to release a home button cover specifically targeted to keeping young kids from pressing the home button. Not the exact solution to your problem as stated, but I figured it added to the discussion.

    ReplyDelete

Post a Comment

Popular posts from this blog

[韓日関係] 首相含む大幅な内閣改造の可能性…早ければ来月10日ごろ=韓国

div not scrolling properly with slimScroll plugin

I am using the slimScroll plugin for jQuery by Piotr Rochala Which is a great plugin for nice scrollbars on most browsers but I am stuck because I am using it for a chat box and whenever the user appends new text to the boxit does scroll using the .scrollTop() method however the plugin's scrollbar doesnt scroll with it and when the user wants to look though the chat history it will start scrolling from near the top. I have made a quick demo of my situation http://jsfiddle.net/DY9CT/2/ Does anyone know how to solve this problem?

Why does this javascript based printing cause Safari to refresh the page?

The page I am working on has a javascript function executed to print parts of the page. For some reason, printing in Safari, causes the window to somehow update. I say somehow, because it does not really refresh as in reload the page, but rather it starts the "rendering" of the page from start, i.e. scroll to top, flash animations start from 0, and so forth. The effect is reproduced by this fiddle: http://jsfiddle.net/fYmnB/ Clicking the print button and finishing or cancelling a print in Safari causes the screen to "go white" for a sec, which in my real website manifests itself as something "like" a reload. While running print button with, let's say, Firefox, just opens and closes the print dialogue without affecting the fiddle page in any way. Is there something with my way of calling the browsers print method that causes this, or how can it be explained - and preferably, avoided? P.S.: On my real site the same occurs with Chrome. In the ex