windows-mobile

ActiveSync support across Windows CE/Mobile machines

Is ActiveSync supported on all Windows CE x86 machines or are there any exceptions? ...

Code signing Windows Mobile applications - Recommendations?

I'm tasked with obtaining a code signing certificate. Our application actually consists of 2 complementary components: a desktop application and a Windows Mobile application designed to run on PDAs. Currently our mobile install (via CAB file) triggers the security prompts in Windows Mobile 6 and it is confusing to our users. We want to e...

How can I measure the energy consumption of my application on Windows Mobile and Windows CE?

I want to measure the energy consumption of my own application (which I can modify) 3rd party applications (which I can't modify) on Windows CE 5.0 Windows Mobile 5/6 Is there some kind of API for this? If not, can I measure other values which I can use to estimate the energy consumption? I don't need an exact value like 20 m...

WindowsMobile: Application Exits after handling Exception from DialogForm

I have the following simple scenario: A DialogForm with a Button, the Button_click throws an exception. A MainForm with a button and a Label, in the click I show a new instance of the DialogForm inside a Catch block. If I run this setup in regular WinForms, I can catch the Exception as expected. If I run this in WinMobile (I've test...

CeRapiInit or CeRapiInitEx?

CeRapiInit() does not return until a device is connected and initialization is complete (synchronous). CeRapiInitEx() does, but requires a callback event handler (asynchronous). All I want is a "connecting to device" dialog with a cancel button. Which is the better approach? Any code sample out there? ...

Wrapping the HTML Control on Windows Mobile.

I'm writing an app (C++ with VS20050 for Windows Mobile, which wraps the HTML Control (that is, I'm creating a DISPLAYCLASS window). I want to be able to create a HTML page, and by using JavaScript on the page, cause a function in my app to be executed. Almost like JNI in Java. What I have been doing is, on the page, executing the lin...

VS2008 - No Usable Controls in anything other than PocketPC 2003 Platform

I am trying to create my first Windows Mobile application. I am using Visual Studio 2008. If I select the platform 'Pocket PC 2003' and go to form view, I get a long list of device controls (e.g. button, CheckBox, ComboBox, etc.). But if I change the target platform (Project | Change Target Platform) to the 'Windows Mobile 6 Profession...

Is there a way to have Visual Studio debug wakeup events on a mobile?

We are trying to develop an app for Windows Mobile and are running into issues with debugging what happens after the device wakes up from sleep. When the device sleeps the debugger disconnects, so we can't debug the wake up event. Is there a way to make VS not disconnect? Or a way to reestablish a connection when the device is woken? ...

WCF on PocketPC, not connecting to host machine

I'm working with a PocketPC vm for development over here. I can get the virtual device to connect to the internet, but I can't get it to connect to a web service on my local (host) machine. I've tried the machine name and my IP address, different ports, but no luck. Anyone else have this issue? EDIT: I have an actual device at my ma...

NETCFv35.Messages.EN.wm.cab?

In the .NET Compact Framework 3.5 exceptions by default don't have their actual error message string installed. Great for cramming the compact framework into windows mobile devices with less memory, but not so great when you're a developer and something goes wrong on the device. From the default placeholder message I know there is a CAB...

Set Device Time on .NET CF

Looking for a code sample that takes a .NET CF DateTime object, and sets the device's date and time to that date (and/or time zone). The purpose of this is to get the current "real" time off of a server via web service and set the device's time correctly. Anyone done this before? ...

Suppressing OS Messages in Windows Mobile 6

I'm currently working on a C# app targeted for Windows Mobile 6 devices that will run in kiosk (being well aware that WinMob 6 isn't the greatest platform for kiosk apps). I can move the taskbar off of the screen, but in certain conditions, the operating system will show a message/status box (for example, when ActiveSync starts up, it s...

Detect Finger Swipe in .Net Compact Framework

Looking for a way to detect finger gestures in my Windows Mobile applications. Main goal: detect when user gestures a left or right swipe across the screen. Similar to the swipe motion used to unlock an iPhone. ...

how to make a mobile application stay on top ?

I am developing a mobile application for Windows Mobile. I would like that the application is lauched by default by the system at startup and that users cannot minimize it. So only this application is available, all other features are disabled. I m sure that I could define a launcher, which is executed at startup. But some problems c...

Programming ActiveSync on Windows Mobile

I am developing a desktop app which manages contact information and I want to be able to have it sync with the contacts list on Windows Mobile devices. Which namespaces/APIs do I need to understand to do this? I would prefer something in .NET compact framework, but I can do Win32 as well. I am looking for an approach that is completel...

IE Mobile: Can't connect due to error 0x80072f7c

We launched a website for mobile browsers, m.cozi.com, at the end of last year. We chose to provide a lowest-common denominator experience with static HTML and CSS, no JavaScript. It works well for most people, but some of our customers report connectivity problems. I really have no idea how to get any traction on them. Those who have p...

Need to implement "expiration date" for beta software C#

I am developing software in C# for a Windows CE device and I have beta software soon to be released and I want it to die after a certain date so the final release will need to be downloaded. The user does not have internet access. I was thinking of using the system date but it can be changed by the user. I can start a timer or a count...

Anything like DPAPI available for .NET Compact Framework or Windows Mobile?

I need a way to protect a private key on a mobile device. I know in "Writing Secure Code" chapter "Protecting Secret Data" says "Windows CE" cannot be used in secure environments. But the book is many years old now, 2003. Is this still the case? Tell me it ain't so. There has to be a way to secure a private key today. ...

How to Auto-Update Windows Mobile application

I have a .net cf 3.5 Windows Mobile application that my client wants to have autoupdate features. Here is what I have so far: create a CAB using the Smart Device CAB Project (is this good enough, or should I be doing something else here) 2.Get the application version number Assembly.GetExecutingAssembly().GetName().Version.ToString...

Good book for Windows Mobile Development?

Can you recommend a good book for Windows Mobile development? I am using: Compact Framework 3.5 Windows Mobile 6 Professional SDK Windows Forms (WinForms) Thanks. ...