android studio - Watson API Call failing -


enter image description here doing api call android studio. there no errror when run @ adb, app stops saying "unfortunately app has stopped" can please see , tell doing wrong? much

you have set workspace id application, understand?

example:

conversationservice service = new conversationservice("08-11-2016"); service.setusernameandpassword("{username}", "{password}");  messagerequest newmessage = new messagerequest.builder()   .inputtext("turn on lights")   // replace context obtained initial request   //.context(...)   .build();  string **workspaceid** = "**id conversation...**";  messageresponse response = service    .message(workspaceid, newmessage)   .execute();  system.out.println(response); 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -