In Windows CE it is a trivial thing to conditionally compile something if KITL is enabled:
#if IMGNOKITL == 1
DoSomething();
#else
DoSomethingElse();
#endif
But I need to produce a user mode application that detects at runtime if KITL is enabled or not. It is possible?
...
I am using a custom panel as a ItemsPanel for a ItemsControl in a with a custom template that provides for a scroll viewer. (See Xaml below.) So long as my panel does not implement IScrollInfo, scrolling works in this scenerio.
I implement IScrollInfo and update my viewport and extent sizes in measure override. The scroll bar shows t...
I've got an windows mobile 6.5 application I'm developing and am having trouble with one icon. At the top right hand of the screen there is an icon that, when clicked, will display a list of programs running the background with the option to close them.
When my program is in this list, it's icon does not show up as the others do.
I'm ...
I am loading the text in my app from a resource file. What is the process for adding a new resource that contains the second language. Any one have an example?
...
I have a Visual Studio 2008 Windows Mobile 6 C++ application that is using an API that requires the use of LocalAlloc(). To make my life easier, I created an implementation of a standard allocator that uses LocalAlloc() internally:
/// Standard library allocator implementation using LocalAlloc and LocalReAlloc
/// to create a dynamical...
Hi folks,
I'm working on an application using embedded visual c++ 4.0 and MFC (yes, it's a legacy system) which runs on windows mobile 6.1 and needs to pair with an external 56k modem via bluetooth.
The app uses BthPairRequest (http://msdn.microsoft.com/en-us/library/ms887871.aspx) to do the pairing and WSASetService(http://msdn.microso...
I have a service application, a simple dll running under services.exe. I can attach the VS debugger to services.exe, activate the service application dll and then single step it in the debugger without any problem.
Now, I try to use CeSetUserNotificationEx to be notified at a certain time in the future. I use the CNT_TIME trigger type w...
I'm just getting started with Mobile Phone development and want to know how do I get an image (of a rock) to follow my fingers as I move it around the screen.
Also, how can I 'push' the rock and let it roll a few pixels?
...
Is there any way to find out what is the default video extension for camera application?
I am using CameraCaptureDialog to make the user use the camera and save the image to a specific file which then I consume in the application. However, there is a problem with the videos. Emulator gives .wmv video file while some devices I've been te...
I'm using an HTC Snap running WinMo 6.5 Standard and I have a seemingly simple requirement - when the device goes into "BacklightOff" power mode the application needs to continue to collect GPS location data. By default the device shuts down the GPS receiver.
I've tried a boatlod of things to achieve this over the last 2 days. I've re...
I have a PictureBox (WinMobile 6 WinForm) on which I draw some images. There is a background image that goes in the background and it does not change. However objects that are drawn on the picturebox are moving during the application so I need to refresh the background.
Since items that are redrawn fill from 50% to 80% of the surface, t...
We have developed a application for HTC HD2 mobile, which has windows 7 CE.
I have designed application to work for both the orientation (portrait, landscape)
Now I wanted to achieve auto screen rotation (portrait to landscape and landscape to portrait) according to the device movement (some thing like iPhone).
Can i ...
Hi
I need some help developing my mobile app. I have to store user data permant (name, password), so what is the best way to do that? I dont know a special API for it, so where to store persistent data's on a windows phone?
Maybe in the win mobile registry or inside a file? Or should I use a light database? Someone has experience with...
I'm a C# developer taking my first steps in Windows Mobile development. I've installed Visual Studio 2008 SP1 and the Windows mobile 6 Pro and Standard SDK's. Now I am trying to create a simple winforms application.
The problem is that when I set the Target Platform to Windows Mobile Standard, I seem to be missing a lot of controls. For...
We're building a Win Mobile 6 warehouse app which needs to update our server based corporate DB.
We've got a C# business layer that sits on our app server and we'd really like our warehouse app to go through this.
We also like MS Synch Services.
Is there a way to combine the two ie can we use sync services but get them to go through o...
I have a SQL Server CE Database file that gets re-deployed every time I run. This makes testing difficult.
The only way I have found that allows me to get around it is to open the database file on the device using Query Analyzer. My best guess is that this locks the file.
Opening the db (and putting in the password) takes some ti...
What is a good approach to write a windows mobile app that can run on different device, screen resolution, screen size?
In my mind, I'd like to write the form once and be adaptive.
But I'm hearing sometimes that you write the form for different form factors, different screen size, different orientation (portrait/landscape) .... I just...
I noticed that there are at least two kinds of crashes in Windows Mobile
Silent Crash
The application crash but there is no "send report" dialog prompted by the OS
Crash with "send report"
The application crash and there is a "send report" dialog prompted by the OS
As an addition, each of the crashes above sometimes cause the applica...
I am trying to deploy a windows mobile application built with c# .net which uses a native dll, and i get the following error:
Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\MyNativeCode.dll'. Error 0x80070070: There is not enough space on the disk.
Please suggest any solutions.
...