erikabruni73 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Cache storage folder should be a parameter #301

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run any app using osmdroid with online tiles and file cache.
2. Use the app so some tiles will be downloaded and then saved to filesystem.
3. That folder can't be changed from API, plus it's not  the default cache 
folder.

What is the expected output? What do you see instead?
OSMdroid has a hard-coded property for the external storage directory.
It should be a parameter or at least a method to be overwritten.
Also, the default folder could use getExternalCacheDir() or equivalent, so the 
cache folder would be gone when uninstalling.

What version of the product are you using? On what operating system?
3.0.6, Android 2.2 

Original issue reported on code.google.com by iangm...@gmail.com on 20 Jan 2012 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by neilboyd on 20 Jan 2012 at 9:13