Camera Lock

All your problems with Audio, Video and Images.

Camera Lock

Postby peru0002 » Fri Aug 13, 2010 9:28 am

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
peru0002
Developer
Developer
 
Posts: 45
Joined: Thu Jan 21, 2010 5:56 am

Top

Re: Camera Lock

Postby jonbonazza » Fri Aug 13, 2010 1:19 pm

Probably if you use native code. You won't be able to do it with the SDK alone.
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Re: Camera Lock

Postby peru0002 » Tue Aug 17, 2010 2:01 am

Oh I not sure how to do that.

I have tried writing a loadable kernel module, but then realised in order to use, the phone must be rooted, modules loading is enabled in config and the kernel version must be similar. Thus have to use a developer phone. All this cannot be done in a phone bought from telcos.

Using NDK is also not feasible as I searched and couldn't find any reference on accessing the camera hardware using native code. I have posted in the NDK section but no reply yet.

So I am guessing that it is only feasible through an application. But how do make this application to lock hardware functions?

Thanks In Advance,
Perumal
peru0002
Developer
Developer
 
Posts: 45
Joined: Thu Jan 21, 2010 5:56 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google [Bot] and 17 guests