1 Answer
1

Using standard resources (or assets/ depending on your needs) is "natural" way of doing that on Android. Using base64 as you described is pointless here and makes things worse as you need to to decode these assets prior use which means using time and resources. Stick to provided platform mechanisms...

I guess I should mark your answer as "accepted", but will leave for a while, maybe someone has different opinion. Mine is similar to yours, that why I do not understand why I got resources in huge XML...
–
BalkytoOct 8 '12 at 15:51

@balyto: Base64 as any ASCII "container" is ineffective because it usually sticks to 7 bit characters, which means your output will at least be 1/7th bigger than original file (it will be bigger than this, due to some additional chars used (i.e. LFs) or some sort of "escaping" (like "=...."). So if you definitely know you need Base64 or QP then you most likely do not need to use it.
–
Marcin OrlowskiOct 8 '12 at 16:24