I have a login page where a user can enter username and password. To use this values in a request, i convert the string with the formula ENCODE_BASE64 in the format "Username:Password". For some reason android returns an empty string for this instead of the converted value. In the web version everything works fine. In addition, i tried to convert it in a javascript file with the command btoa() which does not work in android but web version aswell.