Is it possible to store image , from server to a android application HDPI folder? If possible how can we do that?
Asked
Active
Viewed 60 times
0
-
No, the contents of an apk itself are read-only at runtime, however the application can create files within its private storage area. – Chris Stratton Mar 08 '14 at 23:22
-
Okay then what should I do update images in my app, whenever I have some updation in my data? – Akash Goswami Mar 08 '14 at 23:25
-
Either release a new apk, a new expansion package, or build in functionality to allow locally downloaded files to supersede bundled ones. – Chris Stratton Mar 08 '14 at 23:26
-
I cant get your second choice..can you please brief it? – Akash Goswami Mar 08 '14 at 23:34
-
1http://developer.android.com/google/play/expansion-files.html but it looks like you can't change those without changing the apk too, so probably not what you want. So that leaves building your own mechanism to download files from your own server and use them in place of versions from the apk. – Chris Stratton Mar 08 '14 at 23:38