caching - Android: storage location for data to be shared with other Apps? -
i'm familar concepts of application-own storage location , external storage location resides on sd-card. i'm not sure in scenario:
i'm writing kind of library/open source classes can used other applications too. these classes download data , have cache them on public place. when other application uses same classes started first checks if required data available or not. if yes, cached data have used, elsewhere downloads data own , stores them @ same public location others can access them too.
my question: best place kind of public data?
external storage suitable because files in internal storage private application.
you can path external storage environment.getexternalstoragedirectory();
Comments
Post a Comment