A
plain and humble widget to mark the birthday of a wise and witty
man. Shows a new quote from Poor Richard's Almanack each day, and
an interesting event from history updated hourly.
TypesetView is a
View that's great for displaying paragraphs of rag-right, static body
text in your Android app. It adds typographic niceties from more
sophisticated text layout engines, allowing refined control over your
content. Multicolumn text, TeX-style line breaks, margins that flow
around arbitrary shapes and more.
Did you need to load a stretchy nine-patch drawable from your assets
or the network, rather than directly via a resource? If so, you begin
to realize that the foo.9.png file in your source is actually
different from what's compiled into your apk, and you have to do
something similar before you can use the goodness of NinePatchDrawables.
Self-contained Java code to generate OpenPGP RSA keys using the BouncyCastle Java library. It's easy to miss important steps that improve the security of your code, and this post documents what I've learnt. The emphasis is on a complete working example that you can adapt for your needs.
I recently found a GnuPG
vulnerability while testing my java-based OpenPGP code. I'll use
this as an excuse to post about testing security code and OpenPGP in
particular, but put it in context with this real-life bug.