windows-mobile

WINMOBILE uploading a file from C# to a php webservice

I need to upload a file using C# from a windows mobile app to a website. It's running PHP as the webservice on the other side, though I guess it really doesn't have to if there's another way to be able to get the file up there. There is no server-side ASP support, however. My problem really isn't the PHP, it's the mobile C# code. Also,...

CListCtrl::GetItemNext returns start item

Hi I have a CListCtrl object in my C++ MFC app for Windows Mobile 6. When I call listctrl.GetNextItem(0, LVNI_ABOVE) I should therefore get back -1 (no item above first item), but if (and only if) the list has exactly one item, the call returns 0, even though MSDN says "The specified item itself is excluded from the search". Is this a k...

Making the window [X] button close instead of minimise on Windows Moblie

The [x] button in the top bar of a window that normally closes the window in standard Windows, appears to do a minimise instead on Windows Compact. How do it make it close instead? I need to also be able to raise an event when this happens as I want to preform some logic on window close. ...

How do I solve the .NET CF exception "Can't find PInvoke DLL"?

This is to all the C# gurus. I have been banging my head on this for some time already, tried all kinds of advice on the net with no avail. The action is happening in Windows Mobile 5.0. I have a DLL named MyDll.dll. In the MyDll.h I have: extern "C" __declspec(dllexport) int MyDllFunction(int one, int two); The definition of MyDllFu...

How to disable Internet connection over ActiveSync?

I am using standard 3G connection for video streaming. "Streaming Media" application works fine. However after I connect my WinMo 6.1 device to my laptop, it uses Internet connection over ActiveSync. And my laptop is behind firewall, etc. The video streaming stops working correctly. However I need ActiveSync connection for debugging, f...

How to open a network connection from windows mobile with c#?

I am trying to convert a windows forms application to a windows mobile application (windows mobile 6 professional). It needs to get an XML document from a web server. It works fine if the device already has an open network connection, say if you open IE before running the app. But it hangs if there is not an open connection. I have f...

C# Mobile Game Development

I'm currently trying to implement a marble maze game for a WM 5.0 device and have been struggling with developing a working prototype. The prototype would need the user to control the ball using the directional keys and display realistic acceleration and friction. I was wondering if anyone has experience with this and can give me some ...

Hook to WM6 sound

How can i hook to the window mobile sound (driver?) and read the data while it is passing it to the speaker. ...

how to show/hide SIP on Pocket PC

Hi, I have the following problem: I open the dialog, open the SIP keyboard to fill the form and then minimize the SIP. Then when I close the current dialog and return to the main dialog the SIP keyboard appears again. Does anyone know how could I show/hide SIP keyboard programatically or better what could be done to solve the described...

Accessing Windows Mobile device Storage Card from Java?

Hi guys, I'd like to be able to access the contents of my Storage Card which is in my Windows Mobile device. Normally, I'd just remove the card and shove it in a card reader, but its encrypted (and thus, locked to my WM device). Is there an API or some sort of framework allowing read/write access to the Storage Card (while PDA is docked...

running cpy and .run on mc9090g in cold boot

I've followed the instructions Symbol provided to have Datawedge run on cold boot on the mc9090 windows mobile device. However, it doesn't work. Is there any documentation on the file formats for the .cpy or .run files? Is there a way to get any debugging or logging information? This is what I did, following the Windows Mobile instru...

MySaifu JVM and BlueCove API on an iPAQ

Hey everyone, Having a bit of an issue running BlueCove on my iPAQ (h5550). I installed MySaifu JVM and added the BlueCove jar library to the classpath, but whenever I try to run the tester jar or any other files that reference the BlueCove API, I get class not found exceptions. Anyone had the same issues? I know from the BlueCove docu...

Common C# source code for Windows and Windows Mobile

I have a goal to build an application with UI that would run on both Windows Mobile and "normal" desktop Windows. The priority is for it to "look good" under Windows Mobile, and for desktop Windows it is OK if it distorted. Before I invest days trying, I would like to hear if that is possible to begin with. There are several parts to thi...

Can a WM6 Emulator have a storage card?

We're doing windows mobile development using the WM6 Professional emulator through visual studio 2008 for now. My question is, can you get the emulator image to simulate having a storage card? We run our SQLCE 3.5 database off the removable storage card in our devices and it'd be slick to just have the emulator simulate this situation as...

How can I run code on Windows Mobile while being suspended?

I'd like to run some C++ code while the Windows Mobile PocketPC is (or seems) being suspended. An example what I mean is the HTC Home plugin that shows (among others) a tab where the HTC Audio Manager can be used to play back mp3 files. When I press the on/off button, the display goes black, but the audio keeps playing. The only button t...

How to Debug .NET Mobile Device Application using multiple instances of Device Emulator

I would like to Debug .NET Mobile Device Application using multiple instances of Device Emulator. If I right click the project and go to Debug -> Start new instance in Visual Studio 2008 when an instance is already running I get the error Unable to copy file "obj\Debug\MyMobileApp.exe" to "bin\Debug\MyMobileApp.exe". The proce...

Is there an event in compact framework that fires on suspend and resume?

Or do I have to pinvoke native code? I don't want the power status...well I do, but I don't want to poll it all the time and would rather have an event fire. ...

How Can I Create Rounded Rectangle Buttons in WM6?

Yes, like those pretty buttons on the iPhone. ;) I've been searching and reading for days now and everytime I find something that will get me close (like CreateRoundRectRgn), it blows up because Windows Mobile 6 GDI+ doesn't support it. I can do the whole owner draw thing and such. But how do I curve those hard corners and reshape a...

DirectShow, video zoom and image capture for Windows Mobile

Hi, I am currently developing an application for live video streaming (www.livecliq.net) and I would like to add the feature for image capture and video zoom. I've been looking around for the tutorials and resources about DirectShow but so far I have found only a book "Programming Microsoft DirectShow for Digital Video and Television" w...

Where do I specify the text of a Pocket PC app's shortcut?

I'm unfamiliar with Pocket PC development, but I have to make a few minor changes to an VS2005, Pocket PC 2003 Device application. One of the changes (which I thought would be trivial) is changing the text of app's shortcut, but I can't figure out where this text is set. The solution includes a setup project, so I'm looking for it in t...