java - Android Camera API - Force Close Does Not Release Camera Resource -


so while developing custom camera application i've realized on rare occasions , on various devices if app has force close, not release camera resource.

is there way find/detect process holding onto resource , kill it? or other technique? rather difficult bug reproduce (for me anyway), device has restarted.

thanks!

from chasing on other posts have made on subject, appears there no sure fire way of getting camera after crash without restart of device. pain, sure. best option not crash / catch might fault. pretty rubbish answer, that's i'm endeavouring now.

lots , lots of try catch !


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -