I have looked online and everywhere I look it says that you can have a content provider backed by flat files, and that is exactly what i need for my project. However, I am unable to find anywhere how to actually do this, all the examples i see are for using an sqlite back-end. I know that in order to use openFileInput(String) and openFileOutput (String, int) i need to have a context....but as a content provider i dont have a context i can use. I want these files to be stored as a sort of cache on disk. I dont want to write to the SD card because that would be a waste of space since this is meant to be a cache. Any help would be greatly apreciated
Side Note: The reason i want to use flat files is because the data i have does not change often but it takes a long time to fetch. It also does not need update/insert/delete it only needs a replace every once in a while, and also every query call will read a file from start to finish in a sequential order so there is no need to use a db for this situation. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

