语言

Menu
Sites
Language
Get Default Camera app Status

I have an application which opens a camera and it is working fine. I have push my application background and I tried to open the default camera application , where my application crashes.

I would like to know whether I can lock the camera resource which will stop other application / process from using it. There is a API in android which has a lock feature which will prevent the other process from using it.

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

2 回复
wil smith
You should release the Camera reource when your application goes to background, otherwise there is a chance of getting rejected during certification phase. AFAIK, you can't lock the camera to prohibit others from using it.
Leo Joseph
Thanks will !!