-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since Android 11 not all camera apps are selectable #5
Comments
thanks for info. if i understood https://commonsware.com/blog/2020/08/16/action-image-capture-android-r.html correctly ACTION_IMAGE_CAPTURE. need EXTRA_INITIAL_INTENTS with a list to other existing, known apps as implemented in |
i have added code that should fix the issue for "opencamera" and "simple camera". unfortunately i cannot test the changes because i have no android-11 or android-12 device and the emulator does not run on my machine. @rugk can you test my changes and confirm that the changes work for you? you must uninstall the f-droid installation first before you can install this debug version. [Update 2022-03-02] I also asked on reddit to find somebody who can test this fix with android-11. [Update 2022-03-03] this versoin did not work. see comment below with new apk version |
Using the same workflow you mentioned in your readme, the app crashes when selecting it in the file drawer Logcat
I tested it with Camera PX and OpenCamera installed. |
@har-nick thanks a lot for testing. camera found
but cannot start
This topic needs further investigation :-( |
In https://stackoverflow.com/questions/63246442/android-11-r-return-empty-list-when-querying-intent-for-action-image-capture i found that i need an additional <queries/> entry in manifest file when compiling with android api 30 and later to make it work. I have added this to the sources and the latest build May i ask you to test this version again? |
Seems like the same issue, sorry Logcat
|
thanks again for testing. i ask on stackoverflow what is wrong: https://stackoverflow.com/questions/71338593/action-image-capture-how-to-whitelist-a-different-camerapp-in-android-11-and-la |
I have added a stackoverflow-bounty to https://stackoverflow.com/questions/71338593/action-image-capture-how-to-whitelist-a-different-camerapp-in-android-11-and-la but no answer yet. |
STR
System
Device: Pixel 4
OS: Android 12, CalyxOS 3.2.0
source: F-Droid
version: v5.3.1
Problem
I've reported this to the camera apps like SimpleMobileTools/Simple-Camera#310 or OpenCamera.
Apparently, the issue is however an Android one related to how camera apps are handled since Android 11. See
See https://www.xda-developers.com/android-11-blocks-third-party-camera-apps-appearing-image-video-picking-intents/
In case I understood it correctly, the calling app needs to whitelist all the camera apps it wants the user to be able to choose.
So could we go though F-Droid at least and whitelist all good/known camera apps?
This app here is pretty useless without that…
I'd specifically suggest these:
net.sourceforge.opencamera
com.simplemobiletools.camera
(even though deprecated, may still be useful for those who still use and like it, like me)The text was updated successfully, but these errors were encountered: