handheld

C# Windows CE .net 3.5 to checked the memory usage

谁说我不能喝 提交于 2019-12-04 23:57:00
问题 I'm a newbie in this place and starter with C# mobile. Now , I'm working on C# handheld device platform. So , I have some question to ask about how to get the memory usage. I have try GC.GetTotalMemory() and get the allocated memory that the GC used. But , Can I use this to estimated that how much my application was allocated the memory. I suppose that it may be but not actual correct. Then I've try google to searching for any reference or class or anything to use for checked the memory on

Why does the handheld device ignore the “FileSyncPath” Registry key's value?

∥☆過路亽.° 提交于 2019-12-02 03:49:16
问题 We don't want file syncing between our handheld device and the PC. The handheld device puts certain (SQL CE database) files in the \My Documents folder on the handheld. These are, in particular, the files we don't want synced to the PC. I first added "sdf" (and "SDF" just to be sure) to the "ExcludeExts" registry key. That didn't help. I then changed the "FileSyncPath" and "NoSubfolderIn" registry keys from the "My Documents" folder to the "profiles" folder: private void UpdateRegistry() {

Why does the handheld device ignore the “FileSyncPath” Registry key's value?

寵の児 提交于 2019-12-02 00:24:48
We don't want file syncing between our handheld device and the PC. The handheld device puts certain (SQL CE database) files in the \My Documents folder on the handheld. These are, in particular, the files we don't want synced to the PC. I first added "sdf" (and "SDF" just to be sure) to the "ExcludeExts" registry key. That didn't help. I then changed the "FileSyncPath" and "NoSubfolderIn" registry keys from the "My Documents" folder to the "profiles" folder: private void UpdateRegistry() { RegistryKey key = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows CE Services"); if (key

Is there a way to force IE or FF into a handheld mode for testing “@media handheld” stylesheets?

陌路散爱 提交于 2019-12-01 21:14:34
Is there a way to force IE or FF into a handheld mode for testing "@media handheld" stylesheets? Or, do I have to publish the pages and test with my Blackberry? I'd prefer to test this without pushing the application to the live server as the application is already in use. Any ideas for me? Totty Some help on this question: What do you use to test the handheld css on your website? Web Developer Toolbar for FF lets you to test webpages media=handheld There's a simple way with media queries : @media handheld, screen and (max-width: 500px) { /* your css */ } This will make browsers that implement

Should I call “SqlCeEngine.Upgrade()” when both the SDF file and the device are seemingly the same version (2)?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-29 12:58:58
This is a followup to a question here ctacke said there regarding SQL Server CE-related "issues" I was/am having: " The problem, as indicated by the error text, is that the SDF file was created by a version of SQL Compact that doesn't match the version of SQL Compact that the application is referencing. I wouldn't focus on the reported version numbers, just the fact that it knows there's a mismatch. If you don't know the version of the SDF, you can always look it up by reading a few bytes from the SDF file. SQL Compact database files aren't 100% transportable. You definitely cannot take an SDF

What do you use to test the handheld css on your website?

半城伤御伤魂 提交于 2019-11-29 12:42:24
问题 I've been adding css support for handheld to my website but haven't been able to find a good tool for testing. I tried using the webdeveloper plugin for Firefox but it doesn't work for me. Maybe that is because all my css is in the html and not a seperate css file. Are there any other testing tools available aside from going out and buying a handheld device? 回答1: With a bit of hunting I found what I was looking for, thanks for the leads guys. Opera will display the handheld css if you select

Which SqlServerCe DLL version do I need to reference in my project to match what's in sqlce.wce4.armv4.CAB?

老子叫甜甜 提交于 2019-11-28 13:48:59
问题 The "rest of the story" is told below in all its gory details, but to cut to the chase, it comes down to this: SQLCE 2.0 (contained in sqlce.wce4.armv4.CAB) seems to be installed on the device on which my app runs; the source project references SqlServerCe with a Runtime Version of v2.0.50727 and a Version of 3.5.1.0 Is this a match or a mismatch? If the latter, which version of SqlServerCe.dll do I need to reference in my project? THE REST OF THE GORY STORY My Windows CE app is failing when

Should I call “SqlCeEngine.Upgrade()” when both the SDF file and the device are seemingly the same version (2)?

天涯浪子 提交于 2019-11-28 06:49:37
问题 This is a followup to a question here ctacke said there regarding SQL Server CE-related "issues" I was/am having: " The problem, as indicated by the error text, is that the SDF file was created by a version of SQL Compact that doesn't match the version of SQL Compact that the application is referencing. I wouldn't focus on the reported version numbers, just the fact that it knows there's a mismatch. If you don't know the version of the SDF, you can always look it up by reading a few bytes

How to get started with Symbian (S60 plattorm)

痞子三分冷 提交于 2019-11-28 05:05:00
So at my new job one of the platforms we use is S60 (Nokia phones, Symbian OS) and I am getting curious about it, as well feeling the need to help the team a bit from time to time (I actually work on the server side of things for this software). So any good pointers/recommendations/tutorials and shared experiece that might put me in the right direction ? Thanks These days, I think it is nearly impossible to begin native (meaning C++) Symbian software development. Nokia, Sony and Motorola don't support their old Symbian phones any more. Most official URLs are broken. Simply obtaining a

How to animate a custom Google Maps marker along a route?

自作多情 提交于 2019-11-27 17:24:44
I have written a small application for a handheld device using JavaScript and Google Maps API's, now II need to move my marker icon anywhere on the map along a route using a timer function. I have a man icon and I need to move it automatically on the map. How can I do this? A pretty cool example is here: http://www.kmcgraphics.com/google/ Unfortunately, there is no automatic-marker-movement function in the official GMaps collection. However, if you have a GRoute, that would mean you have a set of points. To loop through the route steps, you could use something like this: for (var c = 0; c <