I’ve tried so many combinations of paths to the DCIM/Camera path on the phone but NOTHING seems to work?
Is there a function that can scan for the file path DCIM/Camera folders? or will i need to make my own directory scanner just to combat this pathetic issue?
googling for ‘unity android access photos’ brings up several ask/forum posts that always seem to reference this thread:
Which references this blog:
I never really have done much photo stuff on android, especially not in unity. But everyone seems to go back on using the android sdk to access it. It might have a permissions thing on it? And therefore you need the sdk to access said photos.
It would make sense if android puts permissions on photos. There could be plenty of sensitive stuff in your photos. From nudes, to private information, and much more. They use the API to alert the user that some program is going to access such stuff, allowing the user to approve or not. If you could access it willy nilly, what would stop you from uploading said images to the web for instance.
As I said though… I actually don’t know. I never really done any android dev dealing with photos.