windows-mobile

Get Network Name (Subscriber Name) on Windows Mobile

How to get Network Name (Subscriber Name) on Windows Mobile? ...

Custom Protocol Handling in Windows Phone 7

We are developing a Windows Phone 7 app. I was wondering if anyone has successfully (if yes, how) managed to register a custom protocol handler. e.g. if the device sees a url like myapp://dosomething.com/aaa it knows to open the app when the user clicks on this URL. ...

Why does Microsoft and Apple ban GPLv3, and when would I fall into the same situation?

I just came across this article that mentions both Microsoft and Apple have banned all GPLv3 based code from their mobile "app store"-related sites. http://www.zdnet.co.uk/reviews/developer-tools/2010/09/27/windows-phone-7-developer-tools-a-first-look-40090296/ excerpt: "The one unfriendly part of the agreements you need to sign ...

Getting file version info in the Compact Framework

I have some code that needs to be able to find the version number of an assembly, given a string saying where it's located. I can't get this to work: Assembly assembly = Assembly.LoadFrom("\\Program Files\\Microsoft SQL Server Compact Edition\\v3.5\\sqlcecompact35.dll"); throws a System.IO.IOException: File or assembly name '\Progra...

How to start Window Mobile programme?

I am new in Window Mobile Programming. I have to make to scan Wifi networks and join to the network using Window Mobile 6.5 Professional device, CE OS 5.2. But I do not know how to start it. I am a beginner. Please give me tips to start it. What language and tool is better? Where is the helpful documents? any thing for beginner. Thanks ...

Get Notification when New Contact is added to Device on Windows Mobile

I need to set Callback function for New Contact added to Device on Windows Mobile. I want to get notification when someone adds contacts to mobile device. I am using VS 2008 with C#. ...

SQLiteException: Unable to open the database file

Hello, I'm new to windows mobile programming and I'm trying to create a Windows Mobile 6 application using sqlite. Write now I have built a dummy test application where I try to read the contents of a an sqlite table. The problem is that I keep receiving SQLiteException: Unable to open the database file. My code is below: using (var...

Can't connect to mu local database from VM 5.0 PocketPC emulator

Hi, I can not connect to mu local database from PocketPC emulator (VM 5.0 Pocket PC R2 Emulator). I am developing an VS2008 SP1 SmartDeviceProject. I am attempting to connect to my local SQL Server "ComputerName\SQLEXPRESS" but I get "SqlException". I CAN connect to other SQL Server on some IP addres (remote server from my work publishe...

.NET CF Windows Forms - 3 state push button

Hello How to create a 3 state push button that behaves like check box but looks like normal button? Regards ...

About Network Connections on Windows Mobile

Hello , I'm neither good nor experienced about asking questions so i hope I'm not doing it wrong. ( Also pardon my English as it's not my native language) But here is one thing still bothering me even after a few night of googling ; Someone asked me about a project on Windows Mobile but as a newbie .Net developer and cell-phone illite...

C# Comparing float to int

I have seen this code floating around on the intertubes for determining if a Windows Mobile device has a VGA screen (code is inside a method of a Form class): SizeF currentScreen = this.CurrentAutoScaleDimensions; bool isVGA = currentScreen.Height == 192; Is it possible that isVGA could be set to false even if the screen is VGA becaus...

How to display ok button at bottom in .net compact framework ?

I am developing mobile application in C#. I am using the following code in my application to display the messagebox but the button ok is displayed at the top right corner. I want to display the ok button at the bottom. This is my code MessageBox.Show("Records successfully inserted","Customer Entry",MessageBoxButtons.OK,MessageBoxIcon.No...

Setting HTTP POST Parameters in Windows Mobile

Recently I was trying to make a HTTP POST query in Windows Mobile but the POST query was not successful. This is what I have been trying to do Here sRequestHeaders is the headers which is in Unicode and the MSDN documentation says the following about “lpOptional” parameter which is used for POST parameters pOptional [in] Pointer to a b...

How to add icon file in the cab file of mobile application ?

I am developing smart device application in C#. When I deploy my application on emulator it shows the default name for the exe of my application & there is no icon associated with it. Now I have added an icon to the exe of my application by right clicking on the project & selecting the properties from the solution explorer in visual stud...

Windows Mobile SDK 6 Confusion

I am upgrading my Windows Mobile 5 project to a Windows Mobile 6 project. The first step (at least so it seems to me) is to get the Windows Mobile 6 SDK installed. When I went searching for this I found the following installs that both seemed to fit what I was looking for: Windows Mobile 6 Professional SDK Refresh.msi Windows Mobile ...

How to calculate screen resolution change

I have an application that is on a mobile device. I am moving resolutions of my app from 240W x 320L to 640W X 480L. I have a bunch of columns that have their width in pixels (say 55 for example). I need to convert this to the new resolution. "Easy", I thought 640/240 = 2 2/3. So I just take 55 * 2.6666667 and that is my new width. ...

Can't find PInvoke DLL on Windows Mobile

I am working on Windows Mobile application. Whenever I download some sample which is using wrapper around native code (using DllImport), it always gives "Can't find PInvoke DLL" error. I am using VS 2005 with C# on 64-bit Windows 7 OS. I have checked many of solution on stackoverflow as well as othersites, but with no solution to my p...

Trigger event on Windows Mobile 6 in C#

How can I trigger a time event on a Windows Mobile 6 app to check my database every five minutes? I'm looking for something like that done in the System.Timers namespace. ...

Write SMS to folders (Inbox, Drafts, Sent Items) on Windows Mobile (Managed Code prefered)

I am taking backup of message folders (Inbox, Drafts, Sent Items) from Windows Mobile to server. Now, I need to restore the messages to the corresponding folders after we wipe the Windows Moble. How to write SMS to the corresponding folders (Inbox, Drafts, Sent Items)? I found SimWriteMessage method of SIMMANAGER API. Its Native code. ...

Windows Mobile 6.1 - .NET CF StatusBar control - embedding icon

Hello Is it possible to embed an icon on StatusBar control on .NET CF 3.5? Regards Dominik ...