Reputation: 647
I want to cache json string to sdcard and retrive this cache data for future using. could anyone help me out
Upvotes: 0
Views: 359
Reputation: 6778
Why to Use SDcard to store the data. You should use SharedPreferences. Its easy and Fast.
Upvotes: 1
Reputation: 15229
Simplest way is to serialize it to a ByteOutputStream and write that on the SD card.
Upvotes: 0