windows-mobile

VS2008, Windows Mobile Installer project

南楼画角 提交于 2019-12-03 08:51:26
I'm using Visual Studio 2008 Professional Edition. I wrote an application for Windows Mobile and I would like to create the installer for this application. How does it do? You'll need to package your application up in a CAB file. To do this is quite easy - you just create a new "Smart Device CAB Project" (New Projet->Other project types->Setup and Deployment). To start with - specify that you want the output from your application's exe project to go in the Application Directory, along with any other dependent dlls. You may also want to create an icon for your application by right clicking File

Rijndael algorithm (How to create our own Key )

淺唱寂寞╮ 提交于 2019-12-03 08:28:56
All the samples for Rijndael algorithm are defining the key from the Rijndael class itself, can't we provide the Key of our own. Any hint on this will help me a lot. The sample application we are creating is for windows mobile and it doesn't support PasswordDeriveBytes Thanks in advance Geetha Update on this topic: As per the code sample provided below, we have tried it and it seems to be working but there is a small hiccup in this. when we decrypt the data there is a 8 bit padding up on the right side of the value for the example, we are encrypting a Unique key for transaction and it looks

Windows Mobile (C#) - Communicating between phone and PC

和自甴很熟 提交于 2019-12-03 07:54:43
问题 I'm working on a project where a program running on the mobile phone needs to communicate with a program running on the PC it's connected to. Ideally, I'd like to use USB, WiFi, whatever to communicate. The two programs should be able to communicate things like battery life, text messages, etc... But I can work on that later, I just need to get them to talk. What's the best way to do this? 回答1: "Best" is really subjective and highly dependent on a lot of factors like devices, topology,

Code profiling / performance analysis tools for Windows CE/Mobile

萝らか妹 提交于 2019-12-03 07:52:50
问题 What tools do you know, other than those in Visual Studio, to analyze performance bottlenecks in a Windows CE/Mobile application? I'm looking for something like AQTime for CE/Mobile, to profile C/C++ applications compiled to native code. 回答1: I haven't found any such tools for WindowsMobile for native development. The closest I've found is the EnTrek toolset (CodeSnitch / ProcMan), but they aren't really profiling tools. http://www.entrek.com/products.htm What we did do is build own own

Windows Mobile: using phone's camera with C#

馋奶兔 提交于 2019-12-03 07:42:11
问题 I want to show the image that mobile phone's camera its taking on a control in a WinForm. The idea is that my application works like camera's program. I want to show the image like if the user is going to take a photo. How can I do that? Can I do that? If you need more details ask me. Thank you! 回答1: Not very sure what you need, but you may try using Microsoft.WindowsMobile.Forms.CameraCaptureDialog: string originalFileName; using (CameraCaptureDialog dlg = new CameraCaptureDialog()) { dlg

How can I expose only a fragment of IList<>?

爱⌒轻易说出口 提交于 2019-12-03 06:15:22
I have a class property exposing an internal IList<> through System.Collections.ObjectModel.ReadOnlyCollection<> How can I pass a part of this ReadOnlyCollection<> without copying elements into a new array (I need a live view, and the target device is short on memory)? I'm targetting Compact Framework 2.0. Keith Try a method that returns an enumeration using yield: IEnumerable<T> FilterCollection<T>( ReadOnlyCollection<T> input ) { foreach ( T item in input ) if ( /* criterion is met */ ) yield return item; } These foreach samples are fine, though you can make them much more terse if you're

For a .net developer, what's the learning curve to get into mobile development?

帅比萌擦擦* 提交于 2019-12-03 06:02:42
问题 For a .net developer, what's the learning curve to get into mobile development? How many different operating systems are there that run .net? Is windows mobile that same as windows ce? 回答1: Learning Curve I hate to say "it depends" but it really does, and on several factors. What is your ".NET development" experience? Keep in mind that the CF supports C# and VB.NET, so if you're a COBOL.NET guy, it's going to be steeper than if you're a C# guy. If you do primarily ASP.NET on the desktop, it's

On what .NET Framework(s) is DotNetOpenAuth available?

被刻印的时光 ゝ 提交于 2019-12-03 05:09:49
Most (all?) OAuth resources - both information about the protocol and code libraries for easily using them in your own applications - one seems to find on the internet seem to assume the application you are using it in is a web application. I would however like to start using OAuth in my windows mobile Twitter client for interactions with Twitter where I now use Basic Authentication through a set of simple methods I hand rolled. If I'm correct, Basic Authentication is about to be deprecated by Twitter in June of 2010, so I have a hard deadline to keep my Twitter client working after this

.NET CF 3.5 mobile app building slowly in VS 2008

倾然丶 夕夏残阳落幕 提交于 2019-12-03 05:09:17
I have been working with a Windows Mobile 6 app that is built with .NET Compact Framework 3.5 in Visual Studio 2008. The application builds incredibly slow, spending a majority of the time doing the PlatformVerificationTask. How do I speed up the build? The best way to stop the PlatformVerificationTask in a distributed development environment I would suggest adding the following to the mobile app's project file: <Target Name="PlatformVerificationTask"> </Target> This will overwrite the PlatformVerificationTask in \Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets

Best way to manage network state in Windows Mobile

家住魔仙堡 提交于 2019-12-03 03:58:51
问题 I have a .NET Compact Framework 3.5 program that is used as a 'Occasionally Connected' line of business (LOB) application. If it can see an online webservice, it will use that for data access, but if network connection is lost it will use a local cache. What is the best way to handle all of the connection options and state changes? OpenNetCF's ConnectionManager class? Microsoft.WindowsBile.State.SystemState? API calls? How do you get it to understand the difference between WiFi, Cradle, and