I am using Blackberry 10 Cascades (C++, QT & QML), and I am trying to invoke the camera on a physical Blackberry Z 10, but when I do so I am getting the error, "The camera is in use. Close any applications using it and try again. in Blackberry Z10 when invoking the camera in Blackberry 10 Cascades.", but I can't find any other apps that are using the camera as opened, including the camera. Is there a way I can check all apps that are running, including hidden ones? And close all other running apps (hidden or not - both manually & programatically)?
My code to start the camera looks like this:
InvokeTargetReply* reply = manager.invoke(request);
Or is/are there some other solution(s) to this problem?