[Android] Parameterize error header

Also address #13