Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2009

    J2ME issue on s60 platform ...

    Hi all,
    We have J2ME application(MIDP 2.0, CLDC 1.0) that used Java util Timer and Timer task to wake up every second and do a task.
    In S60 nokia devices like (n70,72,etc) when the app is running one can switch to menu and change the system time. If the clock is changed backwards than the current time, the application is hanging. It does not proceed with the periodic task that happens every second.
    It again works fine when the application is brought down and re instantiated.
    My question is:
    1) Has anyone encountered such issues while working with J2ME Timer/TimerTask in S60 or any other devices?
    2) Is there any known KVM bug?
    3) Is there any way to debug this scenario on the mobile via a cradled mechanism?

    Kindly let me know.
    Any kind of help will be useful and thanks in advance.


  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Cheshire, UK

    Re: J2ME issue on s60 platform ...

    I strongly recommend against using Timer and TimerTask, as they are troublesome.

    Create your own mechanism, using Thread and sleep().


  3. #3
    Registered User
    Join Date
    Dec 2005

    Re: J2ME issue on s60 platform ...

    Hi Srinath,

    I do not know if this is specific to S60, maybe it happens in Series 40 or any other manufacturer as well (it might be vendor specific or a bug though). But think about it, you are changing the ref in time for a running Timer so the behavior might be non-deterministic.

    I will test it on other devices and see what happens and then report here as soon as I am available. I am curious about that.

    Kind regards,
    Juarez Alvares Barbosa Junior - Brazil

  4. #4
    Nokia Developer Expert
    Join Date
    Dec 2007

    Re: J2ME issue on s60 platform ...

    I assume that the time change in the device is when MIDiet is running.

    I doubt if you can change or come to main menu to change in S40 when MIDiet running

    Update will help to know if it S60 dependent or also same issue in S40.


  5. #5
    Registered User
    Join Date
    Dec 2005

    Re: J2ME issue on s60 platform ...


    Have you performed this test?

    Please let us know the results!

    Juarez Alvares Barbosa Junior - Brazil

Similar Threads

  1. s60 SDK C++ download issue
    By ticktock in forum News and Announcements
    Replies: 6
    Last Post: 2007-02-05, 23:59
  2. Device font in S60 Platform SDK 3rd ED
    By jiipee63 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2006-10-02, 10:09
  3. How J2ME S60 3rd edition to choose network?
    By a1234321 in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-07-20, 22:05
  4. Got an error while building S60 browser code on S60 SDK platform
    By kuldeep_kec in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-07-20, 07:09
  5. Replies: 1
    Last Post: 2002-10-06, 09:14

Posting Permissions

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