How to disable sound of camera snaping at the Camera component
Hello, i need to make periodic photos using Camera component, but when i use method captureToLocation(location) or capture() i every time hear snapshotting sound notification, for me this is very bad, because i make capture every one second. So is someone know how to disable this notification for my app? and one more, maybe someone know other way, how to get image from the camera not make a capture? maybe from VideoOutput or somewhere else?
AFAIK, for the first one, you have to disable it yourself on your phone/tablet/whatever you are using settings.
IIRC, for number two, you have a code sample in the Camera QML element that shows how to do it.
[quote author="SGaist" date="1419380194"]you have to disable it yourself on your phone/tablet/whatever you are using settings.[/quote]
Emm.. at the OS settings (as user?), or use JNI for that?
You can try JNI with "this":http://developer.android.com/reference/android/provider/Settings.System.html#SOUND_EFFECTS_ENABLED
don't think, so it's a good idea use JNI, what about iOS, i'll shoud be do it there too? maybe Qt/QML have some standard properties to disable sound notify?
Technically these kind of settings are handled by the user through the device's control panel.
However I don't think that you should/can modify them like that. Personally I wouldn't like a program that tries to modify my device settings without even trying to ask me first.