compact-framework

WCF - How to create a custom header sent from a Compact Framework Client

I want to add a custom header for WCF service communications (add it in for the client and read it out for the service). There are many examples of this on the internet, but they use classes and interfaces in System.ServiceModel that do not exist in the Compact Framework (IEndpointBehavior, IClientMessageInspector, etc). This link has ...

Interface with symbol ppt88xx's bar code scanner using .NET CF

I need to interface with a symbol ppt88xx's bar code scanner using .NET CF. Any ideas? ...

Problem with Multi - thread Parameters using delegate in compact framework

My issue is that I have a List of strings, and I want to create one thread for one string, pass the string into the thread. This is my code: public void getImageSource(List<string> UrlLinks) foreach (string urlLink in UrlLinks) { ThreadStart myThread = delegate { Fetch(urlLink); }; ...

How to read GPS signal strength in Windows Mobile?

How can I read the GPS signal strength from my Compact .NET app in Windows Mobile 5 and/or 6? I've only seen accessors for GPRS and Wi-Fi signal strength in the API. ...

MissingMethodException ( Can`t find PInvoke DLL 'sqlceme30.dll ' ) for Windows Mobile

Hello. I have developed a win mobile (v5.0) application and I use ONLY 1 database SQLITE with these references: System.Data.SQLite.dll (assembly version & product version : 1.0.65.0); SQLite.Interop.065.DLL (product version : 1.0 and is a c++ lib for first dll ). After 5 weeks of using of this application, I get today a weird exce...

Workaround for String.Contains() in C# .NetCF 2.0?

There is a string method called Contains. It allows you to quickly search a string for another string. I need to use this in a .netcf 2.0 application but per MSDN it does not come available until the 3.5 framework. Can anyone offer a work around (C#)? TIA Noble ...

Is a mapping library like AutoMapper available on the .NET Compact Framework 3.5?

Is anyone working on a .NET Compact Framework port of AutoMapper or are there any similar mapping libraries for the .NET Compact Framework? ...

[WM 6.5 / C#] Send SMS AND copy them into the "sent messages" folder

Hello, I'm developing an application for windows mobile 6.5. Im writing the code in c#.net and want to send sms due to my app. I checked out the POOM and sms sending worked fine. Code: SmsMessage msg = new SmsMessage(); msg.To.Add(receiver); msg.Body = messageText; msg.Send(); But there's one problem. I want ...

How to center a form using showdialog (.NET Compact Framework)

I want to centre a popup form launched using Form.ShowDialog() in .NET Compact Framework. I dont see any property like StartPosition in .NET CF Form object. Can someone please suggest me how to centre popups in .NET CF 3.5? ...

.Net Compact Framework - add vibration to the button click event

Hi, I am wondering if anyone could provide me with a hint for adding vibration to a button's click event. I have been looking around but only found similar examples using the window registry - however I would prefer avoid toching the registry if possible. Anyone who could provide me with some sample-code to achieve this (C# or VB.Net)?...

Notification CeSetUserNotificationEx with custom sound

Hail all! I want to display notification and play custom sound on my Windows Mobile 5/6 device. I have tried something like that, but my custom sound does not play, though message is displayed with standart sound. If i edit Wave key in [HKEY_CURRENT_USER\ControlPanel\Notifications{15F11F90-8A5F-454c-89FC-BA9B7AAB0CAD}] to sound file i n...

Remove readonly in Compact Framework

Hello, What is the preferred way to remove the readonly attribute of a file in Compact Framework as we don't have a File::SetAttributes? Thank you! ...

Beginner Question: How can i play sounds with Windows Mobile framework

I started Windows Moible CE Dev. and now i need some stuff of the coredll.lib but where can i find this lib? edit: okay found it in C:\Program Files (x86)\Windows Mobile 5.0 SDK R2\PocketPC\Lib\ARMV4I but how do i add it to my visual studio project? edit: try a change. What i wanted to do is playing a sound by pressing a button. Ho...

Unit Testing for Smart devices using framework 2.0

VSTS 2008 (Visual Studio Team System) is coming with inbuilt Unit Testing Feature. We can add a test project to perform unit testing over the Smart device project. The problem comes when my smart device project is not using Framework 3.5 but over Framework 2.0. I strictly not to install Framework 3.5 in the device. But this restriction ...

How to install Java application in windows mobile?

Hi All, I have one problem present i am unble to resolve this one. Q:How to use java based application in windows mobile? What are the requirements for java application install in windows mobile? Thanks in advance. ...

How to handle Unhandled Exceptions in .NET COmpact Framework 3.5?

In .NET CF, is there any event like Application.DispatcherUnhandledException that allows us to capture all the un-handled exceptions to log as well as to keep the application open with out crashing? The arguments of DispatcherUnhandledException event handlers allows to stop app crashing by just setting // Prevent default unhandled exc...

Install Device Unit Test Framework

Hi all, I have Framework2.0 already installed in device, I have created a unit Test project for the smartDevice application, now to test this project I need to have Device Unit Test Framework installed in the machine. http://msdn.microsoft.com/en-us/library/bb545998.aspx Here I want to know if Device Unit Test Framework is distributed ...

How to start developing Windows mobile applications

I want to write an application for my Windows 6.1 standard smart phone that intercepts incoming SMS messages and auto responds if they match a specific criteria, but despite installing countless SDk's I am unable to do what I need. The code I want to use relies on the Microsoft.WindowsMobile.PocketOutlook.dll assembly, but I can't seem ...

.NET Compact Framework: how to ensure form is visible before running code?

We've got a Model-View-Presenter setup with our .NET Compact Framework app. A standard CF Form is implementing the view interface, and passed into the constructor of the presenter. the presenter tells the form to show itself by calling view.Run(); the view then does a Show() on itself, and the presenter takes over again, loading up data ...

Designing forms to work on different resolutions and aspect ratios on Windows CE

I have a .NET 2.0 application that runs on Compact Framework. It has a bunch of different forms that were all originally designed to run on a specific device with a specific screen resolution. I'm now looking to get this application to run on some other devices that have very different screen resolutions (some have completely opposite ...