windows-mobile

JPEG loading on Windows Mobile

I'm looking for a faster way to load JPEG (or PNG?) into a .NET Bitmap on Windows Mobile... I've just had a go at loading JPEG, PNG and GIF: for (int i = 0; i < files.Length; i++) { int tries = 10; while (--tries > 0) { int size = (int)new FileInfo(files[i]).Length; FileStream fs = new FileStream(files[i], F...

alternate input in mobile compact framework - buttons and device keyboard

Ok, I have code that is working (posted after this) but before I expand it I wanted to throw it out here and see maybe better ways of doing what I am doing. the problem: the SIP panel sucks - sometimes all I need is numbers or letters entered into a mobile application - most of my users wind up not using the stylus but fingers so I need...

Reading SMS messages off Windows Mobile phone connected via ActiveSync?

I have a project I'm working on that requires our WPF application read SMS messages off of a user's connected Windows Mobile phone so we can display recent ones, etc. I've had little luck with any of the libraries I've found. Most promising seemed to be OpenNETCF.Desktop.Communications but ultimately it seems like I won't be able to do ...

Windows CE Registry Setting - Never Power Off

I have a unique industrial application where I do not want the Windows CE device to ever power off (powering off cuts the wireless connection, resulting in a looooong delay re-establishing a link to the server). The issue: a hard reset removes the "never turn off" setting of the device, allowing it to sleep. Avoiding a hard reset is no...

What cell phone has the widest potential market for software?

I developed a flashcard program a while back for learning Japanese. I've been considering porting it to a cell-phone. What is a good target platfrom? I'm thinking about iPhone, HTC Touch HD (system software: Windows Mobile) or a Nokia (system software: Symbian). Since I know a bit of JavaME, something that runs that would also be cool. ...

handling persistent storage and cold boots with ce 4.2

Hello, I have spent all Friday and Saturday on this and I am running out of ideas; I have a project where I need to run sql ce and .net2.0 on a symbol 8146 device running windows ce4.2 (windows mobile 2003) along with the symbol libraries that are needed for my application. When the device is cold-booted everything in the user partiti...

Device emulator and FTP, inside a c# mobile application project

Hi guys, For my c# mobile application developed with visual studio 2008, i am trying to use the FTP. FTP works fine from the real device, but it does not work when i use the device emulator: the connection is successful, but it failed when attenpting to retrieve data. Both use windows mobile 5. Did some of you already had this problem ...

Datagrid scrolling in Windows s Mobile way to get rid of scroll bar?

I have a very simple form using the compact framework. I have two search fields a search button and a datagrid. The button sets the DataSource for a DataGrid on the form. I know that I can set the height and width on the DataGrid but I don't want the user to have to use the scroll bars on the DataGrid as it has a few hundred records. ...

Flickering Task Bar on Full Screen Windows Mobile 6 Apps

Just finishing off an update to an application written in VB.NET that used to run fine under CE.NET 4.2. Deployment platform is now Windows Mobile 6.1. The application runs in full screen, however whenever a new form is opened, the task bar, i.e. the bar with the start button comes to the fore and then the new form takes over. This is ...

Getting State of Modifier Keys Compact Framework

How can I get the state of a modifier key using VB.NET on the Compact Framework, in this case Windows Mobile 6.1. I want to be able to determine if the following keys are pressed or locked: Shift CTRL ALT and for the Psion Teklogix machines Orange Blue Although I may be able to work this out, if I can determine the others. I want to c...

Increasing Windows Mobile 5 Emulator Storage

I'm using the Microsoft Sync Framework to synchronize a SQL Server database with a SQL Compact SDF file on the Windows Mobile 5 emulator. We have a 2 gig SD card in the actual device we're deploying on so we'd like to store our database file there. However, when I map a shared folder as the storage card in the Windows Mobile 5 emulator, ...

Blackberry Development Platforms

Hi There, I was wondering about the pros and cons on the different Blackberry development environments. I am trying to decide whether to use Visual Studio or Eclipse. Your thoughts are appreciated Tony ...

Serial port monitoring application for Windows CE?

I have an application on a Windows CE device that tries to receive data over a serial port. This isn't working and now I'm looking for some simple application to run on that device that'd let me check if there is any data coming in. Is there something like HyperTerminal that let's me monitor a serial port on mobile devices? Best would p...

How do you find the number of rows in a DataGrid using .net compact framework?

How do you find the number of rows in a DataGrid using .net compact framework? ...

CInternetSession::OpenURL on Windows Mobile causes error 12029 (cannot connect)

I'm trying to access data using HTTP by calling CInternetSession::OpenUrl on Windows Mobile 5 (coding in C++ with MFC). I always get an exception with error code 12029 (cannot connect). I suspect that I need to use the Connection Manager API to create a connection first. Can someone confirm that? I am going to try coding it up, based o...

System.Drawing.Imaging.ColorMap equivalent on .NET Compact Framework

I have a need to use a ColorMap object in .NET Compact Framework but from what I can tell it is not available. Need some ideas on how to best workaround this limitation. ...

Accessing Windows Mobile/CE devices without using activesync/WMDC

I am currently working on an application that runs on several different Windows Mobile and CE devices. The project is written in unmanaged C++ using MFC. This application also comes with a supporting PC app and we programatically transfer files between the two through activesync/WMDC. We have been running into many different issues be...

Efficient way to swap any given two colors in image using .NET Compact Framework

Is there an efficient way to take and image and be able to replace a given color with another given color using .NET Compact Framework? For example, to replace white with black or vice versa? ...

How to list Add/Remove Programs on Windows Mobile

For Windows desktop, the Add/Remove Programs list exists in the registry (as described here). I would like to list the same programs in Windows Mobile (5+), but the registry entries don't seem to exist in that location. Searching the registry did not yield any positive results. Ideas? ...

Playing YouTube videos in a Windows Mobile application

I am working on an application for Windows Mobile 6 (or maybe 5) that plays YouTube videos. Well, it should play YouTube videos (and control/query the player about status changes, current frame/time, etc.) After scouring the web for quite some time now (and a few trials), I still couldn't find a way to do this. The options I know of are...