Custom listview control for windows mobile in c#
I need to develop a custom listview control (ie, i need two labels and a progress bar in each list item) . I am new to windows mobile so please help me with code samples. ...
I need to develop a custom listview control (ie, i need two labels and a progress bar in each list item) . I am new to windows mobile so please help me with code samples. ...
Hello, I´m writing a Compact Framework Application for Windows Mobile 6.5. The Application will be sold in the Windowsphone Marketplace. To do so, I have to support the various Screen sizes and resolutions...but how do I do this? Is there a best practice or so? I use mainly standard controls but a Background Image in the Mainform...do I...
Hi All, We have a setup of server and windows mobile device as a client. In server CSI script ready to accept single file from client. In Desktop we have use WebClient.UploadFile method to upload file to server, but in windows mobile this isn't implemented, till now we haven't found any alternative method to achieve same. Thanks in...
Hi there, I've currently got a class similar to this: public class myClass { **[XmlElement("mcp")]** public int MyClassProperty; } This is to try and reduce the length of the property name for when the class is serialized in a web service call. However I want the class which references myClass via the web service to use MyClassProper...
I have a problem with opening CF.NET forms using VSTS 2008. It uses the regular windows forms designer instead of the smart device one. Everything was fine under VS2008 Pro, but after installing VSTS this seems broken. Is it possible to modify this behaviour somewhere in the settings or should I blame this on a broken install and reins...
I am interested in writing an app that will intercept an outgoing SMS message and process it in some way before it is sent. Is that possible in the .NET compact framework? I have seen documentation to intercept and incoming SMS but not outging. If it is not possible in .NET, is there some other way that It can be done? ...
I'm experimenting with maps on different mobile platforms. Getting Google Maps to work on Android was easy, following this tutorial. Getting the same to work on Windows Mobile is a different matter. Any suggestions on how to do this? Google Maps API doesn't seem to support Windows Mobile. Guess I could try using Google Static Maps, but...
I'm trying to determine the currently selected portion of the date (or time) editor. I need to to provide custom action when the navigation keys on PDA are use. In particular i want the focus to go to the next control when pressing Right button and having the last portion of the date selected (e.g year). Default behavior is cycling throu...
Unfortunately, there is no Semaphore in System.Threading when using the .NET Compact Framework. I'm not sure why that is, does anyone have an idea? After googling I've found a bunch of people giving their own implementations, but none of them really worked great... or at all! So I've come to ask the experts... Does anyone have a good...
I'm creating menu items in a separate thread and adding them to the menu created in the main thread. I'm using Invoke for that. Getting "Value does not fall within the expected range" exception. //creating new thread Thread thread = new Thread(LoadRecentTasks); thread.IsBackground = true; ...
I've created a Windows Mobile application that opens, edits and closes a data file format. There're a couple of features I'd like to implemenet but I'm not sure how to go about it. Create a file association so my data files have a custom icon. Process the command line (if there is one) of my application so the user can select a data f...
Is it possible to specify the application icon for a windows mobile app from a resource file or other configuration besides the .csproj? The reason I would like to do this is because I have an application that can be configured to run in several different ways. We would like to build out three unique .cabs based on these configurations...
I'm developing a solution for Windows CE 6.0 using GuD_AtomKit X86 Device emulator. I'm not able to run any unit tests, because I get following error message: The test adapter ('Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=9.0.0.0, Culture=neutral, P...
Is there any way to force control validation in .NET CF? In full .NET there is the Validate() method, but it is missing from CF. I'm trying to make a control bind data back to the model when closing the form, but clicking the main menu button doesn't seem to steal focus from the control and the Validating and Validated events don't fir...
This bit of code runs on Windows Compact Framework and what it does is obvious. It looks as it should be refactored (especially considering that I may want to add cmd.ExecuteResultSet() later), but I can't see an elegant way to do it. Any ideas appreciated. internal void RunNonQuery(string query) { string connString = Ge...
I want to create audible feedback to the user to signal success or failure of data validation. Playing the system Asterisk and Exclamation sounds seem to be the proper way to do this, especially since the device may have non-standard sounds configured. The problem is that System.Media is not available in the .NET Compact Framework 2.0 t...
I am working on an application which needs to divert phone calls to other cell phones programatically using the compact framework. These need to network or carrier redirects so that if the phones loose battery/etc the diverts will still function. I need to be able to enable and disable these call diverts easily and programatically with...
How can i get value of delay for tap-and-hold on Windows Mobile? I.e. the delay between tap and the circles being drawn and/or the context menu appearing. ...
I am looking for C# code for the compact framework to determine the current size of a database table (within a SDF file). Table name "LogTable" Does anyone have any code examples to determine how this can be achieved. I cannot use a stored procedure as the code throws an exception as this is not supported :-( I have tried the code bel...
Hi all, I am developing a Windows Mobile application using WM6 SDK. The application is a Managed code (using C#) & I would like to know the steps to be taken in order to call native functions. Thanks for the help, Abdel Olakara ...