×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    35

    Angry E6/X7/Anna has broken WRT calendar API

    Just noticed though the OVI QA process that my WRT calendar widget does not work properly on the E6. It works fine on devices like N97 and N8. I've run a couple of tests and it looks like the WRT calendar API does not work anymore on this device. For an example, try the CalendarWidget.wgz example widget supplied by the Nokia N97 SDK. It is no longer possible to read any calendar entry information. The only information returned in a calendar event query are undefined objects instead of event type, summary, start&end date etc.

    Anyone else noticed issues like this?
    Last edited by oxidative; 2011-05-17 at 10:36.

  2. #2
    Registered User
    Join Date
    Mar 2008
    Posts
    12

    Re: E6 has broken WRT calendar API

    That's not good. The calendar access is still supposed to be there via Platform Services 2 so it should work as detailed in
    http://library.forum.nokia.com/topic...D-0062ED0A6A89

    Hope you get somewhere!

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    35

    Re: E6 has broken WRT calendar API

    Nope, definitely not working. I've tried with both, Platform Service 1.0 and 2.0 API, no joy. Here is a very simple example widget which just reads every calendar entry on your phone and outputs it to the log file:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script language="javascript" type="text/javascript">
    
    function init() {	
    	var name = "C:Calendar";
    	var so = device.getServiceObject("Service.Calendar", "IDataSource");
    	var filter = {Type:'CalendarEntry',Filter:{CalendarName:name}};
    	var list = so.IDataSource.GetList(filter).ReturnValue;
    	while (list && (entry = list.getNext()) != undefined) {
    		var output = 'id=' + entry.id + ',Summary=' + entry.Summary + ',StartTime=' + entry.StartTime;
    		console.info(output);
    		document.getElementById('content').innerHTML += output + '<br/>';
    	}
    }
    
    </script>
    </head>
    <body onload="init();">
    	<div id="content"></div>
    </body>
    </html>
    This is the output for N97 and N8:
    Code:
    Info: id=n8C2O7EY4F0cW918X2GVU1,Summary=ExampleAnniversary1,StartTime=Saturday,  14 May, 2011 00:00:00
    and this is the output for the E6:
    Code:
    Info: id=undefined,Summary=undefined,StartTime=undefined
    Last edited by oxidative; 2011-05-17 at 10:37.

  4. #4
    Registered User
    Join Date
    Mar 2008
    Posts
    12

    Re: E6 has broken WRT calendar API

    Are you testing this over Remote Device Access? If you are, have you tried the widget on the X7 prototype fw to see if this is an 'E6' problem or an 'Anna' problem? I didn't think much had changed with the calendar implementation in Anna other than the improved month view.

    From your listing it looks like the client end of platform services is working as it should, as it looks like GetList is returning a list from the server object, but the phone end isn't populating the list as expected. If you have several example items in the calendar, does it return the correct number of list items?

    I wondered if they might have changed the underlying calendar object structure (although I can't think of a good reason why) but I think it is much more likely that this is a bug...

    Al

  5. #5
    Registered User
    Join Date
    Apr 2008
    Posts
    35

    Re: E6 has broken WRT calendar API

    Just checked, the X7 shows the exact same behaviour. So this seems to be an Anna problem after all. I know that they changed a lot of the internals. For example, the date information for calendar events originally was a simple text string, which now is a real javascript Date object. I wonder why the devs didn't pay more attention to the backward compatibility...

    The number of objects returned is correct, only the object information itself is non existent.

  6. #6
    Registered User
    Join Date
    Mar 2008
    Posts
    12

    Re: E6/X7/Anna has broken WRT calendar API

    Ok so definitely a bug, and quite a big one unless it's some sort of artefact related to RDA and the proto firmware. Is there even a bug reporting system for Symbian?

  7. #7
    Registered User
    Join Date
    Apr 2008
    Posts
    35

    Re: E6/X7/Anna has broken WRT calendar API


  8. #8
    Nokia Developer Moderator
    Join Date
    Nov 2006
    Location
    Helsinki
    Posts
    413

    Re: E6/X7/Anna has broken WRT calendar API

    Quote Originally Posted by bat400 View Post
    Ok so definitely a bug, and quite a big one unless it's some sort of artefact related to RDA and the proto firmware. Is there even a bug reporting system for Symbian?
    go to: http://bugs.forum.nokia.com/ -> file a new bug -> Nokia Symbian platform

    and this sort of bugs shouldn't be caused by RDA. of course the firmware is still not final, but should be up to date at the moment.

  9. #9
    Registered User
    Join Date
    Mar 2008
    Posts
    12

    Re: E6/X7/Anna has broken WRT calendar API

    I see the FW for the E6 and X7 is supposed to have had a minor update today.

    It probably won't make any difference but thought I'd mention it...

    Al

  10. #10
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: E6/X7/Anna has broken WRT calendar API

    Hi,

    Thank you for reporting this issue. RnD is investigating it at the moment.

    Br,
    Ilkka - Forum Nokia

  11. #11
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: E6 has broken WRT calendar API

    Hello,

    This issue is now identified and will be fixed in upcoming firmware releases.

    -Ilkka

  12. #12
    Registered User
    Join Date
    Mar 2008
    Posts
    12

    Re: E6 has broken WRT calendar API

    Quote Originally Posted by isalento View Post
    Hello,

    This issue is now identified and will be fixed in upcoming firmware releases.

    -Ilkka
    Given this is an Anna issue, does that mean it will be fixed in the first public Anna release, or in a firmware update after that?

    Al

  13. #13
    Registered User
    Join Date
    Apr 2008
    Posts
    35

    Re: E6 has broken WRT calendar API

    There is bad news: since the recent firmware update 40.0.021 for the C6-00, this device if affected by this bug also.

  14. #14
    Registered User
    Join Date
    Mar 2008
    Posts
    12

    Re: E6 has broken WRT calendar API

    Quote Originally Posted by oxidative View Post
    There is bad news: since the recent firmware update 40.0.021 for the C6-00, this device if affected by this bug also.
    Seems like something must have changed in one of the platform services libraries and this is gradually going to be appearing across the new firmwares. Not good, and would put me in a difficult position when Anna becomes available; I want the new calendar features on Anna, but I also want my ComingNext widgets...

  15. #15
    Registered User
    Join Date
    Jun 2011
    Posts
    2

    Re: E6/X7/Anna has broken WRT calendar API

    I am also eargerly waiting for Anna and want to use the ComingNext widget. Hopefully it will be fixed when the final Anna appears.

Similar Threads

  1. Replies: 3
    Last Post: 2010-03-16, 08:37
  2. API 1.0, API 2.0, APIBridge, WRT... HELP!
    By alexmichaelis in forum Symbian
    Replies: 1
    Last Post: 2010-02-08, 09:38
  3. My phone has broken ??
    By Tommo45 in forum General Development Questions
    Replies: 1
    Last Post: 2008-11-11, 18:26
  4. Has Nokia broken 7650 J2ME in v4.39?
    By LongSteve in forum Mobile Java General
    Replies: 6
    Last Post: 2003-06-03, 17:05
  5. Has this forum been down/broken for days?
    By moamoa in forum Mobile Java General
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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