authentication username password url in blackberry
问题 I'm setting up a connection to a site which requires a username and password but it doesn't connect and I don't know the reason can you help me with this please? This is the code I'm using { HttpsConnection connection; connection = (HttpsConnection) Connector.open(url + getBlackBerryConnectionParams()); connection.setRequestProperty("Authorization", "Basic" + new String(getEncode())); } public byte[] getEncode() { String login = "user:@@iPass"; byte[] encoded = null; try { encoded =