How does Android get all the photo paths on the phone in Service

do a background backup photo function. I want to get the path of all the photos on the phone in Android Service, and then upload them step by step, and how to get all the photos on the phone in silence.

Feb.28,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf888b-31958.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf888b-31958.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?