windows-mobile

How to remove hanging start up application (windows mobile)?

Hi, I am developing a native application for Windows Mobile 6.5 (Samsung Omnia II i8000). After making some changes, my application hangs when it is run. The problem is my application is also run during Start Up (via \windows\startup shortcut) and whenever I restart the phone, it'll always run my application and hangs there. ActiveSync...

windows mobile programming using visual c++ - any good books available?

Hi, I searched over the net but couldn't find any of the books on visual c++ for windows mobile programming.. can anyone suggest one? Thanks. ...

OpenNETCF.Stopwatch -> only ticks changing, not Elapsed

I've been trying to track down a bug I thought was thread-related, but I think instead there is an issue with the way I am using OpenNETCF's Stopwatch. I am using OpenNETCF.IoC in my application, but for the sake of simplicity I moved the following code directly into a view: public partial class WorkoutView : SmartPart { ... private S...

Intercept minimize event on windows mobile (compact framework)

I want to intercept minimize/maximize events for a windows mobile 6.1 application in c#. Is there a simple way to achieve this. (A piece of code as an example would be great). I need to know when the user plays with my application or the application runs in background. ...

How to Convert WAV file int MP3 file in C# NETCF(windows mobile)

How to Convert WAV file int MP3 file in C# NETCF(windows mobile)???? Maybe somebody know how to do it? ...

ShowDialog returns immediately after a handled exception in .net compact framework

The problem I am having is that for some reason ShowDialog returns immediately after handle an exception. However, it works for MessageBox.Show() or at the second time I call ShowDialog. What is the best workaround for this problem? I was only able to find this. And I cannot believe that no one else has this issue. I am using .net comp...

How to scale a sprite image without losing color key information?

Hello everyone, I'm currently developing a simple application that displays map and draws some markers on it. I'm developing for Windows Mobile, so I decided to use DirectDraw and Imaging interfaces to make the application fast and pretty. The map moves when user moves finger on the touchscreen, so the whole map moving/scrolling animati...

sdf file (sqlce) not copying to emulator

I have problem with copying sdf file to WM emulator. My solution structure MyApp.DataLayer - there is sdf file MyApp.WMUI - this is windows mobile winform app sdf file has set build action: content copy to output directory: copy always But if I deploy app to emulator, that sdf file doesn't copy. ...

When should I terminate my application in Windows Mobile 6 Series

There is a blog post on Why Windows Mobile's X button doesn't close the application. 0) My application consumes a lot of battery power since it's using GPS 1) I want the application to be able to be minimized since user may want to multi-task 2) I do have "exit" button but when should I terminate my application when it's minimized? 3) A...

Run SQL scripts on windows mobile installer

Hi, We are working on a Windows Mobile 6.5 application in Visual Studio 2008. The application is already installed in some devices, and we need to distribute a new version with changes in the database schema (we added a few tables). Is there a way to make a "patch" windows mobile installer that will replace the application and update the...

Disabling the End Call Key for windows mobile with C#

Hi all I am developing windows mobile application using with .NET CF 2.0 I want to disabling the End Call 'Key'. when my application running, This functionality should happen by programming using C# Can any one Know please help me. Thanks in advance. vimal.. ...

How to embed mp3 into .exe file & Play it?

I am used to embed WAV into .exe and Play it using PlaySound(). However, using this method causes the .exe to become pretty big. Is it possible to do the same with MP3 files and how to do it? I have taken a look at DirectShow but it seems to be able to play from files only? I am developing for Windows Mobile 6 Series ...

how to create partition on windows CE device

Is there any tool to create a new partition on windows CE device? Device has a NAND flash memory and initially there were two partitions. Using Storage manager in Control Panel I was able to delete one partition but when I want to create it again, I get an error message: "Unable to create partition". ...

How can I install adobe flash on my Windows Mobile 6.5 phone?

I have an htc Imagio. I cannot seem to find a Flash Player for it. Does anyone know how to get Flash to install on a Windows Mobile 6.5 phone? ...

Opera Mobile, offline web app development, and memory

I'm developing a data collection app for use on a HP iPAQ 211 running Windows Mobile 6. I'm doing it as an offline web app (go with what you know) using Opera Mobile 9.7 and Google Gears. Being it is an offline app, it is very dependent on Javascript for much of its behavior. I'm using the LocalServer, Database, and Geolocation component...

Mobile web page size

Hey all! I have a developer designing a financial application to be used on a mobile phone via the phones browser. Now each page is 150kb wich to my opinion is way to large. No images are used as it is mostlyhtml buttons and css and possibly javscript. How can i minimise the page size? ...

What's a good way to copy files from a PC to a Windows Mobile device?

I have a C# application running on a server, and it needs to copy files out to multiple Windows Mobile 5.0 devices. These devices are connected to the network directly via Ethernet-enabled cradles (so they are not connected to a PC via ActiveSync). What different options do I have for doing this? I know RAPI can do this, but I'm not s...

Determine if IP Address is Cellular IP Address

In .NET Compact Framework a device can have several IP Addresses I want to find one that is NOT coming from the Cellular connection. Goal is for WiFi or Ethernet connection. Is there a way to do this? Seems like State and Notification Broker would have a way to do this but didn't see a way. ...

Prevent input during a process in Windows-Mobile

I have a Window Mobile app where the forms use keypreview and post the form when the Enter key is pressed. If the form post has a delay, the user may press enter again. The second enter is processed when the first process ends. How can I ignore the second enter press or prevent it from being queued? I tried turning off keypreview, bu...

Windows Mobile - voice control + speech synthesis (text to speech)

Hi, I've got Windows Mobile 6.5 application and I need to add simple voice control (like "yes" and "no" commands recognition). I'd also like to add possibility of reading text displayed on LCD. I'd appreciate any suggestions about possible solutions for such problem. Are there any free libraries with described functionalities? Thanks ...