{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/2097","labels_url":"https://api.github.com/repos/minetest/minetest/issues/2097/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/2097/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/2097/events","html_url":"https://github.com/minetest/minetest/issues/2097","id":53944914,"number":2097,"title":"Android build doesn't use proper paths","user":{"login":"ShadowNinja","id":3399154,"avatar_url":"https://avatars.githubusercontent.com/u/3399154?v=3","gravatar_id":"","url":"https://api.github.com/users/ShadowNinja","html_url":"https://github.com/ShadowNinja","followers_url":"https://api.github.com/users/ShadowNinja/followers","following_url":"https://api.github.com/users/ShadowNinja/following{/other_user}","gists_url":"https://api.github.com/users/ShadowNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/ShadowNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShadowNinja/subscriptions","organizations_url":"https://api.github.com/users/ShadowNinja/orgs","repos_url":"https://api.github.com/users/ShadowNinja/repos","events_url":"https://api.github.com/users/ShadowNinja/events{/privacy}","received_events_url":"https://api.github.com/users/ShadowNinja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minetest/minetest/labels/Android","name":"Android","color":"207de5"},{"url":"https://api.github.com/repos/minetest/minetest/labels/bug","name":"bug","color":"ff5050"},{"url":"https://api.github.com/repos/minetest/minetest/labels/Medium+priority","name":"Medium priority","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-10T04:27:26Z","updated_at":"2015-01-10T20:21:30Z","closed_at":null,"body":"Android provides some folders to apps for them to store there data -- which Minetest ignores, using `/sdcard/Minetest/` instead.  This means that when uninstalling Minetest the folder is left behind, wasting space.  It also means that Android's \"Clear data\" and \"Clear cache\" functions don't work.  Aditionally, Android 4.4+ doesn't require the `READ_EXTERNAL_STORAGE` and `WRITE_EXTERNAL_STORAGE` permissions to write to these locations, but does for access to the sdcard root.\r\n\r\n  * Data files should be stored in the files path ([getDir()](http://developer.android.com/reference/android/content/Context.html#getDir(java.lang.String, int)) / [getFilesDir()](http://developer.android.com/reference/android/content/Context.html#getFilesDir()) / [getExternalFilesDir()](http://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String))).\r\n  * Cache files should be stored in the cache path ([getCacheDir()](http://developer.android.com/reference/android/content/Context.html#getCacheDir()) / [getExternalCacheDir()](http://developer.android.com/reference/android/content/Context.html#getExternalCacheDir())).\r\n"},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/69470412","html_url":"https://github.com/minetest/minetest/issues/2097#issuecomment-69470412","issue_url":"https://api.github.com/repos/minetest/minetest/issues/2097","id":69470412,"user":{"login":"MoNTE48","id":6764600,"avatar_url":"https://avatars.githubusercontent.com/u/6764600?v=3","gravatar_id":"","url":"https://api.github.com/users/MoNTE48","html_url":"https://github.com/MoNTE48","followers_url":"https://api.github.com/users/MoNTE48/followers","following_url":"https://api.github.com/users/MoNTE48/following{/other_user}","gists_url":"https://api.github.com/users/MoNTE48/gists{/gist_id}","starred_url":"https://api.github.com/users/MoNTE48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoNTE48/subscriptions","organizations_url":"https://api.github.com/users/MoNTE48/orgs","repos_url":"https://api.github.com/users/MoNTE48/repos","events_url":"https://api.github.com/users/MoNTE48/events{/privacy}","received_events_url":"https://api.github.com/users/MoNTE48/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T20:21:30Z","updated_at":"2015-01-10T20:21:30Z","body":"OK.  Your  ideas good.\r\nwait realised. "}}