6 messages in com.googlegroups.google-desktop-developerRe: Jacob ,-> GDS
FromSent OnAttachments
adam...@yahoo.com14 Jun 2005 04:07 
maf-soft14 Jun 2005 05:02 
adam...@yahoo.com14 Jun 2005 05:55 
adam...@yahoo.com14 Jun 2005 06:57 
adam...@yahoo.com14 Jun 2005 07:16 
adam...@yahoo.com14 Jun 2005 07:38 
Subject:Re: Jacob ,-> GDS
From:adam...@yahoo.com (adam@yahoo.com)
Date:06/14/2005 07:16:28 AM
List:com.googlegroups.google-desktop-developer

Working!

Make sure you supply all the fields that the "Google.Desktop.IM" method expects... i.e. ---snip--- // add IM event properties Variant message_time = new Variant("1.2.1"); Variant imFormat = new Variant("text/html"); Variant imContent = new Variant("gaimrocks"); Variant imUserName = new Variant("ab"); Variant imBuddyName = new Variant("ab"); Variant imConvID = new Variant("0"); Variant imTitle = new Variant("Title");

// "message_time" property gdsEvent.addProperty("message_time", message_time);

// "format" property gdsEvent.addProperty("format", imFormat);

// "content" property gdsEvent.addProperty("content", imContent);

// "user_name" property gdsEvent.addProperty("user_name", imUserName);

// "buddy_name" property gdsEvent.addProperty("buddy_name", imBuddyName);

// "conversation_id" property gdsEvent.addProperty("conversation_id", imConvID);

// "title" property - use the buddy name gdsEvent.addProperty("title", imTitle);

// send the event real-time try { gdsEvent.send(0x01); } catch (Exception e) { component.unregisterComponent(kComponentGuid); System.out.println(e); System.exit(1); } ---snip---

No Exception! Have fun. Adam