My Dear Andy,
Hope you are feeling better now.
I know it sucks to store all the email ids and display pictures of each and every individual I ever emailed thru my gmail account.
People who I don’t even speak to anymore and even Dead People X-|
Okay.. so the letter writing idea was lame. Lets just stick to business.
So the size of the Contacts Storage for me was 13.76Mb (with Facebook contacts sync’d as well). 2047 (Useless+Very Useful) Contacts.
Anyway, I figured that only 900 of these Contacts actually have phone numbers.
Because my Motorola Milestone suffer from real RAM issues (just 256Mbs of it and at any given point of time no more than 30Mbs Free).
Yeah Yeah.. i know i Know … My bad!! I should not put all the applications from the market inside it… but that’s what it is meant for right?
I spend 22K for nothing? So because of the Huge size of Contacts Storage the free memory would be less and applications would get Garbage Collected more often Leaving me 😦 and X-(
So I began to search for ways so that I can reduce the size of the display image each contact has.
Or some way to just sync contacts with Phone numbers. I couldn’t find anything useful.
Even if I use …
a) Display options to show just the contacts with phone numbers
b) sync just one of the categories of contacts (like “My Contacts” or “Family”)
…. the contact storage would remain the same size.
I exported all 2000+ contacts to SDCard (using the ImportExport option in the contacts).
It saved the exported VCard File as “00001.vcf”.
I saved it on my desktop and I wrote a quick Java Program to Read the VCards one by one from a file.
Look inside if it contains a TELEPHONE number. If Yes then save it to the “output.vcf” file.
Usage:$ java -jar HelpContactsStorage.jar
Or$ java -jar HelpContactsStorage.jar 00001.vcf
Or$ java -jar HelpContactsStorage.jar inputFile.vcf finalFile.vcf
a) Disable the contacts sync with Google or Facebook.
b) Go to the Display options & Select to show all contacts.
c) place output.vcf on the SDCard.
d) Go to Applications –> All –> Contacts Storage. And Clear Data.
e) Go to contacts, import contacts from the SD Card. Select “output.vcf”
f) Keep the Sync Off.
Original Size: 13Mb
Final Size: 3.5Mb!