windows-mobile

If we dock the mobile device to a PC via USB, will we be able to get a network connection directly from the USB connection?

if we dock the mobile device to a PC via USB, do we need to use ActiveSync to do the data syncing? Or will we be able to get a network connection directly from the USB connection. ...

Handle brightness key press event in a native Windows Mobile application

I need to intercept brightness key press in a device with a hardware keyboard, where that key has the double function of changing brightness and the "0" number: if I can handle it, I can avoid to the user of the application to switch to the numeric keypad in some textboxes that accept only numeric input. I tried to handle that key even ...

How to rebuild .net CF application and deploy in windows mobile emulator using command-line

Hi, Is there a ways to rebuild a c# .net CF application and deploy it in windows mobile emulator from the command-line? This is required to create a bat file for automation. I have taken a look at http://msdn.microsoft.com/en-us/library/aa188169(VS.90).aspx which mentions how to use the emulator from command line, but doesn't mention ...

Compact Framework: Unit tests won't hit breakpoints

Hi I'm using VS2008 and building a WinForms mobile application targetting the Compact Framework 3.5 and Pocket PC 5. I'm using the VS unit test functionality and the tests run OK but won't stop at breakpoints. I keep getting the dreaded "breakpoint will not currently be hit, no symbols have been loaded for this document" message. The so...

Problem setting up custom URL Protocol on Windows CE

Hi, I am trying to setup a custom URL Protocol (testProtocol) on a Windows CE device. When the user clicks a link with testProtocol it will launch an application (ParamTest.exe). I have done the following: Created a Windows Smart Device Project -> Device Application. I altered the Main() method to take in a string[] of arguments whi...

windows mobile cameraplatform documentation?

I'm trying to figure out how to turn the camera flash on my phone on without using the oem camera app. I've looked at/played with the exports from cameraplatform.dll but can't figure out what im supposed to be calling in what order. The oem camera app is flash lite and i havent been able to figure out how to disassemble it to see what i...

Finding the WiFi adapter handle for power management

I'm trying to locate the name of the 802.11 adapter to pass to SetDevicePower() and GetDevicePower(). I was going to use FindFirstDevice() with the PMCLASS_NDIS_MINIPORT guid to do this: DEVMGR_DEVICE_INFORMATION di = { 0 }; di.dwSize = sizeof( DEVMGR_DEVICE_INFORMATION ); GUID IID_NdisMiniport = { 0x98C5250D, 0xC29A, 0x4985, { 0xae, 0...

WZCQueryInterface(NULL, INTF_ALL, &intfEntry_, &dwOidFlags); returning 2

I've got some code that used to get the interface, now it fails all the time. The dwStatus value is getting set to 2. if (DeviceIoControl( ndisUio_, IOCTL_NDISUIO_QUERY_BINDING, pQueryBinding, sizeof(NDISUIO_QUERY_BINDING), Buf, dwBufLength, &dwBytesWritten, ...

How to Detect Screen Orientation Change Event in Windows Mobile 5 & 6 App, With Embedded C++?

Hello, I am in way over my head, and am hoping anyone here can help. I am working with an application that is running on Windows Mobile OS, version 5 and/or 6, which is written in Embedded C++. The problem is that controls in the app get all messed up and moved around when the user does something to switch the display orientation, such...

Can I change the order that my symbols load in Visual Studio 2008?

I have a Windows Mobile project that runs some code before displaying the first form. If I put a breakpoint on a method I know is called before the form is displayed I get the hollow breakpoint warning symbol that tells me "the breakpoint will not currently be hit. no symbols loaded for this document". When I look in Debug -> Windows -...

Emulator not connecting to Windows Mobile Devide center after Emulator soft reset

Am working on smartphone application. And Developing through Emulator (USA Windows Mobile 5.0 Pocket PC R2 Emulator). But after Cradle Windows Mobile Device Center does not connect with Emulator. But it was connecting three days ago. After that I do not know why its not connecting... Its get connected with device but not with emulato...

How do I get access to the QueryString in Windows Phone 7 from a user control

I have a simple user control in Windows Phone 7 and I want to get access to the querystring collection from the user controls Constructor. I have tried many ways and cannot seem to get acess to the containing XAML's querystring collection. Essentially I am navigating to the page and the my user control is going to access the querystring...

Programatically switch betwen WiFi networks in .NET CF?

Is it possible to switch between WiFi networks in WM 6 and .NET CF v3.5 ? I'm writing a .NET Compact Framework v3.5 app for a Windows Mobile 6 device. I'd like to be able to switch between 2 different WiFi networks via C#. The first network is an Ad-Hoc wireless network with another device close by, and the second network is any other a...

Accelerometer API for windows mobile 6

I am writing an application for WIM 6, and one of its features is to detect no movement. How can I access the phone's accelerometer? is there any managed API that wraps it so I can write it on c#? Thanks. ...

Where to find CabWiz.exe

I am resetting up my development machine and I cannot seem to remember where I got CabWiz.exe (used for creating installation cab files for windows mobile). Is that on MSDN Downloads in some package? Or somewhere else? Does anyone know? I installed the Windows Mobile 5 SDK and I thought that was all I needed, but I guess there is som...

How to get Windows Mobile Device Center To Connect to the Emulator

I have recently installed Windows 7 and I have come to a conclusion. While Active Sync was old and did not work great, it did work. I could connect to my devices and emulators after the proper rituals and incantations. The other conclusion I have come to is that Windows Mobile Device Center is worse that Active Sync was. I cannot get...

How to set Application Icon in QT on WinCE?

Hi all! Please help me with solution of how to set the app icon for exe file on windows mobile platform? It means that icon should displays in explorer, task manager and so on. Thanks in advanse! ...

How to reduce the size of Windows Mobile Date-Time Picker Control?

Hello, everyone. I ran into another problem a few days ago that I can't figure out. I am working with two mobile devices: TouchPro2, with Windows Mobile 6.1 Professional, and TouchPro2 with Windows Mobile 6.5 Professional. So, the hardware is the same, only the version of Window Mobile is different, and even then it's just a different b...

How to skip a page in back navigation in windows Phone 7

Hi, I am developing a application on windows phone 7. So my landing page is a custom Splash Screen page ( i didn't use the default way of showing a splash screen ie. having a png file, as i need to add data in the splash screen at runtime based on the user profile). So i created a splashscreen page. After a period of delay ( 5 sec), I n...

Build Boost for Windows CE 5.0

Does anyone have a set of instructions for building boost libraries for use on Windows CE? I've found some discussions on it: boost build mailing list and another one from the boost build mailing list ... but surely someone has written up something more concrete... ...