Saturday, October 31, 2020

Japan Demographics
























Sunday, October 25, 2020

Google Photos app is not uploading any picture

I can not upload any pictures to Google Photos for several weeks now, so yesterday (Sunday), I decided to poke around 

Photos 5.15.0.337400196 <- condition before troubleshooting

Space used
App 123 MB
Data 618 MB
Cache 642 MB
Total 1.38 GB

Android 10

First, I deleted data and cache and it worked for a while.
Second, I tied tricks mentioned in this article Google Photos Power Management

Battery -> Apps power Management ->Put unused apps to sleep, OFF
Battery -> Apps power Management -> Apps that wont be put to sleep, add Google Photos
Deleted data and cache
Force stop app
Launch app

It works until this article is published.




Sunday, October 18, 2020

Termux moving files

After moving files using termux mv command, the update doesn't necessary propagated to Gallery application as shown bellow. 


To update it, run this command line:

am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d /sdcard/path

It will  fix the Gallery app file list problem. 

Read: 

Side note: I am noticing weird behaviour, the developer page states that this intent is deprecated as of  API level 29 (Android 10), but the intent is well broadcast and act upon.