sammiwei
sammiwei

Reputation: 3200

How come I can not use android.util.Base64?

The import android.util.Base64 cannot be resolved

is Base64 class really inside the util package? Need some help! Thanks

Upvotes: 4

Views: 12768

Answers (2)

Victor Wong
Victor Wong

Reputation: 2486

android.util.Base64 has been included since Android API Level 8 (i.e. Android 2.2.x or later)

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

For older version, you have to download the library or source code manually and put it under your project.

Upvotes: 13

Related Questions