windows-mobile

How can I use OpenStreetMap in my Compact Framework App?

十年热恋 提交于 2020-01-01 05:30:11
问题 Does anyone know, how I can use OpenStreetMap inside my Compact Framework application? Is there a Framework or something like that? All I can find in their wiki is how to contribute to their project and to user their software to map data. But I want to use their maps to show the users location inside my own app. I could not find anything about using their web service or whatever I have to use to show their maps inside my application. 回答1: There is a project on Google Code that wants to create

Invalid Credentials on MapLocationFinderResult uwp c#

亡梦爱人 提交于 2019-12-31 05:24:29
问题 I am having a strange problem with the use of MapLocationFinder. I am using MapLocationFinder to retrieve longitude and latitude based on string address: string address = ""; // Any address here var locFinderResult = await MapLocationFinder.FindLocationsAsync(address, new Geopoint(new BasicGeoposition())); After this, I use Laucher to start "drive to" application and get navigation map: var geoPos = locFinderResult.Locations[0].Point.Position; var url = $"ms-drive-to:?destination.latitude=

OutOfMemoryException On Mobile Device

余生颓废 提交于 2019-12-31 01:59:03
问题 I'm developing an application that uses a mobile device to take a photo and send it using a webservice. But after I've taken 4 photos I am getting an OutOfMemoryException in the code below. I tried calling GC.Collect() but it didn't help either. Maybe someone here could be give me an advice how to handle this problem. public static Bitmap TakePicture() { var dialog = new CameraCaptureDialog { Resolution = new Size(1600, 1200), StillQuality = CameraCaptureStillQuality.Default }; dialog

How to Auto-Update Windows Mobile application

▼魔方 西西 提交于 2019-12-30 00:38:33
问题 I have a .net cf 3.5 Windows Mobile application that my client wants to have autoupdate features. Here is what I have so far: create a CAB using the Smart Device CAB Project (is this good enough, or should I be doing something else here) 2.Get the application version number Assembly.GetExecutingAssembly().GetName().Version.ToString(); Call a WCF web service for to do a version number look up. Download a new version of the cab file. ??? Execute WCELoad.exe on the CAB file Profit 回答1: Your

How can I measure the energy consumption of my application on Windows Mobile and Windows CE?

纵饮孤独 提交于 2019-12-29 08:21:29
问题 I want to measure the energy consumption of my own application (which I can modify) 3rd party applications (which I can't modify) on Windows CE 5.0 Windows Mobile 5/6 Is there some kind of API for this? If not, can I measure other values which I can use to estimate the energy consumption? I don't need an exact value like 20 mAh (although that would be nice) A relative value would suffice, like: "Starting from 100% to 0% charge status, around 20% of the fully charged battery was used by this

How can I run code on Windows Mobile while being suspended?

女生的网名这么多〃 提交于 2019-12-29 07:18:08
问题 I'd like to run some C++ code while the Windows Mobile PocketPC is (or seems) being suspended. An example what I mean is the HTC Home plugin that shows (among others) a tab where the HTC Audio Manager can be used to play back mp3 files. When I press the on/off button, the display goes black, but the audio keeps playing. The only button to switch back on is the on/off button, as expected. What I tried so far is to capture hardware button presses (works) and switch off the video display (works)

Windows CE vs Windows Mobile

风流意气都作罢 提交于 2019-12-29 06:51:09
问题 I often see these terms: Windows CE Windows Mobile Pocket PC Windows Mobile Smart Phone I know the difference between the second 2, but I am confused on the first. I thought it was the name of the Mobile OS prior to Windows Mobile 5. But I am seeing it more often in current products. (Here is a current MS Form for developing on it. Here is a current product for creating them.) What is it and how does it relate to the Windows Mobile lines? 回答1: Windows CE is a modular OS. It is built with a

VS2008 remotely connect to Win Mobile 6.1 Device

岁酱吖の 提交于 2019-12-29 06:32:56
问题 So I've been given to a Windows Mobile 6.1 Classic Device to work with for a project, but I was given a network adapter for it and not a USB cable. So I have to build and test across the network. So how do I get Visual Studio to connect to the device across the network? I have read the following articles to no avail: "How to: Connect to Windows CE Device Without ActiveSync" and also looked at: enter link description here But neither have helped me, I am not sure what to try next to try and

VS2008 remotely connect to Win Mobile 6.1 Device

前提是你 提交于 2019-12-29 06:32:28
问题 So I've been given to a Windows Mobile 6.1 Classic Device to work with for a project, but I was given a network adapter for it and not a USB cable. So I have to build and test across the network. So how do I get Visual Studio to connect to the device across the network? I have read the following articles to no avail: "How to: Connect to Windows CE Device Without ActiveSync" and also looked at: enter link description here But neither have helped me, I am not sure what to try next to try and

VS2008 remotely connect to Win Mobile 6.1 Device

亡梦爱人 提交于 2019-12-29 06:32:03
问题 So I've been given to a Windows Mobile 6.1 Classic Device to work with for a project, but I was given a network adapter for it and not a USB cable. So I have to build and test across the network. So how do I get Visual Studio to connect to the device across the network? I have read the following articles to no avail: "How to: Connect to Windows CE Device Without ActiveSync" and also looked at: enter link description here But neither have helped me, I am not sure what to try next to try and