开发者

Remote wipe data using Device Administrator Application+ android

开发者 https://www.devze.com 2023-04-06 14:23 出处:网络
I am working on android device policies, i am able toimplement wipe data, force lock using sample given at below link

I am working on android device policies, i am able to implement wipe data, force lock using sample given at below link http://developer.android.com/guide/topics/admin/device-admin.html. I am not able understand how to wipe, force lock, change pwd Remotly from server. I spent lot of time in searching to get information but i am not suceed. Please give any information to i开发者_如何学Pythonmplement policies Remotely. Thanks in advance.


I've googled around a bit today as well, and I've come up with the following solution:

First, write a device administrator app, like the one referenced in the link you provided.

Then you will have to implement some technique so that you can push messages from a server to the android client. As of Android 2.2, you can use C2DM (Cloud to device messaging) provided by Google, I guess it isn't to hard to configure and get going. If you do not want to use this, there is the option to use some other kind of messaging framework, that allows you to push data, like XMPP or MQTT. The facebook messenger app for iOS uses MQTT, so that can't be all bad. It will however require more work setting up, than C2DM for example.

Finally you will have to push some kind of message from your server to the client via the method you chose and let your device administrator app listen to these messages and respond with the correct action, depending on message. So you can decide on your own what the messages will look like and contain.

There is also the option of using Exchange, but I do not know how that works.

So that is basically what I found out from my little research, I'd love to hear other ideas from someone else as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消