I need to generate large images (A4 image at 200 DPI, PNG format would be fine) in my compact framework application. This is impossible to do in standard way due to memory limitations (such big image will throw OOMException).
Is there any library which offers file-backed stream image generation?
Or I could generate many smaller stripes...
I used p/invoke GetSystemTime() method in my application to get the current system date time but it is giving wrong values any solution for this..
...
We have a set of WinMo (5.0) devices running a .NET CF application that talks to an ASP.Net web service running on a server. The devices connect to the network either via ActiveSync through a networked PC or directly to the network via an Ethernet dongle.
In our development environment, the communication between devices and web service...
I really want to upgrade to Visual Studio 2010. But since I do a lot of development for the Pocket PC version of Windows Mobile I cannot. (I develop for a Symbol device that does not support Windows Phone 7, so that is not a option.)
Does any one know any kind of time frame of when Microsoft plans to add support for Smart Device Proj...
Hello everybody ::- ). For some reason, my .Net application crashes when from the total of 62 MB free RAM memory on my device, only 40 MB remain. My application has some huge dictionaries in memory and I need about 30 MB of RAM. Why doesn't .Net CF allow me to do it? There is plenty of memory on the device! ::- (... any ideas about some ...
I'm trying to set up some unit tests for an existing compact framework class library. However, I've fallen at the first hurdle, where it appears that the test framework is unable to load the types involved (even though they're both in the class library being tested)
Test method MyLibrary.Tests.MyGenericClassTest.MyMethodTest threw ex...
I have been developing in .NET for quite some time now, but now I have customer who wants me to develop an application for them in .NET for Windows CE.
I have done some embedded system programming in C before, but never in .NET.
What tips or tricks would make my life easier when taking this assignment? What pitfalls should I watch ou...
I need an event for my CF application, that would trigger after user has pressed an held his finger on the control for 2 seconds. What event can i use, since keyDown event is already used.
...
I'm using C# and probably .Net compact framework. How should I design mobile news reader (RSS, Atom...).
What are risks I should be aware before I start?
What libraries are there to help me read and parse data and synchronize it when going from offline mode?
...
Do I need to install .NET 2.0 on the device, where .NET 3.5 is installed?
So far my application works on .NET 2.0 (which potentially should be faster) but the long term plan is to port it to .NET 3.5. I need to order devices and the OEM needs to know which version of .NET should be added to the Windows CE image (version 5.0). Shall I a...
Hello - I've been trying to figure out how to consume a self hosted WCF service from a Windows CE device. I've not found any good resources that walk through this process online. I've found some good samples for self hosting, and that part seems to be working fine, but not sure how to go about consuming on the compact framework.
In th...
Hello !
I have a CF application.
In some view i have a ContextMenu that shows OK.
Is there a way to catch an event as the menu is drawn/opened?
I need to do some things just as the menu is drawn, because doing it later (on menuitem click) is already too late.
regards
...
hi
i'm using a transparent control class from here:
http://christian-helle.blogspot.com/2008/01/transparent-controls-in-netcf.html
to make a list on the screen. the text color is blue.
then I have a context menu that shows up when user clicks on an item in the list an the clicked text color turns into white.
the problem is, when user ...
I have a form that I want to know which control on it has focus.
How can I do this? Best solution I have seen has me iterating all the controls on the screen. While doable, it seems like a lot of work just to know which control has the focus.
...
I need to have my edit box work the same for both tab and the enter key.
I have found lots of problems doing this in the application. Is there some way that I can send a tab key to the form/edit box.
(Note that this has to be in the Compact Framework.)
Solution:
Here is what I ended up using:
// This class allows us to send a tab ...
What is a good approach to write a windows mobile app that can run on different device, screen resolution, screen size?
In my mind, I'd like to write the form once and be adaptive.
But I'm hearing sometimes that you write the form for different form factors, different screen size, different orientation (portrait/landscape) .... I just...
hello,
I would like to leave the textbox via code.
when user clicks in the textbox, and types in something , and then the user will click outside the textbox.
on the screen there are just labels. only this one textbox is on the form.
my problem is, that the textbox does not lost focus when I click everywhere on the screen. the texbox...
The current way our application is written, involves creating a new connection and command object in every method that access our sqlite db. Considering we need it to run on a WM5 device, that is leading to hideous performance.
Our plan is to use just one connection object per-thread but it's also occurred to us to use one global comman...
Is there a way to implement a XML web service on .NET Compact Framework. The problem is that it doesn't support generation of XML web services using ServiceContract/OperationContract/MessageContract attributes. Managed code preferred.
...
I'm trying to read the content of a file with a StreamReader, that receives a FileStream. The file has some spaces inside (char 32) and the StreamReader is reading them as 0 (char 48). The screenshot shows the FileStream buffer and the StreamReader buffer. Both have the value 32, but when I call Read(), it returns 48. Am I missing someth...