8

My little kids (less than 3 yo) like to view photos on my Samsung A5 cell phone. That's great, and they are allowed to do so. I can even pin the screen to make sure they can't leave the gallery app and start deleting e-mails, which is good.

Unfortunately, both the built-in Samsung Gallery app as well as the pre-installed Google Photos app allow them to (accidentally) edit and delete images, which is bad.

Can I somehow make those image viewers "child-safe" and turn off all editing features?

I also tried looking for alternatives, but, apparently, all highly-rated gallery apps have lots of "useful" features (like renaming and deleting files). There are also "kids mode" apps available, but they don't give access to all photos taken on the device and would require me to select the ones I want to show my kids (I want them to see them all).

3
  • 2
    I don't know a read-only gallery app, however as you have development experience modifying an open source gallery app like Simple-Gallery might be a solution for you. The only thing that has to be changed is to edit the AndroidManifest.xml and replace WRITE_EXTERNAL_STORAGE with READ_EXTERNAL_STORAGE and then build it. Then the app can't make any changes on the sd-card enforced by the Android permission system.
    – Robert
    Commented May 7, 2018 at 18:13
  • Is your device rooted? Commented May 8, 2018 at 0:45
  • @DevinErsoy: No.
    – Heinzi
    Commented May 8, 2018 at 10:23

2 Answers 2

2

Looking for a gallery app with Trash/Recycle Bin feature I came across Foto Gallery. If you delete a pic using trash icon, the pic is moved into trash (which itself is an album in this app). Within trash album you don't get the trash icon at all.

For your kid to delete a pic permanently, they would have to swipe leftwards from right edge, choose Delete now, and confirm to the dialog. I think that's tedious and provides enough safeguards from accidental deletion.

Furthermore, while the app does provide editing effects, the modifications are saved into the copy of an image, so the original remains intact.

Alternatively

You can continue with your default/favorite Gallery app as long as your device is running Android 5.1 or above. Simply fire up and issue these commands:

adb shell appops set PKG_NAME WRITE_EXTERNAL_STORAGE deny
adb shell am force-stop PKG_NAME

Replace PKG_NAME with package name of your Gallery app. To know how to find out package see View app's full package name?

The first command denies your app the permission to write the external storage (also includes inbuilt internal storage), which means tapping onto the trash icon or using image effects would either do nothing or crash the app, depending upon how the developer programmed the app to handle such a situation. The other command force-stops the app so that new permission set applies afresh.

To reverse the changes, simply replace deny with allow in the first command.

0

Create a New User and Share to that User.

I'm going to assume that you use Google Photos.

  1. Create a new generic 'family' Gmail/Google account.
  2. Create a new user on your phone using the 'family' Gmail account.
  3. Share your photos from Google photos as 'Read Only/View Only' to that account.
  4. When handing off your phone to kids, switch to 'family' account. This will also prevent them accessing other apps that you use, as the account is separate.

The disadvantage are that:

  • you'll have to switch to and from the account when giving the device to your kids
  • the new profile will take up space on your device
  • you'll have to use cloud sharing photo service.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .