I'm developing an Android app that scans for images inside all the device folders and subfolders. I want it to return only photos or saved images but it is returning me also app images like buttons, arrows and others. I'm currently filtering for path name like filePath.contains("cache")
and other similar to this, to remove cached images that I don't need.
I wonder if there was a way to recognize app paths or app images correctly, like gallery apps do.
Thank you in advance.