Hi Rohit,
Thanks for your reply, Its working well.
Another query, I need to write into activity stream once a day when
specific activity is performed.
I have got the code to write into activity stream, need help to limit
it once per day or week something like this.
Regards
Sharath
On Apr 30, 9:30 am, "Rohit Ghatol (Google)"
<
api_rohitgha...@google.com> wrote:
> HiSharath,
> Sorry about the late response. What I really meant here was to use
> PersonAppData to store a field named "installed". Check this field to
> see if the application was installed, if not do installation tasks and
> then set a field named "installed" in the PersonAppData.
> Try out this example, this will make things lot clearer.
>
>
http://hosting.gmodules.com/ig/gadgets/file/115537651881774373169/app...
>
> In this example, you have to replace the contents of install function
> with your code of writing to the activity stream.
>
> Regards,
> Rohit
>
> On Apr 23, 7:22 pm,sharath<
sharath2...@gmail.com> wrote:
>
> > Hi Rohit,
>
> > Thanks for the reply.
> > Is there any class defined in opensocial to check the installed field
> > or what is the approach?
>
> > Thanks and Regards
> >Sharath
>
> > On Apr 22, 10:24 am, "Rohit Ghatol (Google)"
>
> > <
api_rohitgha...@google.com> wrote:
> > > HiSharath,
>
> > > This is an interesting concept. In order to achieve this may be you
> > > can use app data. You could check if the field, say "installed"
> > > exists, and if not, then do any installation tasks and set the
> > > "installed" field.
>
> > > I hope this helps.
>
> > > Regards,
> > > Rohit
>