G-Sensor, Light sensor

The Windows Mobile Unified Sensor API allows developers to easily access the hardware sensors that are available on various phones.

http://sensorapi.codeplex.com/

Call Firewall + SMS Blocker (FREE)

I found a free application to block your unwanted incoming calls:
http://www.logic-unlimited.in/callfirewall.php

Features:
a. Accecpt all calls
b. Accept call from My Contacts only.
c. Reject all calls
d. White List - accepts calls only from the white listed.
e. Black List - accepts all calls except from the black listed.
f. There is also an option to reply with an SMS.

Presentation Zoom Tool

Microsoft has a great Zoom tool specifically for presentations. It would be very useful for technical presentations where the code is hard to see on the projector.

PInvoke.Net

PInvoke.net is allowing developers to find PInvoke signatures, and any other information related to calling unmanaged APIs from managed code (written in C# or VB.NET).
E.g.:
[DllImport("coredll", EntryPoint="GetDC", SetLastError=true)]
private static extern IntPtr GetDCCE(IntPtr hWnd);



http://www.pinvoke.net/

They have an Add-in to Visual Studio 2003 and 2005, to make the insertion of PInvoke signatures an easy and fast operation.

You can download it from their page. It's FREE :)

Best regards,
Gabriel Minárik

I love this Add-in (SlickEdit Gadgets)

I think SlickEdit's ruler is very nice tool in Visual Studio.
The ruler indicates where your cursor is, and you haven't looking for it. 8)

Here is a screenshot from my IDE:


Of course it is FREE Add-in :) Thanks for the developers! ;)

Download page:
http://www.slickedit.com/content/view/441

WM 6.1 Emulator Images

Where can you download WM 6.1 Emulator Images?
here

New emulator image resolutions:

  • Windows Mobile 6.1 Standard
    DPI: 131 - Resolution: 320 x 320 pixels
    DPI: 131 - Resolution: 400 x 240 pixels
    DPI: 131 - Resolution: 440 x 240 pixels

  • Windows Mobile 6.1 Professional
    DPI: 96 - Resolution: 240 x 400 pixels
    DPI: 192 - Resolution 480 x 800 pixels

A screen capture tool for WM 5

Here is a very simple source code to make a screenshot on your device:

http://www.codeproject.com/KB/mobile/screen_capture_pocketPC.aspx




Remote device control

You must know this application, if you are a WM developer.
MyMobiler is a Freeware application, and I like it! :)

Features:
  • View your mobile screen on your desktop.
  • Control your mobile by using desktop keyboard and mouse.
  • Copy/Cut/Paste text between mobile and desktop.
  • Capture mobile screen.
  • Drag and drop files to your mobile.
  • Support ActiveSync / IP Connection
  • Support Mobile Explorer (File Browse)

Special TextBox Control

When you have a Resco CustomKeyboard in your application, maybe you need a custom TextBox too, which filters the pressed key.
In my sample code, the SpecialTextBox control overrides the TextBox control, and allows only these keys:
Space, 0-9, Enter.



SpecialTextBox overrides these 3 methods:
OnKeyDown, OnKeyUp and OnKeyPress.

Here is a piece of code to see how it works:

protected override void OnKeyUp(KeyEventArgs e)

{

if (e.KeyCode == Keys.Space ||

e.KeyCode >= Keys.D0 && e.KeyCode <= Keys.D9 ||

e.KeyCode == Keys.Enter)

{

base.OnKeyUp(e);

}

else

{

e.Handled = true;

}

}


When you want to import this control to your project with the source code, don't forget the DesignTimeAttributes.xmta, which allows the designer support for this control:

3 <Class Name="MyControls.SpecialTextBox">

4 <DesktopCompatible>trueDesktopCompatible>

5 <Class>



Sorce Code:
http://www.winmobile.euweb.cz/#Post06


How to: Reset the Device

There is a piece of code written in C# and VB .Net to restart your device:

http://msdn.microsoft.com/en-us/library/ms172519.aspx