windows-mobile

.net Out of Memory exceptions in Windows Mobile - how to overcome this problem?

I am currently writing a small application in Windows Mobile using CF.NET. The application is very similar in its behaviour to an e-mail application i.e. I am using POP3 to download messages and attachments from my mail-server account to store on the storage-card for further processing with a MIME-tool. My problem is downloading large ...

Sort a DataGrid by clicking on column headers in the Compact Framework?

Just as the title says, is this even possible in the .Net Compact Framework? There's all sorts of stuff it leaves out when comparing with the Desktop Framework. I'm wondering if the Compact Framework's got the upper hand on me with this feature request in our mobile app. ...

How do you get the current battery level in .NET CF 3.5?

How - or what's the best way - to retrieve the device's current battery level in .NET CF 3.5 on Windows Mobile 5 and 6? ...

Is there a way to detect type of keyboard on Window Mobile?

I would like to be able to detect which type of keyboard a WM phone has, either 12-key or QWERTY to dynamically change the UI of my application. Is there a way to detect this reliably? Managed code solutions preferred. ...

Detecting if the Compact Framewok is installed on mobile device

Hi There, Ive written an application using the .net compact framework. One of the requirements is that a check is run before app runs to see if the compact framework is installed. If not I should prompt this to them and redirect them to cf download location. What would be the best most common approach to doing this. Obviously my .net w...

Is it possible to connect to a server DB from Windows Mobile App

Is there any way that I can connect to a server DB (Oracle, MS SQL, Sybase, ...) from a Windows Mobile application (written in C# using VS 2008). Is there support for say ODBC or another technologie? I'm connecting to a LAN via WLAN or via UMTS. There is no possibility for me to install an additional server component. ...

registering driectshow filter on windows mobile 6

I'm trying to register my DirectShow filter on Windows Mobile. My project has Linker/General/Register Output set to Yes. However, nothing is getting registered and I'm getting the following error: Project : error PRJ0050: Failed to register output. Please try to register the component from a command prompt with elevated permissions. I'm...

Windows Mobile datagrid

I am developing a Windows mobile application. How can I show only two columns of the twelve in my datatable in the grid?. Also, is it possible to delete rows in the Windows Mobile datagrid? Please provide sample code. Hi StartClass0830, Thanks for your reply, i don't want remove the columns in my grid, Let's say In ...

How can I calculate a grand total in a Windows Mobile datagrid?

How can I calculate a grand total in a Windows Mobile datagrid? For example: ItemID Price qty total 1 5 2 10 2 3 3 9 -------- 19 ------- ...

Launching cab file from Visual C++ dll

Hi There, Does anybody know how to launch a cab file from a Visual C++ dll thats being used as a setup dll when installing an application on windows mobile. Basically, I need the dll to detect if compact framework is not installed and run required cab file if needed. I've beeg googling for something similar for ages with no luck. Surely...

Starting .exe from Visual C++ 2005 dll

Hi There, Does anyone know the code or have ideas on how to kick off an exe using visual c++ 2005. The environment the dll is on if Windows Mobile. The c# to do this using P/Invoke is [DllImport("coredll.Dll")] private static extern int CreateProcess(string strImageName, string strCmdLine, IntPtr pProcessAttributes, IntPtr pThreadAttr...

Why the lack of innovation and Silverlight on Windows CE?

A manager asked me to do some quick research on the possibility of doing Silverlight development on Windows CE devices. After 15 minutes I was surprised that: Silverlight for Windows CE seems to be nowhere in sight, with some sites wanting to report it so bad they they are quoting twitter tweets as their source of news, the word "mobi...

How do I pop up the keyboard in Windows Mobile?

I'm trying to duplicate the following behavior (WM6). Go to Settings -> About -> Device ID. The Device Name textbox gets the focus, causing the onscreen keyboard to pop up. I'd like to be able to do the same in my application, preferably in managed code. ...

Closing GPRS Connections On Windows Mobile

Hi There, Is it possible to get all open or cached gprs connections on windows mobile and programmatic force them to close? Ive been looking at connection manager api but cant seem to find methods I to do this. Regards Tony ...

Show dialog on outbound calls

I want to be able to show a dialog on outbound calls. The dialog is used to ask the user if he wants 1. dial the phone number directly 2. Dial through the PBX. If option two is chosen, i want to dial a specific number and send the dialed number as DTMF. How do I catch and stop outgoing calls? How do I get the dialed number? ...

C++ or C# to program mobile barcode device?

I will be developing some applications using mobile barcode scanners and need to choose between C++ and C# for coding on the scanners. I am considering Intermec's CK31 or similar for the combination of wifi, scanning choices, programmability and user interface options. It runs Windows CE .NET 4.2 according to their spec sheet. Intermec...

Keeping Mobile Data Synchronized

I'd like a simple method to keep a SQL CE database (on Windows Mobile or CE) synchronized to SQL Server Express. My understanding is that SQL Express does not have replication which is what would normally be used. Are there any other ways to accomplish this? I'm working in C# with .Net 2.0. Thanks! ...

GPS library for .NET compact framework

I'm thinking of writing simple application for Windows Mobile devices, where user could simply enter destination coordinates, and the app would calculate distance and show direction to the destination. But I haven't found any Free, preferably Open Source library with simple API to work with GPS. ...

Best way to manage network state in Windows Mobile

I have a .NET Compact Framework 3.5 program that is used as a 'Occasionally Connected' line of business (LOB) application. If it can see an online webservice, it will use that for data access, but if network connection is lost it will use a local cache. What is the best way to handle all of the connection options and state changes? ...

Development requirements for Windows Mobile

What SDKs and other tools do I need in order to write programs that will run on a Motorola Q9M, running Windows Mobile 6 Standard? Where can I find a complete tutorial to write "hello world" for this phone? ...