"Basic YWRtaW46YW RtaW4=" is right code for my address.I check on j2me project.
And on android my getbase64 method returns "Basic YWRtaW46YW RtaW4=" its true.
and ı use it on:
httpConnection.setRequestProperty("Authorization",getBase64Encode()); ==> "Basic "+Base64.Decode(name:pass); Finally responce code is 401
any idea???