Results 1 to 2 of 2
  1. #1
    jazzist is offline Member
    Join Date
    Sep 2010
    Posts
    1
    Rep Power
    0

    Default timr task and timer problems

    hello folks,

    i tried using timer task and timer classes from java.util
    but whenever i set the rate of repeatition to somwhere around a bit more then twice per second i get a latency problem, which means the task is not occuring exactly when it should , mostly its late, and somtimes it happens too fast.
    how can i fix this problem?
    the task is very simple: play a sound.

    also in some mobile phones the timer task is accurate up to higher rates the other phones.

    please help me solve this prolem,
    thanks

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

Similar Threads

  1. Help with a task.
    By checho in forum New To Java
    Replies: 5
    Last Post: 01-14-2010, 11:29 AM
  2. Problems with Graphics and a Timer...
    By r0binho0d in forum Java Applets
    Replies: 5
    Last Post: 07-26-2008, 03:03 AM
  3. [SOLVED] Timer Task
    By Nicholas Jordan in forum New To Java
    Replies: 16
    Last Post: 07-02-2008, 01:21 AM
  4. Replies: 0
    Last Post: 06-26-2008, 07:32 PM
  5. Replies: 0
    Last Post: 04-04-2008, 02:46 PM

Tags for this Thread

Posting Permissions

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