General Board

  • Recommend useful replies to give out SEEDs and raise your level as well.
  • You can select the most useful reply as the Best Answer for your thread.
  • Share topics you want to discuss on Facebook or Twitter and earn SEEDs!
  • Share your knowledge by posting in threads that interest you.
Subscription preference

Notification emails are sent to your Samsung account email address.

* Email : anonymous@samsung.com

  

Close

Lock Unlock device programatically.

Forums View
Started by Newbie monac3 , 0 Seed Dec 05, 2012 08:41 Posts : 1 View : 7058 Likes : 0
 Hello.

I just saw samsung smart school (http://www.youtube.com/watch?v=TK_rw07Qng8) demo and it has a feature to control device lock/unlock.
When teacher (server) locks student (android) device, it shows a message 'Attention please' and device is locked. and later teacher can unlock the device again.

So following two functions I wonder if possible:

1. lock/unlock android device programtically.
2. show custom messages in locked screen.

Locking itself somehow seems possible via management api (http://developer.android.com/guide/topics/admin/device-admin.html).
Unlocking and showing custom message is unknown to me.

Device is limited to samsung galaxy note 10.1 (for now).
Thanks in advance.

Post Reply
Board View
Newbie k.krakowiak , 290 Seed Dec 05, 2012 09:29 Post #1 0
Hi,
There is no way to absolutely lock device. I think that on this movie, application was running but user can kill process in task manager. When you connect your device with computer you can control device via adb and you have more control but it is not related to API Android. You should look on AllShare Framework. I think that you find there some interesting proposition.


Regards,
Konrad Krakowiak
Samsung Developers

This content has been quoted from monac3@’s thought. (Link to original post)

 Hello.

I just saw samsung smart school (http://www.youtube.com/watch?v=TK_rw07Qng8) demo and it has a feature to control device lock/unlock.
When teacher (server) locks student (android) device, it shows a message 'Attention please' and device is locked. and later teacher can unlock the device again.

So following two functions I wonder if possible:

1. lock/unlock android device programtically.
2. show custom messages in locked screen.

Locking itself somehow seems possible via management api (http://developer.android.com/guide/topics/admin/device-admin.html).
Unlocking and showing custom message is unknown to me.

Device is limited to samsung galaxy note 10.1 (for now).
Thanks in advance.
 

 
Post Reply