This class (as well as Base64OutputStream) is only available starting with API level 8, which may not work for all applications.

-- Kostya

28.01.2011 19:56, Hari Edo пишет:
However, this question is even sillier than that.  The
Android platform even includes a class called Base64 which
does all the encoding and decoding for you.  Without
worrying about incompatibility, testing, or license issues!

   http://developer.android.com/reference/android/util/Base64.html

That class even has an .encodeToString() method that turns
your arbitrary byte[] data into a String ready for use in
sqlite TEXT fields.


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to