Android: storage location for data to be shared with other Apps?

I'm currently familar with the concepts of an application-own storage location and the external storage location that resides on an SD-card. But I'm not sure what to do in this scenario:

I'm writing some kind of library/open source classes that can be used by other applications too. These classes download some data and have to cache them on a public place. Now when an other application that uses the same classes is started it first checks if the required data are already available or not. If yes, the cached data have to be used, elsewhere it downloads the data for its own and stores them at the same public location where others can access them too.

My question: what would be the best place for this kind of public data?

Answers


External storage is suitable for this because files in internal storage will be private to your application.

You can get the path to external storage with Environment.getExternalStorageDirectory();


Need Your Help

Polymer Framework : how to determine the active page with attribute "changed" event handler

polymer

Trying to do some simple animations for a shopping cart, but seem to be snagged on a couple of high level issues.

Writing script inside head tag in javascript is best option, Why?

javascript

I know, I am asking very simple and stupid question but i want to know each and every thing in java script. We can write script tag in head or body section. but, Writing script inside head tag in