Saturday, April 20, 2013

[android-developers] How to compress text data before saving in a database

I have a more than 800 records of data, of which each record will contain a variable size of text data.
It is this text data (anything between 800 bytes and 4kb) which I need to compress before putting it into the database.

It doesn't matter if the saving of the data is a bit long, it will be the reading and decompressing which needs to be fast and efficient.

Note that I am targetting tablet devices here.

Is there a recommended / best way to go about this ?

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment