Fix java sample code

This commit is contained in:
Jim Norman 2005-10-18 23:18:34 +00:00
parent 7545a0ff9d
commit 24673f2b24

View File

@ -102,7 +102,7 @@ public class JavaSample {
if (sID != null && sUsername != null && sPassword != null) { if (sID != null && sUsername != null && sPassword != null) {
try { try {
MiCasa.setCredential(0, sID, null, MiCasa.USERNAME_TYPE_OTHER_F, sUsername, sPassword); MiCasa.setCredential(0, sID, null, MiCasa.USERNAME_TYPE_CN_F, sUsername, sPassword);
} catch (MiCasaException e) { } catch (MiCasaException e) {
System.out.println(e.getMessage()); System.out.println(e.getMessage());
} catch (Exception e) { } catch (Exception e) {