Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Android: try to read games for all available storages #534
Some devices, shows the internal storage as a sdcard, also supporting real sdcard. In my case, when connecting the device to a computer, both storages can be mounted to copy files.
However in some devices when adding games to the real sdcard won't be detected, only for the internal sdcard. I guess this is confusing most people reporting their games are not being detected by Player after following existing instructions. A possible solution is try to list games from all available storages.
Looks like I'll learn more funny things hahaha.
I didn't look the API yet but there are many ways to proceed :
Looks like the first solution is the best, but I have to learn the API to be sure. Maybe a UX paradigme make the second solution better.
But we'll face new funny android thing I think haha. By default Environment.getExternalStorageDirectory() points to my internal memory on my phone, don't know what i'll do when I'll put an sd card hahaha.
Are you talking about merging all the lists of games it finds? I don't think many people would actually use multiple easyrpg folders. The ideal solution in my opinion would be finding recursively from / a directory called "easyrpg". All internal and external mounted storages are scanned.