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 7731421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:28:32+00:00 2026-06-01T06:28:32+00:00

I am currently working on a mobile application with VS2008 which has a capacbility

  • 0

I am currently working on a mobile application with VS2008 which has a capacbility of periodically checking if the desired bluetooth device is in range or not. At the moment, I am using System.windows.form.Timer to do this. However, I have found that it will slow down the application, even worse, it will crash sometimes.

Does anyone have any better idea of how to do periodically checking without using the System.windows.form.timer? I am currently using 32 feets for the bluetooth.

Thanks for any helps in advance.

Regards,

Charles

  • 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-01T06:28:33+00:00Added an answer on June 1, 2026 at 6:28 am

    Add a background thread that sleeps for X amount of time (you choose how long) then every once in a while (based on how long the thread sleeps) it will run (wake up and execute), check if the bluetooth is in range and give you some form of feed back, then it will go to sleep again.

    Summed up

    1. Thread activates
    2. Checks if bluetooth is in range
    3. Gives you feed back
    4. Thread goes to sleep again

      while (true)
      {
         //starts a new thread
         Thread blueToothThread = new Thread(new ThreadStart(menu.Run));
      }
      
      //the threads method named Run
      public void Run()
      {
          // Perform the bluetooth check here
      
          Console.WriteLine("You will see this only once every 8 seconds");
          //choose how long thread sleeps here
          Thread.Sleep(8000);
      }
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am designing a Netflix Application for BlackBerry mobile devices. I am currently working
I'm currently working on a consumer mobile application project and have read that 40%
I am currently working on the creation of an application for mobile devices with
I'm currently working on a project where the front-end has to be a mobile
the application i'm currently working on is mobile network dependant, so my question is,
Does Using Namespace; consume more memory? I'm currently working on a mobile application and
We have a Windows Mobile application which is currently running on Symbol (now Motorola)
I am currently working on a mobile application framework written in HTML 5, CSS3
I am working on a PhoneGap application using jQuery Mobile. Currently I am only
I am currently working on mobile device web applications, and I was wondering if

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.