Hi!
I need help to pass Step 6 of the UNI-01 Test Case.
I have an app that record video from the camera, but I have to release it if other app need the camera to run, according with the Test Criteria:
My problem is that I don't know how to detect the system request me to release the resource (the camera).RESULT: The application allows other applications access to sufficient OS resources to run, i.e. the application shuts down/release resources if the system requests it to do so.
I have seen a possible solution in this article, but I don't want to stop recording every time my app goes to background (just when neccesary).
In other way, I have seen that in MCameraObserver2 there is a member HandleEvent() that maybe gives this information, but I read that this interface is not implemented in most of mobile phones. In fact, it's a bit weird because some useful members like PowerOnComplete() or ReserveComplete() provided in MCameraObserver, are missing in MCameraObserver2.
Any idea???



