I think this can be done. 

In settings application, we need to add privacy lock features to lock
the defferent applications.

So suppose camera is selected for lock, then this entry has to be
maintained in DB.

>From camera hardware side, 

1st function to open the camera is Camera.open(). This function should
check for DB entry 1st and then depending on the lock/unlock, return
camera handle and error to application who is calling this method.

 

-----Original Message-----
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of perumal316
Sent: Friday, August 13, 2010 1:55 PM
To: Android Developers
Subject: [android-developers] Application Lock

Hi All,

I came across an Application in Android Market which locks the use of
application. Meaning after locking an application can only unlock it
using password.

My question is, can this be done for hardware?

E.g. Password protect camera for example, so only can unlock it using
the same password. While locked, all applications using camera cannot
access the camera hardware.

Thanks In Advance,
Perumal

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to