{"action":"created","issue":{"url":"https://api.github.com/repos/osmandapp/Osmand/issues/1838","repository_url":"https://api.github.com/repos/osmandapp/Osmand","labels_url":"https://api.github.com/repos/osmandapp/Osmand/issues/1838/labels{/name}","comments_url":"https://api.github.com/repos/osmandapp/Osmand/issues/1838/comments","events_url":"https://api.github.com/repos/osmandapp/Osmand/issues/1838/events","html_url":"https://github.com/osmandapp/Osmand/issues/1838","id":113383895,"number":1838,"title":"SDCards are not working with OSMand","user":{"login":"DangerDane","id":14422963,"avatar_url":"https://avatars.githubusercontent.com/u/14422963?v=3","gravatar_id":"","url":"https://api.github.com/users/DangerDane","html_url":"https://github.com/DangerDane","followers_url":"https://api.github.com/users/DangerDane/followers","following_url":"https://api.github.com/users/DangerDane/following{/other_user}","gists_url":"https://api.github.com/users/DangerDane/gists{/gist_id}","starred_url":"https://api.github.com/users/DangerDane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DangerDane/subscriptions","organizations_url":"https://api.github.com/users/DangerDane/orgs","repos_url":"https://api.github.com/users/DangerDane/repos","events_url":"https://api.github.com/users/DangerDane/events{/privacy}","received_events_url":"https://api.github.com/users/DangerDane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/osmandapp/Osmand/labels/Observed","name":"Observed","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":44,"created_at":"2015-10-26T15:42:59Z","updated_at":"2016-06-26T08:32:11Z","closed_at":null,"body":"I am having issues with getting OSMAnd to use my SDCard for data storage. It worked on my android 4.4, but after my upgrade to my Z5 that is running 5.1.1 its not anymore. It defaults to: \r\n/storage/emulated/0/Android/data/net.osmand.plus/ which is the internal storage of the phone which i DON'T want to use since I already have a lot of mapdata on my SDCard from the S5. \r\n\r\nHowever I get a an error that OSMAnd can't write maps files to the folder when I try to change it to:\r\n/storage/(name of SDCard)/Android/data/net.osmand.plus/ which was the folder that OSMAnd used to use. \r\n\r\nI have been googling the issue and when Android 5 was released THAT was the intended behaviour, google however has since then readded SDcard security into the system so that individual apps can ask for permissions to have access to certain folders. It works by popping up a file manager and asking the user to select the root folder that you want to grant access to on the SD card, and any folder further down that particular branch is what OSMAnd would get access to. \r\n\r\nOSMAnd however doesn't do this and it should, as the latter is the new intended behaviour and how its supposed to be so that people like me can use their actual SD card and not phone internal memory.\r\n\r\nMore on the issue can be found here:\r\nhttp://www.techtimes.com/articles/19510/20141106/android-5-0-lollipop-comes-with-better-sd-card-support-hoorah-google.htm & http://www.ibtimes.com/android-50-lollipop-update-includes-fix-microsd-card-restrictions-1719958"},"comment":{"url":"https://api.github.com/repos/osmandapp/Osmand/issues/comments/228590416","html_url":"https://github.com/osmandapp/Osmand/issues/1838#issuecomment-228590416","issue_url":"https://api.github.com/repos/osmandapp/Osmand/issues/1838","id":228590416,"user":{"login":"Pippin555","id":10798392,"avatar_url":"https://avatars.githubusercontent.com/u/10798392?v=3","gravatar_id":"","url":"https://api.github.com/users/Pippin555","html_url":"https://github.com/Pippin555","followers_url":"https://api.github.com/users/Pippin555/followers","following_url":"https://api.github.com/users/Pippin555/following{/other_user}","gists_url":"https://api.github.com/users/Pippin555/gists{/gist_id}","starred_url":"https://api.github.com/users/Pippin555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pippin555/subscriptions","organizations_url":"https://api.github.com/users/Pippin555/orgs","repos_url":"https://api.github.com/users/Pippin555/repos","events_url":"https://api.github.com/users/Pippin555/events{/privacy}","received_events_url":"https://api.github.com/users/Pippin555/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T08:32:11Z","updated_at":"2016-06-26T08:32:11Z","body":"The advice from OSMand works. On Android 5.0.2 you go to Settings/General/Security and then open 'Device administrators'. There will be an entry for OsmAnd+ check the box to assign the rights to OsmAnd. Now the directory on your SD card can be used to store the maps.\r\nOn Android 4.4.2 you can find the same setting under Settings/More/Security, then 'Device administrators'. "}}
{"actor":{"display_login":"Pippin555"}}