Hey thanks everyone.
it got solved.
The notification will come only when gadget is uploaded in desktop sidebar.
it will result in error saying that Automation server cant create object,
i.e. preview(F5) from desktop designer wont show notification.
the code which used for notification was correct.

On Tue, Nov 25, 2008 at 11:59 AM, Java Developer <[EMAIL PROTECTED]>wrote:

> Hi,
> I was trying to get user notification as in *Gmail gadgets* shows, in
> which a white rectangle box rises from the task bar with heading and
> detailed message whenever new mail receives.
> I got the idea how to do from the URL pasted below:
> http://code.google.com/apis/desktop/articles/e16.html
>
> I was trying with the following code :
>
> --------------------------------------------------------------------------------------------------------
> function alertEx(){
>     var item = new ContentItem();
>     item.heading = heading1;
>     item.snippet = snippet1;
>     plugin.AddContentItem(item, gddItemDisplayAsNotification);
> }
>
> --------------------------------------------------------------------------------------------------------
> but it results me in error saying that - "plugin" is described or defined.
> then I used contentArea/1.AddContentItem(item,
> gddItemDisplayAsNotification);
> that also resulted same error.
> do we need to define and initialize the 'plugin' before use or what else is
> the right way to implement the
> please help me.
>
> Thanks in Advance.
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to