Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8067499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:19:09+00:00 2026-06-05T12:19:09+00:00

So, i got an application (windows phone 7.5 over c#) using an DispatcherTimer to

  • 0

So, i got an application (windows phone 7.5 over c#) using an DispatcherTimer to emulate a timer. I have set the interval to 1 millisecond:

timer.Interval = new TimeSpan(0,0,0,0,1);

Then i am declaring a TimeSpan in order to make a simple countdown:

TimeSpan countdown = TimeSpan.FromSeconds(10);

On each tick im Substracting 1 millisencond:

countdown = countdown.Subtract(TimeSpan.FromMilliseconds(1));

In Visual Studio’s windows phone emulator 256/512 its working with ‘no problems’, but when i run it on my phone (LG Quantum) it seems to have precision problems. I have compared it with my PC screen running the application and its way slower on the phone. I have tried to not to run the application in debug mode in my phone. Is there any solution to this? Or i have to take another approach?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T12:19:10+00:00Added an answer on June 5, 2026 at 12:19 pm

    Experience tells me that you’re simply trying to fire far too many events for the phone hardware to handle.

    From MSDN:

    The DispatcherTimer is reevaluated at the top of every DispatcherTimer loop.

    Timers are not guaranteed to execute exactly when the time interval occurs, but they are guaranteed to not execute before the time interval occurs.

    Remember that the actual phone hardware is single core so trying to capture precisely 1000 events per second isn’t the best approach.

    Either increase the time between ticks and increment based on the new interval, or take the time the timer is started and subtract it from the current time each tick.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Windows Phone 7.1 application in which I got three pages, and
We have got a web application and a windows forms application. The web application
I'm trying to make a basic client-server application for windows phone 7 (using Mango
I got a Windows Phone 7 application project from a friend. Now I downloaded
Im currently developing an Windows Phone 7.0 Application with C#. I got an Listbox
In my application (C#, Windows Forms) I have got a telephone information screen: if
I have used a ListBox in my Windows application. I got the variable iplist
I'm testing out Windows Phone 7.5 push notifications. I have got the 3 different
We've got a (Windows) application, with which we distribute an entire Python installation (including
I've got a java application on a windows machine which pins the CPU from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.