windows-mobile

Getting the size (free, total) of a Windows Mobile phone drive using C#

How do I get the size (free, total) of any drive on a Windows Mobile phone using C#? I need to do this with code running on the device (not on a connected PC). ...

P/Invoke GetDiskFreeSpaceEx

Exact Duplicate of: Getting the size (free,total) of a Windows Mobile phone drive using c# dear all; i know my problem took alot of time and many of u helped me but i'm new in C# and this is my first application.. now i read an article: C# Signature: [DllImport("coredll.dll", SetLastError=true, CharSet=CharSet.Auto)] [return: Ma...

Bluetooth for WindowsCE 5.0 and .NET2.0 with C#

I'm looking library, to create Bluetooth connection between my device and other devices. I want use: .NET2.0 for Windows Mobile WindowsCE 5.0 ...

Windows Mobile WAP Wakeup

could anyone please give me directions, or better - a working sample, of using the "WAP Wakeup" feature in Windows Mobile? I'm trying to follow directions from http://msdn.microsoft.com/en-us/library/aa919167.aspx . Unfortunately, they only give the beginning of the solution. Step 1: register your application to listen to SMS messages ...

cf.net exception and other logging

I want to add some logging capability to a cf.net application running on WM6 Pro. I'm looking at logging exceptions and some of the more sensitive sections of code. I would like to have logs stored both locally (i.e. on the device) and also have them reliably uploaded to a server as well (they will need to be queued, my app is occasio...

Can we access a reusable DaysOfWeek control?

Just wondering if we have access to the PocketOutlook DaysOfWeek control/editor, or if anybody else has made their own for free usage. I'm looking for something exactly like what's in the Outlook Calendar appointment reoccurring pattern editor. Open Calendar Create a new Appointment Click on "Occurs", then "< Edit Pattern... >" Click ...

DirectDraw question - running the application as a regular Windows application

Hi, I am developing an application for video recording and I want to overlay the video preview with a logo and recording timer. I tried to run the full-screen application and everything worked fine. Then I tried to run the application as a regular Windows application and it returned an error. Could anyone take a look at the code below...

How to remove the readonly attribute when building a setup

Hi All, The setup of my Windows Mobile app is created using VS2008. It contains a couple of data files to be copied to the target device. These files are readonly on the dev machine (because they are under source control). The setup preserves the readonly attribute, which is a problem in this case. How can I tell the setup project to ...

Is SmsMessage not thread-safe?

I'm writing an app for WM that handles incoming SMS events. I tried making it multi-threaded (using ThreadPool.QueueWorkItem) where the SmsMessage was passed along. However, I noticed that when I did that, the program would only handle the first sms event - afterwards, NO SMS were received by the device at all! But when the program...

Bluetooth to Serial Adapter - Connection Exception

Hello, currently writes an application to connect to the device "BTLink Bluetooth to Serial Adapter" More information about device: device specification Have created such a code: BluetoothAddress btAddress = null; if (!BluetoothAddress.TryParse(comboBoxDevices.SelectedValue.ToString().Trim(), out btAddress)) thr...

How to monitor microphone for noise sound?

I’m trying to find an algorithm to detect when the user blows into the microphone (like Ninentdo DS or iPhone) on a WM6 device with C#. I was thinking to use Waveform to read from the mic in real time into a small buffer, but I'm a bit lost on how to recognize the blowing sound, I guess it sounds like white noise. Anyone has an idea on ...

Recording at stream in windows mobile

Hi i want to record voice and send it throw Bluetooth stream , the problem is the recorder accepts only I.O Stream And write at the 'stream' without using (stream.write), ''using openNETCF Dim Stream1 As Stream Stream1 = File.OpenWrite("\My Documents\" & txtFileName.Text & ".wav") m_Recorder = New OpenNETCF.Media.WaveAu...

Delay Signing on Compact Framework

I want to use delayed signing for my windows mobile compact framework assemblies. When you sign an assembly using delayed signing it signs it with the public key and leaves space in the assembly for the private keys, which can be added just before shipping the assembly. A delay signed assembly can not be run or debugged unless the sign...

Programmatic Signing of Native Windows Mobile Apps

Is there any certificate authority that allows for programmatic signing of windows mobile applications? At the moment my team uses Geotrust. Our build procedure looks like this: Build app "pre-sign" app with multi-step tool ( fill out form and upload "pre-signed" app on geotrust web site download signed app repeat There must be a b...

How do I configure WinCE to use wildcard SSL certificates?

Our Windows CE 5.0 application has a problem with our wildcard SSL certificate (*.domain.com) - it won't accept it as valid. I understand that Windows Mobile 6.0 has support for wildcard certificates (earlier versions don't) and that is built on WinCE 5 which suggests it should be possible to change WinCE 5 to accept wildcard certificat...

Unresolved external symbol CompleteAuthToken referenced

While porting a desktop application to windows mobile I've reached the following error: Error LNK2019: unresolved external symbol CompleteAuthToken referenced in function Reading MSDN it tell me that CompleteAuthToken is supported on Windows CE 2.10 and later and I should link against Secur32.lib, but adding that library didn't...

What is the fastest way to open a form from a form?

What is the fast and effective way to open Form2 from Form1? I work in WinCE (limited memory and CPU power) so this becomes important. ...

Running background services on a PocketPC

Hi, I've recently bought myself a new cellphone, running Windows Mobile 6.1 Professional. And of course I am currently looking into doing some coding for it, on a hobby basis. My plan is to have a service running as a DLL, loaded by Services.exe. This needs to gather som data, and do som processing at regular intervals (every 5-10 minut...

Windows Mobile File Time

In Windows Mobile I am using FindFirstFile/FindNextFile to search for some files. As part of the results I am getting a WIN32_FIND_DATA structure which contains one search result. This structure contains 3 FILETIME structures for file creation, last write and last access times. Then I am converting these structures to SYSTEMTIME using ...

.NET - How can I get more information for an error in my program? Error: "The thread 0x566967f6 has exited with code 0 (0x0)"

Maybe you can help me... I am writing a program in Windows Mobile that connects to a mail-server and retrieves data from a POP3-server. I am using a third-party (free) socket available from here. I am using VS 2008 (in VB.NET) and the device-emulators. I can connect without any problems and execute my various commands (such as logging ...