Stock camera app crashes when clicking on gallery button with google photos uninstalled

I’m not entirely sure that I got all relevant points, but this is what I did:

  1. uninstalled the stock Google Photos app because Google tends to try to leak any kind of private data to the internet (inspired by this thread)
  2. installed Simple Gallery app from F-Droid
  3. started the stock camera app
  4. in stock camera app: took some pictures
  5. in stock camera app: clicked on the last picture (bottom left symbol)

What happens:
I receive a notification that the app has crashed.

This is the relevant section from the logs:

 1242  9017 I ActivityTaskManager: START u0 { dat=content://media/external_primary/images/media/554 (has extras)} from uid 10099
--------- beginning of crash
26403 26403 E AndroidRuntime: FATAL EXCEPTION: main
26403 26403 E AndroidRuntime: Process:, PID: 26403
26403 26403 E AndroidRuntime: android.content.ActivityNotFoundException: No Activity found to handle Intent { dat=content://media/external_primary/images/media/554 (has extras) }
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at android.view.View.performClick(
26403 26403 E AndroidRuntime: 	at android.view.View.performClickInternal(
26403 26403 E AndroidRuntime: 	at android.view.View.access$3600(
26403 26403 E AndroidRuntime: 	at android.view.View$
26403 26403 E AndroidRuntime: 	at android.os.Handler.handleCallback(
26403 26403 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(
26403 26403 E AndroidRuntime: 	at android.os.Looper.loop(
26403 26403 E AndroidRuntime: 	at
26403 26403 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
26403 26403 E AndroidRuntime: 	at$
26403 26403 E AndroidRuntime: 	at
 1242  9017 W ActivityTaskManager:   Force finishing activity

What should happen:
No crash, obviously. Open the default gallery app if set, ask if not set. This works fine with OpenCamera.

Additional info:

  • Camera app version v2.0.019(01101800-01)
  • Build number FP4.FP3S.A.0103.20220221

Can anyone else reproduce this issue?


Note: I know that the code of the stock camera app is behaving incorrectly. It should not invoke Intent but Intent.ACTION_VIEW. At least this is what Open Camera does in its openGallery() function, plus a few other stuff.

I intent to contact support, but I want to double-check whether this is a configuration issue on my side.


That’s sadly a known deficiency :see_no_evil:
At least the FP Camera makes this somewhat clear in it’s manifest.xml:

I agree that this shouldn’t be the case though :roll_eyes:

Please do, I would be very interested in their reasoning for this dependency!


Ah, Android. Such a complex mess that even as an app dev I have no clue what <queries> does or doesn’t do even after reading the documentation :smiley:

Anyway, couldn’t Simple Gallery just listen to as well? Taking a quick look around, Camera Roll does do that.

I would suggest trying to install Camera Roll, checking if that app responds correctly, and if so, submitting a feature request to Simple Gallery.

1 Like

Sadly listening to doesn’t seem to be enough, FP Camera still crashes when Camera Roll is installed and Google Photos is deactivated.

I’m not an Android dev, so to me this is even more foreign :see_no_evil:
I only know about it because I started writing a script to list all system apps with all extractable information and that was one of the fields I stumbled upon :man_shrugging:
As far as I can tell this is meant as some kind of privacy feature and Google plans to limit how much installed apps can know about the environment they are in. So definitely not a real dependency as I first thought…

I have sent a support request to Fairphone on 2022-03-29 (or a few days before that) and I haven’t received an answer to it yet. I only received some probably automatically generated “we have received your request” e-mails and another (probably written by a human) “we have seen your other request” answer.

Have you heard back, yet? I have the exact same problem, I’ve tried with different gallery apps.
However, I can’t even set any of them as the standard app, I haven’t found this setting - at least not in a “greyed out, not clickable state”…

No, I have not heard back from them.

Have a look here

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.