windows-mobile

What is the best method for storing viewstate in an ASP.Net mobile web application?

I'm curious what techniques you find to be the best for storage and maintaining of viewstate with respect to an ASP.Net application running within a mobile web browser (i.e. Treo with Windows Mobile, or Blackberry Curve web browser). ...

Are there any control libraries for Windows Mobile that enable iPhone-style touchscreen behavior?

The way the iPhone uses the touchscreen to enable zooming in and out and scrolling and so forth is very cool, and I was wondering if there is anything available for Windows Mobile that provides a similar user experience. ...

How do I force a serial port write method to wait for the line to clear before sending its data?

Here's some background on what I'm trying to do: Open a serial port from a mobile device to a Bluetooth printer. Send an EPL/2 form to the Bluetooth printer, so that it understands how to treat the data it is about to receive. Once the form has been received, send some data to the printer which will be printed on label stock. Repeat st...

What is the best way to call a Web Service from Windows Mobile (.NET 3.5)

What is the preferred way using the CF 3.5 to get get data from a web service? I am getting back a series of tables from the web service. ...

.NET CF mobile device application - best methodology to handle potential offline-ness?

I'm building a mobile application in VB.NET (compact framework), and I'm wondering what the best way to approach the potential offline interactions on the device. Basically, the devices have cellular and 802.11, but may still be offline (where there's poor reception, etc). A driver will scan boxes as they leave his truck, and I want to u...

.NET compact framework and ActiveSync

Is there a way that my .NET CF app running on a Windows CE device can know when the device is docked/synced with the PC? ...

.NET library for working with mobile devices eg PDA

Does anyone know any good .net libraries for working with PDAs and such? I mainly looking for something that will allow me to copy files to/from devices and do some registry work on the device. The PDAs are running windows mobile 5 & 6 I have been using the OpenNETCF.Desktop.Communication.RAPI library in a couple of my apps but I wa...

Creating a two way link between a mobile device and a server

Hey! I would like to create a link between a winMo device and a server, so that they can pass information back and forth to each other. I actually don't really know where to start, I've had SOAP, RPC and creating a TCP link suggested to me. If someone could provide a link to an example that would be great. Thanks! Thanks for the respo...

Windows Mobile WinInet library working with http compresion

On Windows Mobile metod InternetSetOption http://msdn.microsoft.com/en-us/library/ms918381.aspx does not support option INTERNET_OPTION_HTTP_DECODING is there some simple method to turn on compresion under WM 6.0 or any external library that will decompress content received by WinInet ...

Windows Mobile - Compact Framework program as a service ?

What is the best way to have my C# Compact Framework program running in the background on a Windows Mobile device ? I need to respond to different events, such as a text message arriving with a specific content. I would like not to start up any UI when the process is started, but just run in the background until UI is needed. How can th...

How do I get a "busy wheel" on Windows Mobile 6?

Windows Mobile pops up a "busy wheel" - a rotating colour disk - when things are happening . I can't find in the documentation how this is done - can someone point me in the right direction? We have a situation where we need to prompt the user to say we're doing stuff for a while, but we don't know how long it will take. So we can't do...

Display Form non-maximized with borders on Windows Mobile

I need to create a status dialog for a Windows Mobile application (C# 2.0) that needs to be updated, so MessageBox is out. I tried to just create a new Form class, change the size and call ShowDialog, but it always comes up full screen (minus the title bar of course). The only way I could figure out how to display it small is to set Fo...

Disable sleep mode in Windows Mobile 6

Hi, Does anyone know how could I programatically disable/enable sleep mode on Windows Mobile? Thanks! ...

Edit Registry Values

Hi, I want to change the registry values on the pocketPC. I ran the following code: if(enabled) { dwData = 120; } if(RegSetValueEx(HKEY_LOCAL_MACHINE, _T("System\\CurrentControlSet\\Control\\Power\\Timeouts\\BattSuspendTimeout"), 0, REG_DWORD, (LPBYTE)&dwData, sizeof(DWORD))) { return FALSE; } but it doesn't shange the regist...

Prevent long word to add horizontal scroll to html view

On Windows Mobile, I am displaying my output in HTML. This includes lots of user-generated strings. Occasionally there are situations where a really large string is part of the output that has no whitespaces or punctuation. Unfortunately the Windows Mobile's HTML view (htmlview.dll, based on Pocket Internet Explorer) does not break the...

Get contact information on smartphones/ppc with windows mobile 6.0?

Hello, In a C# application, I want to get a list of the all the contacts of the mobile phone. I have no idea if there is a class that exists already to do it out-of-the-box. If not, I would like how to access those information. ...

script languages on windows mobile - something similar to python @ nokia s60

I try to find something similar to nokia's python for windows mobile based devices - a script interpreter [in this case also able to create standalone apps] with easy access to all phone interfaces - ability to make a phone call, send SMS, make a photo, send a file over GPRS, etc... While there is 2.5 pythonce available for windows mobi...

extending pythonce to access gsm/camera/gps easily from pythonce

Hi, as it seems there is no scripting language for windows mobile devices that gives access to phone (sms, mms, make a call, take photo) I wonder how complex would it be to make a python library that would enable that (write something in C, compile, and import in pythonce). Question: where shall start to understand how to compile a pyth...

Motion sensor programming for Windows Mobile

I just got hold of a PDA (Samsung Omnia i900) with an embedded motion sensor (accelerometer) and would like to code something that would exploit this feature. Any pointers? ...

Subsonic\ORM on Windows CE\Mobile

Has anyone managed to get subsonic or a variant working on Windows Mobile? We cant get it to work as it has a dependency on System.Configuration. Any suggestions on an alternate ORMs that would work on a windows mobile device? ...