×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Adding calendar events in WRT only adds blank entries

    I've tried the examples in 'CS001233 - Adding and deleting calendar events in WRT' and they successfully add a blank entry. When I then try to add an entry with a description or summary (using criteria.Item.Description = "my description") I get an error. Has anyone got an example of how to do this?
    Thanks
    HeathenBob
    Mantic Point Solutions Ltd.

  2. #2
    Super Contributor
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Smile Re: Adding calendar events in WRT only adds blank entries

    Hello,

    I would suggest using Platform services 2.0. They offer simplified and more developer friendly interface to same resources as basic platform services. After downloading the package, you can find an example widget from the example_widgets.zip labeled as CalendarService.wgz. It seems to work OK

    Br,
    Ilkka

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Perth, Western Australia
    Posts
    286

    Re: Adding calendar events in WRT only adds blank entries

    Quote Originally Posted by isalento View Post
    Hello,

    I would suggest using Platform services 2.0. They offer simplified and more developer friendly interface to same resources as basic platform services. After downloading the package, you can find an example widget from the example_widgets.zip labeled as CalendarService.wgz. It seems to work OK

    Br,
    Ilkka
    Hi,

    Thank you for this link, it is very interesting. I am just starting with WRT's and have loaded Aptana editor and imported the Services 2.0 WGZ's. When I launch the calanderServicers.wgz index.html I expected to see a calender, however, nothing appears.

    Could you please indicate what I am doing wrong?

    Regards
    Brian Oldfield

  4. #4
    Super Contributor
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Adding calendar events in WRT only adds blank entries

    Quote Originally Posted by oldfield View Post
    Hi,

    Thank you for this link, it is very interesting. I am just starting with WRT's and have loaded Aptana editor and imported the Services 2.0 WGZ's. When I launch the calanderServicers.wgz index.html I expected to see a calender, however, nothing appears.

    Could you please indicate what I am doing wrong?

    Regards
    Hello Brian,

    Actually there is two reasons for this.

    The first one is self closing script tag, which causes issues with Fire Fox but "works" on real devices.
    <script type="text/javascript" src="script/platformservices.js" charset="utf-8"/>
    Change all the script tags to:
    <script type="text/javascript" src="script/platformservices.js" charset="utf-8"></script>
    I'll put this on my todo list.

    Another issue is that Aptana preview does not yet support the new Platform services 2.0.
    I would recommend using N97 or N79 mini to test the widgets.

    Ps.
    Check the release notes as well. There is an issue with the Calendar API, if device is using some other language than English. You will get NaN or Invalid instead of the actual timestamp. A known issue document about this bug should be out soon.

    Br,
    Ilkka

Similar Threads

  1. displaying calendar events
    By asshaikh432 in forum Symbian
    Replies: 4
    Last Post: 2009-05-06, 19:41
  2. How delete all calendar entries?
    By pavarang in forum Symbian
    Replies: 4
    Last Post: 2008-05-28, 12:31
  3. module adding alarm + delete entries to calendar
    By worlman385 in forum Symbian
    Replies: 0
    Last Post: 2007-02-03, 19:42
  4. Replies: 1
    Last Post: 2005-10-27, 22:52
  5. Problem in Deleting all the calendar entries?
    By symnewbie in forum Symbian
    Replies: 0
    Last Post: 2005-06-17, 14:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •