You Are Here:

Community: Developer Discussion Boards

#1 Old Pim toSerialFormat writes the current time and date - 2007-09-13, 16:04

Join Date: Jun 2004
Posts: 60
ianstrain's Avatar
ianstrain
Offline
Regular Contributor
Hi all,

I am writing an app that gets the PIM data from the phone and sends it to a server. To do this I use PIM.toSerialFormat() that will write data PIM entry to an output stream which I then send to the server. I then can retrieve the PIM data at a later late from the server and write it to the phone. This all works fine.
The problem is that when I get the PIM data from the todo list (and possibly the event list, I haven't checked) and write it to the output stream the date that was for the todo task changes to the current time and date of the phone. So therefore when I read the todo task back from the server it will have the wrong scheduled time.

For example;
I have a todo task scheduled to go off on the 20-9-07 at 20:00. When I send the todo task to the server the scheduled time changes to the time and date the device is currently at, say 13-9-07 14:53. So when I get the data back from the server and save the todo task on the device the time for the scheduled task is now 13-9-07 14:53

Has anyone noticed this? Is there a work around? I really hope this is not a bug in the PIM api. I think it is a serious one!
At the moment I think the only work round would be to read from the pim entry and not us toSerialFormat


Ian Strain

J2ME Developer
Reply With Quote

#2 Old Re: Pim toSerialFormat writes the current time and date - 2007-09-14, 10:30

Join Date: Jun 2004
Posts: 60
ianstrain's Avatar
ianstrain
Offline
Regular Contributor
Tested on Nokia 6230i, 6131 and Sony Ericsson K750, W850. This problem only occurred on the Nokia devices.


Ian Strain

J2ME Developer
Reply With Quote

#3 Old Re: Pim toSerialFormat writes the current time and date - 2007-09-20, 11:09

Join Date: Jun 2004
Posts: 60
ianstrain's Avatar
ianstrain
Offline
Regular Contributor
this also happens using the fromSerialFormat() method.


Ian Strain

J2ME Developer
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
6670 asks for date time on startup collinar General Discussion 0 2005-09-28 17:03
Displaying Current date time in SMS?? arunjadhav_v Mobile Java Networking & Messaging & Security 2 2005-08-13 13:22
How to display current time and date? yanxiang Symbian User Interface 5 2004-11-04 09:04
Current Date Time/Problem Vaneet3 Mobile Java General 0 2004-10-30 15:01
How to display current time and date? yanxiang General Symbian C++ 3 2004-03-10 16:19

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia