Hey guys, looking for a possible solution for when I am using a remote Bluetooth device to take videos. I can start the recording without issue, but after 1.5 min the remote automatically shuts off and the camera stops recording. Is there any settings on my phone or on the app that could prevent this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Android recreates activity in case of any configuration change (ex: when detects button or keyboard bluetooth connection). My xiaomi camera does it too, but I don't have the source code to fix it :-P
You can avoid disconnections by modifying the source code in OpenCamera!!!
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hey guys, looking for a possible solution for when I am using a remote Bluetooth device to take videos. I can start the recording without issue, but after 1.5 min the remote automatically shuts off and the camera stops recording. Is there any settings on my phone or on the app that could prevent this?
According to
https://stackoverflow.com/questions/31032042/android-get-restarted-once-it-is-connected-or-disconnected-to-bluetooth-device
Android recreates activity in case of any configuration change (ex: when detects button or keyboard bluetooth connection). My xiaomi camera does it too, but I don't have the source code to fix it :-P
You can avoid disconnections by modifying the source code in OpenCamera!!!
In AndroidManifest.xml file, replace:
android:configChanges="orientation|screenSize|keyboardHidden"
by
android:configChanges="orientation|screenSize|keyboardHidden|navigation|keyboard"
Thanks a lot for the manifest tips!
How do you do this? I don't know how to modify app source codes.