Allow setting default camera app to be used on Fluxer Android

(#4190) Feature Open: Under consideration

Current problem

The button to take a photo inside Fluxer Android app opens the default android camera, but when the default app is disabled, the button does nothing, and one has to open the app on its own to take photos and then go back to Fluxer and send them from the gallery. It would be easier to just have Fluxer open the 3rd party app by itself.

Proposed change

Either make a camera inside the Fluxer app that does now require a separate app to take pictures to send to chat or allow setting which camera app Fluxer should open to take photos.

1 comment

Sign in with Fluxer to comment and vote.
Comment by sodiboo
i'm pretty sure Android in general just assumes the default camera works. on GrapheneOS, i cannot disable the default camera app (but i can, for example, disable the default app store and browser); this suggests to me that "disabling the default camera app" is just a de-facto broken Android install. so i'm somewhat skeptical if Fluxer should account for that? setting a camera app is not very widely supported in any other software (and having any sort of "which app do you want to open it in" is kind of discouraged? because if every app did that, every user would have to change their preference in every other app when they switch implementation; it's much nicer to manage it centrally in the settings app; and i agree it's odd that Android has no way to change the camera) but i know that <input type="file"> in Firefox on Android (which is used on this very page! also MDN has an interactive example for it) gives this system sheet when clicked (see attached). not sure what native calls it translates to, but maybe it is a useful UI to prompt, especially in the case where the default/native camera app is unavailable. falling back to a UI that will likely contain additional camera apps seems like a reasonable behavior when regular system API fails? does this UI contain your camera app?