pda-ppc.com
 
MENU
Search
 Astronomy
 Business
 Calculator
 Clock/calendar
 Communication
 Database
 Docs
 Educational
 Financial
 Games
 Graphics
 Hobbies
 Medical
 Misc/fun
 Multimedia
 Quiz
 Religion
 Travel
 Utilities



AceShowbiz
Celebrity Mania
Wow Keren


Digg this - Post page to del.icio.us - Post page to Furl



Bluetooth Manager
Freeware 
Latest update : Jul 10, 2008
File Size: 248.9 KB
Download: available

Min Requirements:

Windows Mobile 5.0 and later
Author: Chris Craft
Email: cjcraft@mail.com
Info/description:

This application came about due to a reader's request. So be sure to submit your ideas for applications. I strongly favor working on user submitted ideas over my own.

I always like an application to have a little eye candy, and that explains the interactive Bluetooth logo at the top of the screen. It is in color when the Bluetooth is enabled, and grayscale when Bluetooth is off. Clicking the Bluetooth logo toggles the Bluetooth radio from on to off.

I added a multiline textbox so users could see a history of Bluetooth radio state changes. There are buttons to allow users to directly turn the Bluetooth radio on and off.

One caveat is that this uses P/Invoke to access the Microsoft Bluetooth stack dlls.

Here are the calls:

[DllImport("BthUtil.dll")]

private static extern int BthGetMode(out RadioMode dwMode);

[DllImport("BthUtil.dll")]

private static extern int BthSetMode(RadioMode dwMode);

Also, we had to take advantage of State and Notification Broker API. Here's why: if the state of the Bluetooth radio were to change due to an action outside of our program we wouldn't know about it. That's where SNB API comes in. It allows us to subscribe to notifications for almost any event that we are interested in. The code is below.

SystemState bluetoothStatePowerOn = new SystemState(SystemProperty.BluetoothStatePowerOn);

bluetoothStatePowerOn.Changed += new ChangeEventHandler(bluetoothStatePowerOn_Changed);

void bluetoothStatePowerOn_Changed(object sender, ChangeEventArgs args)

{
UpdateScreen();
}

The last thing to check out is the auto shutdown code: it's simple but works great. There is a timer that waits for 1 minute to pass, and then there is a loop for the count of ten, which uses a Thread.Sleep(1000) to pause the application for 1 second each iteration of the loop. This creates a great effect that keeps the user from thinking the application has crashed.


Dead or Changed Link? Report This Listing


  News, Articles and Press Releases
 •  iambic Unveils First iPhone App, SnappySeeker (Dec 19, 2008)
 •  iSkysoft announces iMedia Converter 1.0.0.8 for Mac OS X (Dec 17, 2008)
 •  iDTRONIC will present at RFID Show 2008 in Paris its updated and expanded UHF Range of Products (Dec 17, 2008)
 •  With Mobile Learning technology a simple PDA or SmartPhone can take you away to another place and time. (Dec 16, 2008)
 •  Smartphones Don’t Care Much For Size (Dec 16, 2008)
 •  Sprint hopes to dominate with its Mogul device (Dec 16, 2008)
 •  Cooking in the Mobile Cloud (Dec 13, 2008)
 •  Happy 6th Birthday Mobilitysite/Aximsite (Dec 13, 2008)
 •  CompanionLink for Google Now Compatible with Lotus Notes (Dec 12, 2008)
 •  PenReader Touch, latest invention by Paragon Software Group (Dec 12, 2008)
 •  More News ...
  Latest software update
 •  Timeo for Mobile 2.00 (Nov 24, 2011)
 •  inCall ProxDispOff 1.10 (Nov 24, 2011)
 •  busGuide2 1.2 (Jun 29, 2011)
 •  Trip Reports 1.0 beta (Jun 29, 2011)
 •  LeTour 2011 Mobile 1.0 (Jun 29, 2011)
 •  TrailCompanion 1.9.8.0 (Jun 29, 2011)
 •  PHM Task Manager 0.1 (Jun 27, 2011)
 •  FunnySnake EasyTweak 0.1.2 (Jun 27, 2011)
 •  TI59ce 1.0.342.1 (Jun 27, 2011)
 •  PHM Registry Editor 0.7.0 (Jun 27, 2011)
 •  PicoWebServer 1.0 beta (Jun 24, 2011)
 •  PocketFeed 0.6.0 (Jun 24, 2011)
 •  PocketBlinds 1.0 (Jun 24, 2011)
 •  FreeMine 1.0.1 (Jun 24, 2011)
 •  Pocket Translator 1.0 (Jun 23, 2011)
 •  Silke Four 1.0 (Jun 23, 2011)
 •  vxShortCut 0.9.3 (Jun 23, 2011)
 •  SIManager 1.1 (Jun 23, 2011)
 •  Isitar 1.0 (Jun 20, 2011)
 •  Where is my RAM? 1.2 (Jun 20, 2011)
Add to Favorite Home Submit Freeware Send Mail