i need to use Base64 on my app (import android.util.Base64;) but Base64 was included in android with 2.2, api lvl 8. Then when i make the import i get this error: Base64 cannot be resolved, and doesn't give me the possibility to import it, because i am making my project with api lvl 3. For some reasons my app have to be compatible with old versions of android (1.5 1.6 etc..)
it is possible to use Base64 without migrating to api lvl8 ?
Use a home-grown implementation instead: http://androidcodemonkey.blogspot.com/2010/03/how-to-base64-encode-decode-android.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With