windows-mobile

how to show the device keyboard using C++ MFC for Windows CE device?

Hi, How to show the device keyboard using C++ MFC for Windows CE/Windows Mobile device to type in? thanks ...

Getting Started with Windows Phone 7

This is a community wiki list of Windows Phone 7 resources. Feel free to edit/add/etc. General Information App hub - central place for windows phone/xbox development tools/tutorials/info http://www.microsoft.com/windowsmobile/en-us/default.mspx http://developer.windowsphone.com/ http://windowsteamblog.com/Windows_Phone/ Programming Gui...

How do i Export a DataTable to an *.xls file (excel) in C# Compact framework 3.5?

i have a table in a C# compact framework 3.5 application that i need to export to an excel that will be used on a regular desktop pc. i already wrote it to an XML successfully if that helps... but i need a .xls file please help... ...

Consuming WCF REST Services using POST method in Windows Mobile 7

Hi guys, I have problem when I'm trying to consume REST services using POST method for Windows Mobile 7. Have anyone has ever done this, please give me some advises. Thanks ...

How to develop web mobile application by using ajax controls ?

I am developing asp.net (3.5) web application for mobile. I am able to find the regularly used asp.net controls for mobile on internet. I also got the link for the basic ajax controls for the mobile (such as required field validator, regular expression validator, validation summary etc) but I am not able to find the any link for the aja...

Windows mobile message box this.close() ?

On Windows mobile 6.1 prof. I have a messagebox with a yes/no button on it. When I click 'No' option in the messagebox, my whole application shutsdown, how can I simply close the messagebox? string message = "Application will perform a data download agree?"; string caption = ""; MessageBo...

Windows Mobile Hopper Test Tool, FocusApp

Hi recently I finished my WM6 Pro.6.1 application and happily learned that to put it into marketplace, it has to pass some tests. -Application Verifier -Microsoft Hopper Test Tool for Windows Mobile 6.0, 6.1, and 6.5 I use VS 2008 and windows mobile 6.1 and I couldnt run none of these tests, Hopeer tool has a FocusApp c++ application w...

Hints to speed up mobile debugging with Visual Studio 2008 C++

I'm debugging a C++ MFC Windows mobile 6 application using Visual Studio 2008 across a USB ActiveSync link. It works ok, but it is very slow. e.g. Adding a new watch for an integer vairable takes ~20 secs. Task manager shows devenv.exe as using 50% CPU at this time, e.g. all cycles on one core, so the problem appears to be CPU bound r...

How to add attributes to xml using XmlDocument in c# .net CF 3.5

Hi, I need to create an attribute "abc" with the prefix "xx" for an element "aaa". The following code adds the prefix but it also adds the namespaceUri to the element. Required Output: <mybody> <aaa xx:abc="ddd"/> <mybody/> My Code: XmlNode node = doc.SelectSingleNode("//mybody"); XmlElement ele = doc.CreateElement("aaa"); X...

Windows Mobile 6.5.3 preprocessor

Is there a preprocessor value I can use to detect when the program is being compiled for Windows Mobile 6.5.3? For example, I can use #if (_WIN32_WCE >= 0x501) to compile the code for Windows Mobile 5 and later, or #if _WIN32_WCE >= 0x502 to compile the code for Windows Mobile 6. There are some new API that exist in Windows Mobile 6.5....

Windows mobile msi installation file fails

I have a Windows Mobile Professional 6.1 CF 2.0 application, I created a windows installation package with this link below: http://msdn.microsoft.com/en-us/library/bb158529.aspx My .ini file is: [CEAppManager] Version = 1.0 Component = netcf.core.ppc3.armv4.cab [netcf.core.ppc3.armv4.cab] Description = installation module CabFiles = ...

Testing Socket Programming in C# on Windows Mobile 6 Emulator

Hi, I need to develop and test an application in Windows Mobile 6 for socket Programming in c#. I have done it in Windows Desktop application (i.e Creating a Windows Console Application that acts as a Server and listens. Then a Windows Form Application that is the client. Has a button and textbox. When i press the button the client gets...

Compact Framework call Input Method Options with p/invoke

Hi, I have implemented a p/invoke command in my compact framework based application which invokes the windows calibrate screen. [DllImport("coredll.dll")] private extern static bool TouchCalibrate(); btnAlignScreen.Click += delegate { TouchCalibrate(); }; Does anyone know the p/invoke command to invok...

XNA 4.0 for xbox question (confused)

At the moment I have visual studio 2010 open, I see XNA Game Studio 4.0 and then I see Xbox 360 Game 4.0 as well as window game (4.0) I was under the assumption that these were not released yet, or not ready. What happens when I actually use them? am I using XNA 4.0? can I publish to Indie games for xbox(pretty sure I cannot) usin...

API for Windows Mobile synchronization

Hello, I"m wondering how it would be possible to synchronize desktop and mobile application. For example a note taking application in desktop and mobile version on both of them command Sync - how this could be implemented any API reference or tutorial? ...

Limiting records syncronised to mobile device

Hi Similar questions have been asked before but after a day of going through the answers I'm still very confused. I'm using Microsoft's Sync Framework with SQL2008 on the server and SQL CE on Windows Mobile devices. I would have thought this was a VERY common requirement. I don't want to replicate large tables onto the mobile device....

Reboot Windows Mobile 6.x device programmatically using C#

My HTC HD2 can't be rebooted from OS, just shut down. So I want to write a small program to do that. Is it possible to programmatically reboot Windows Mobile 6.x device using C# (CF version makes no sense). ...

On a Windows Mobile device, does it make sense to cache data "in memory"?

I'm writing a Windows CE application, and I want to play a sound (a short wav file) when something happens. Since this sound will be played often, my first instinct was to load the wav file into a memory stream and reuse that stream instead of reading the file every time. But then it occured to me that these Windows Mobile devices only ...

Simulating a touch screen on mobile device

Hi, Does anyone know if C++ or C# has a method to simulate a touch screen? For example I have device that has an interface with six buttons. Each button represents a program so when a button is touched, it will open a program that's related to that button. So I want simulate a touch screen to touch each button. Can it be done? than...

GPS signal strength calculation in windows mobile

Hi, I need to show a bar in the UI indicating the GPS signal strength. How can this be done in windows mobile? Do i have to calculate average of the signal strength of all satellites in view? Apart from this do i have to consider the PDOP value? Wont PDOP value alone suffice to show the bar in UI? Is this data need to be combined wit...