windows-mobile

Connection manager in windows mobile

I try to use the cell core connection manager with c# in order to force my application to browse through the WAP gateway (using its GUID) although the default connection is internet. I see that the WAP connection opens but then all actual requests go through the internet and I end up with 2 open connections. Any hint? ...

Monitoring my Main XP PC

I want to program a small Windows Mobile Application, which Monitors my Main XP PC. IT should check if my PC is running and if the Internet connection is ok (perhaps by pinging a Sever). In case something is wrong my Mobile Application should send me a SMS through the Mobile using mobile network (not through the Internet). Is this p...

Accessing a SQL Server CE database on a Windows Mobile 6 device

I have a mobile app that writes to a SQL Server CE database on the device. I want to write a desktop application that can read this data and export it in CSV format. I have been looking at RAPI (Remote Api), but I would prefer to do this entirely with managed code. Is there an alternative to RAPI? ...

How can i fix this "Path not found" error?

How can i solve this mobile application development problem? While connecting to the DB dataSource = \\..datafile.sdf I get this error "Path not found" I am using serviceCE dll for data access. ...

How to use softkeys without softkey / menu bar on Windows Mobile 6?

Hi, does anybody know if it is possible to use the softkeys on a WM 6 device (Motorola MC 35) without actually displaying the bottom bar / menu bar? I have a full screen Compact Framework app where I want to use the soft keys but I do not want the bottom menu bar displayed (would be a waste of screen space). Unfortunately the soft keys ...

Using Aforge.Net library in .Net CF application?

Can a desktop .net library [Aforge.net] be used in a .Net CF 3.5 application? I agree that the CF is a subset and all... that certain functions etc will not work... but the error i am getting is baffling... AForge.Imaging.Filters.ResizeBilinear resizeBilinear = new ResizeBilinear(240, 320); Bitmap new1 = resizeBilinear.Apply(new System....

How to change windows mobile homescreen programmatically

Does anyone know if it is possible to change homescreen. I have a setup that installs all necessary xml files and Homescreen plugins, but I don’t know how to change Homescreen to mine during installation (and remove it during uninstallation) ...

Frameworks for location-aware mobile applications?

A mobile device like a Windows Mobile cellphone/PDA is by definition used from many kinds of locations, and should adapt accordingly. If I'm at home, I'd like it to switch to my local WLAN rather than using 3G or GPRS. If I'm in a meeting, I'd like it to be on silent buzzer rather than a loud ringtone. If I'm in a noisy environment, I'd ...

how to detect plugin usb in compact framwork

I want to attach a tracking box that has a serial port, with a serial to usb lead to a windows mobile. Is there anyway to detect usb plugin when i connect windows mobile device with tracking box through USB? ...

Recommend book on bluetooth in Windows Mobile

I will be doing some work that involves using bluetooth in Windows Mobile. As I have very little experience of Bluetooth, and no experience of Windows Mobile I was hoping that someone could recommend a good book on the subject. ...

Reverse engineering windows mobile live search CellID location awareness protocol (yikes)...

I wasn't sure of how to form the question so I apologize if the title is misleading. Additionally, you may want to get some coffee and take a seat for this one ... It's long. Basically, I'm trying to reverse engineer the protocol used by the Windows Mobile Live Search application to get location based on cellID. Before I go on, I am a...

Wireless Network API for Windows Mobile 5.0

I would like to programmatically get a list of available wireless networks (by SSID) using a Windows Mobile 5/6 device. Does anyone know how to do this or where I might find information on accessing the WIFI adapter? ...

Debugging mobile software in the VS device emulator - app switching to background

I have this issue when debugging mobile apps on the emulator. When I press F5, the build starts, then the deploy, then the app pops up in the emulator. Because this takes a minute or 2, I am checking my SO score and maybe ask a question while I wait, and the emulator is in the background. When I finally switch back to the emulator, it sh...

C# Windows Mobile datagrid data

I have a datagrid that has two columns. The DataSource for the datagrid is "myTable" which is a DataTable. All I am trying to do is add a row to the DataTable and have the new row be displayed in the datagrid. Here is the simple code I wrote to add the item to the DataTable: DataRow dRow = myTable.NewRow(); dRow.ItemArray.SetValue("t...

Implementation details of GDI clipping

Consider the following code snippet: HRGN clip = ::CreateRectRgn(50, 50, 100, 100); ::SelectClipRgn(context, clip); ::Rectangle(context, 0, 0, 50, 50); Is Microsoft's clipping implementation intelligent enough to return immediately from the call to Rectangle without attempting to draw anything? I suspect it probably is but have been u...

Resize images in Windows Mobile

Is there anyone who knows a way to resize images on the .net 2.0 Compact Framework? I want to be able to get images, taken with the camera on my phone, from the phones memory, resize them and then upload them to a webservice so I acctually don't need to store the resized images on disk. ...

Unable to get any other values other than CID and LAC using RIL WM6

Unable to get any other values other than CID and LAC using RIL WM6 using GetCellTowerInfo, any info is welcome. ...

Windows Mobile Command Line Compiler

What is the name of the Command Line Compiler for a C/C++ program that target's Windows Mobile? I have Visual Studio 2008 Professional installed and I need to be able to compile a program from the command line. I've checked the project properties in Visual Studio and it shows me all of the parameters that are being passed to the comp...

SQL CE OutOfMemoryException consuming web service

Hi Guys, We are continually receiving OutOfMemory exceptions when trying to download documents via a web service. We are storing the documents byte array data as part of a serialized mesage object and the original documents are all ~500kb in size. The only other thing in the message's object graph are two string properties for correlat...

Where is Unicode version of atof in Windows Mobile

I have a C++ application where I'm replacing a number of sscanf functions with atoi, atof, etc... for performance reasons. The code is TCHAR based so it's _stscanf getting replaced with _ttoi and _ttof. Except there isn't a _ttof on Windows Mobile 5, or even a _wtof for explicit wide character support. I've ended up using _tcstod inst...