Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I need to make the phone available for all people in a building, for example. If someone were to try to walk outside of the building with the phone, the phone would shut down or a loud alarm would sound. Any thoughts?

share|improve this question
    
Do you mean by accident (forgot that you had the phone in your pocket) or on purpose (theft)? Most answers so far only work for the first case. For the second case you need something that will survive the user doing a factory reset on the phone before walking out. Not aware of anything that can do that. –  user4188 May 11 '11 at 23:49
    
Yes, on purpose. We are trying to use the android platform for patients to fill out forms in an office, but need to find a way to keep them from leaving the premise. –  Leigh May 12 '11 at 18:32
    
In this case I don't think you can do much against a factory-reset and walk-out. Your best bet may be to have the phone have a constant network connection to one of your servers telling the server where it is and the server sounding an alarm if it loses contact or doesn't approve the location. However this does not tell you where the phone is or who has it and it also may cause frequent false alarms if the network drops out for other reasons. –  user4188 May 12 '11 at 23:57
    
Thanks to all for your help. –  Leigh May 13 '11 at 2:33
add comment

3 Answers 3

Matt H's answer in conjunction with Prey might be useful for you.

Have Tasker send an E-mail when the phone leaves the building. You read the E-mail and mark the phone as "stolen" in Prey. Prey gives you a lot of options about how you want your phone to react to being marked as stolen. You can lock it down and force the GPS to stay active as long as the battery isn't dead, letting you know where the device is.

Yay for daisychaining answers, btw.

share|improve this answer
add comment

As Lie says, you can achieve most of this with Tasker (Market link or Dev's Site) . Tasker can detect your phone's location using GPS or based on the cell towers or wifi access points it can see.

I don't think you can set the phone to shut itself down based on this, but you could definitely make it play a loud sound, or even send an SMS message or a voice call to a particular number.

share|improve this answer
add comment

You can probably do this with Tasker or Locale.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.