hauke96 / GeoNotes

A simple app to create georeferences notes.
GNU General Public License v3.0
58 stars 10 forks source link

Selection for third-party camera apps #39

Open lintux opened 3 years ago

lintux commented 3 years ago

It seems that the camera used by the tool is the standard camera. It would be preferable to have the choice here. Opencamera would be a good choice as an option, as it stores not only the position but also the view direction.

hauke96 commented 3 years ago

I don't have any experience in third-party camera apps, but thanks for the suggestion, I'll have a look into that.

lintux commented 3 years ago

I am not a developer, but I assume there should be a trigger that allows the app to select it's own default application for the camera instead of using the general system standard.

hauke96 commented 3 years ago

I tried this myself and unfortunately I have to say: Works on my machine. I also installed opencamera and tapped on the photo-button in GeoNotes, android then asked me to select a camera. Taking photos with a third-party app works nicely.

There are reports that android 11 kind of banned third party camera apps from being selectable when opening the camera from within an app. Are you using android 11 so that this might be the problem?

lintux commented 3 years ago

In my setup it's Android 10 on a Nokia 7 plus. No issues with other apps, where a camera can be selected.

opk12 commented 2 years ago

From Vespucci's Android 11 support issue:

hauke96 commented 2 years ago

Thanks for the hint with Vespucci. The android documentation mentions that it's still possible to open third party camera apps, so it's not completely impossible but IMHO a completely unnecessary change made by google. I don't see this in a near-future release of GeoNotes, but maybe I (or some other motivated dev ... ;) ) will add a mechanism in the future.