Android - I find that if I disable the Google Camera on my Pixel 6a (stock ROM) in favour of another open source camera app (I’ve chosen Open Camera) the photo functionality in Delta Chat becomes non-op. My general expectation is to launch an alternate camera app; how that happens is the detail I seem to be missing - tapping the camera icon “does nothing” (no visible result, no error).
Is this something that should “just work” and the problem is, say, Open Camera itself and someone has found another FOSS (f-droid) camera app which works? Is DC on Android hard-coded to the Google Camera somehow? I’m guessing I’m missing some sort of “intent” between the apps but… not a dev. I confirm that the other service “Camera Services” stays enabled, and the alternate camera is functional.
Anyone of GrapheneOS? Can you swap your camera out, is this Google ROM specific?
In a similar vein, even with Open Camera if I tap on the Gallery icon this app seems to not be able to launch Fossify Gallery with Google Photos disabled - it just says “no app can handle this.” So I’ve got another app “kinda behaving the same with another subsystem I’ve disabled” which leads me to think there’s some Android tomfoolery going on beneath the covers with the Camera and Gallery features.
All of what you write makes logical sense but it’s not actually like this in Android 17 IRL now. Starting back on 11 they removed the Default Camera setting (it was big news then), and on Android 14 they further removed the “Choose an app” popup we’re used to for Camera. There is no Clear Defaults for Camera now, it’s gone.
I found the below comment which I think is the root, and DC can’t get around it and I have to leave Google Camera enabled; following a lot of other tips, it doesn’t even work from the Camera shortcut on lockscreen if Disabled (it used to - a double-tap power button would pull up the “Open with…” dialog):
You’re referring to the default camera app, but GGORG is asking about the system camera app. Those are two different things. The system camera app is always GrapheneOS Camera on GrapheneOS, no matter which app you have as the default. The system camera app is used for media intents, as described in the question from GGORG. - https://discuss.grapheneos.org/d/10207-system-camera-app/3
So my takeaway here is it’s the same for Google Camera now in Android 17 stock ROM - the system camera app cannot be changed from the vendor’s firmware choice. Once I go to GrapheneOS on the next phone, the problem will resolve itself (sort of).
Edit: a comment further down which I missed says "you can open it from the Fossify Gallery as it uses the default camera and not system camera and sure enough, Open Camera is my default with Google Camera disabled and it opens up just fine from that app. Just Works™.
So it appears the “intents” method of code requesting a camera will always use the vendor system camera, and “default camera” will be the user choice and has to be coded for; DC appears to use intents, FG uses default camera setting. I further surmise that intents-mode is more common of a coding practice.