windows-mobile

Developing for a Windows Mobile Phone, without a contract

Greetings! Anyway, My question, If you want to experiment developing for a Windows Mobile device, how would you go about testing your applications? I know there is a emulator but is not really ideal. Is there anyway, without paying a stupid astronomical cost, to get a development phone? Akin to what Google did with the android and I ...

Configure Wifi Settings using C#

Hi, I need to configure Wifi Settings for a Win Mobile application using C# (compact framework). So the deal is: - Configure the network (SSID for an hiden AP) - WPA authentication with TKIP - Force user and password (the end-user won't be prompted for authentication) Any suggestions, code sample, third party application proposition, ...

What version of CE is Window Mobile 6.5 built on?

Windows Mobile 5 was based on CE 5.0. Windows Mobile 6 was based on CE 5.2. Does anyone know what version of CE is used by Windows Mobile 6.5? ...

Problem applying texture to square in OpenGL

I'm stuck at not being able to map texture to a square in openGLES. I'm trying to display a jpg image on the screen, and in order for me to do that, I draw a square that I want to then map image onto. However all I get as an output is a white square. I don't know what am I doing wrong. And this problem is preventing me from moving forwar...

Targeting ARM architecture with .NET compiler

When you compile windows application in .NET you can set "Platform Target" to be x86 or x64. This would optimize your code to a specific architecture of the processor and allow to escape IL. Does anyone know if there's something that would allow to achieve the same result for Windows Mobile application? I'm only interested in running my ...

Windows Mobile dll for a standard .NET projects

Hi Guys, Quick question (I hope), how do I include a window 6 class library dll in a standard net project? I seem to be able to just add a reference via VS in earlier editions of windows mobile projects, but not with version 6. From what I read it should be possible as long as not CE specific libraries have been used. Any help appreci...

Creating .inf file from command line (using msbuild)

Hi, I would like to create .inf file (for creating .cab file) using msbuild command line. First I tried to rebuild the solution using VS IDE and it created .inf file which could be used to create .cab file (package for mobile device). Then I tried to create .inf file with msbuild with the following command: msbuild solutionName.sln /p...

Compact Framework - Disable Mouse Events during loads

Morning all, I design a number of compact framework applications, and something that always eludes me is a way of preventing what we call yorkshire bank syndrome (ybs). YBS is named lovingly after the cash points at Yorkshire Bank due to the fact that their screen refresh is so slow, and one of my colleagues pressed the button twice thi...

Wireless synchronisation program

hi I have been looking for help with not much luck till i arrived here. I want to develop an SQL server database and an application which will act as a server to allow a pda to send data to and wirelessly synchronise and information to sendAs it uses mobile application I would like to utilise it over a WIFI network.Any information woul...

What are the best practices for building multi-lingual applications on win32?

I have to build a GUI application on Windows Mobile, and would like it to be able user to choose the language she wants, or application to choose the language automatically. I consider using multiple dlls containing just required resources. 1) What is the preferred (default?) way to get the application choose the proper resource languag...

How can I know which feature is clicked in a Windows Mobile application?

How can I know which feature (menu items, buttons, etc.) is clicked in a Windows Mobile application? I need to create an app which listens to user clicks globally, much like what windows global hooks does and I need to know which part/control of every application the user clicked on. TIA! ...

Auto-size controls in .NET CF to avoid horizontal scrolling?

I am developing a form in .NET Compact Framework, which hosts a variable number of controls. Every control should have the same width as the form. When there are only a few controls, no vertical scrollbar appears. When there are more controls than they can fit in one form, a vertical scrollbar appears. The width of the controls should t...

Compact Framework - WebRequest sometimes fails for no reason?

Hi all, I've got a web service that I talk to from a PDA. In the same directory as the webservice asmx file, I have an html file that I pull a web request from in order to see if the directory is available. I use the following code: /// <summary> /// Holds the web request for checking the connectivity. /// </summary> pr...

setsockopt TCP_NODELAY question on Windows Mobile

Hi all, I have a problem on Windows Mobile 6.0. I would like to create a TCP connection which does not use the Nagle algorithm, so it sends my data when I call "send" function, and does not buffer calls, having too small amount of data. I tried the following: BOOL b = TRUE; setsockopt(socketfd, IPPROTO_TCP, TCP_NODELAY, (char*)(&b)...

C# Windows; How do I programmatically invoke an event?

I am new to C# and am creating a C# Windows Mobile application that I need to programmatically invoke the click event on a Button. I have looked at the Button class and do not see a way to do this. Any ideas? Zzub ...

How do I write a value to the registry on a Windows Mobile 5 device?

I have a string value that I want to write to the registry as a Dword to read via another program. How can i create a new key/string using c# .net? ...

OnClosing event is not being called when Close, X, button is pressed. Windows Mobile.

I am new to Windows Mobile and created an app that needs to do some clean up when a Form is closed. When I click on the Close in the ControlBox it does not call the OnClosing event. This works fine in regular windows but is not working with my Windows Mobile device. Here is my code: protected override void OnClosing(System.ComponentMod...

Deploy .NET CF CAB from mobile IE and supress reboot message

Hi All, Using a setup exe I created, I detect whether .NET CF 2.0 is installed. If not, using CreateProcess() I launch mobile IE and provide the URL to download the .NET CF 2.0 CAB as a commandline argument. As a result, the .NAT CAB is downloaded and automatically starts with the .NET CF install. At the end, the install prompts me to r...

How can you detect when the user clicks on the notification icon in Windows Mobile (.NET CF 3.5)

Surfing the net, I came across this: this code that shows how to display a notification at the bottom of the screen on a Windows Mobile device. My question is, is there a way to either specify which options are displayed beneath the notification (on the taskbar) or is there a way to detect when the user clicks on the notification itself...

Altering the uesr-agent string with the HTMLControl

I'm writing an app (VS2005, C++, targeting WM5) which is hosting the HTML Control. Can I modify the user-agent this control uses when making a request to a server? ...