Security issue in device adminstrator app in android
<p>I was using the google's device administator feature in order to build an android app which is related to security and antitheft. So I used the sample code provided by google. The main purpose is that if the mobile is stolen, the thief should not be able to remove our security app, thus we could track our phone.</p>

<p>In normal situations,when we make our app a device adminstrator, we wont be able to install that app directly. We need to disable the device admin for which we would need a password.</p>

<p>But recently I have found out that we could set the phone to refactory mode whose completion would erase all installed apps from our mobile and thus our seurity app will also get erased.</p>

<p>So what I would like to know is: Is not this a security treat to android users if theifs could take away our android mobile and convert the phone into refactory mode that getting rid of every security apps installed in our mobile, thus limiting our chance to tracking our phone?</p>

<p>Also, what's the purpose of using google's adminstator feature if people can use this way of booting etc to get into someone else mobile?</p>
