Why is Tomdroid so big?

Asked by kristopher_d on 2009-12-30

Tomdroid requires more than 800 kb while other, more functional note taking apps require less than 200kb. Notepad with sync falls into this category and includes not only bi-directional sync, but the ability to actually create and edit notes. WikiNotes does not directly support sync, but it does support import/export in a format very similar to tomboy's and includes the wiki style linking. Granted, it stores notes in a database, rather than files, but that difference doesn't account for 600kb, especially considering the capacity for importing and exporting files in addition to db storage. I also can't imagine the ability to define a url and download files from said url would account for that difference either, considering the size of Notepad with Sync.

So why the extra size. Functionality certainly doesn't match weight.

Question information

Language:
English Edit question
Status:
Answered
For:
Tomdroid Edit question
Assignee:
No assignee Edit question
Last query:
2009-12-30
Last reply:
2010-01-25
Olivier Bilodeau (plaxx) said : #1

Actually, its because of a library called jodatime used to parse the date format of tomboy notes. It's a format that I wasn't able to parse using standard Java date / time classes so I pulled it in quickly to achieve this piece.

The lib itself weight 600kb.. It's a very capable but big library.

NO efforts have been made at optimizing for size yet. I know I can maybe find another lib to do this work, write a little parser myself or just strip the parts of jodatime i don't use (I even think a lite version exists). This work will likely take place before a 1.0 release.

Olivier Bilodeau (plaxx) said : #2

I just committed a change that allowed to remove the big jodatime library.

Apk App size went from ~380Kb to ~30Kb.

I will release that soon (days).

Can you help with this problem?

Provide an answer of your own, or ask kristopher_d for more information if necessary.

To post a message you must log in.