windows-mobile

Creating a mini-site in ASP.NET that works on Blackberry, Windows Mobile, and iPhone

寵の児 提交于 2019-11-30 06:46:30
I'm working on an ASP.NET website which targets desktop browsers. We want to enable an optional mobile view (e.g. http://m.sample.com ) which will offer a few simple pages which will be mostly text. There will be not need for AJAX or even Javascript, and there's no user input - it's really just tables of text with a few links to navigate between the pages. What's the best way to set this up so it will work on Blackberry, Windows Mobile, and iPhone? Should I be looking at ASP.NET Mobile support, or just rolling my own pages? UPDATE : This was for m.microsoftpdc.com. We went with the /Mobile

How to get Windows Mobile Device Center To Connect to the Emulator

大城市里の小女人 提交于 2019-11-30 06:44:07
I have recently installed Windows 7 and I have come to a conclusion. While Active Sync was old and did not work great, it did work. I could connect to my devices and emulators after the proper rituals and incantations. The other conclusion I have come to is that Windows Mobile Device Center is worse that Active Sync was. I cannot get it to reliably connect to my emulator (yes, I have set the connection type to DMA) despite how many times I cradle and uncradle. (The emulator connects to the Visual Studio Debugger just fine though.) With active sync I had to manually press the connect button in

Store an image in a SQL Server CE database

两盒软妹~` 提交于 2019-11-30 05:44:28
问题 Does any one know of an example on how to store an image in a SQL Server CE database? What data type should the column be? (I am guessing binary.) I use Linq-To-Datasets. Is it possible using that to put the image into the database and pull it out again later? Thanks for any advice. Here is how I did it: MemoryStream stream = new MemoryStream(); myBitmapImage.Save(stream, ImageFormat.Png); myInsertLinqToDataSetRow.IMAGE_COLUMN = stream.ToArray(); To load it back out again I did this:

Playing YouTube videos in a Windows Mobile application

ぃ、小莉子 提交于 2019-11-30 05:32:50
I am working on an application for Windows Mobile 6 (or maybe 5) that plays YouTube videos. Well, it should play YouTube videos (and control/query the player about status changes, current frame/time, etc.) After scouring the web for quite some time now (and a few trials), I still couldn't find a way to do this. The options I know of are: Use the YouTube player, embedded in HTML, controllable via JavaScript. However, I couldn't watch YT videos from IE Mobile, to begin with -- I get an error message saying something along the lines of "you need a browser with Flash Player 8 and JavaScript

How to Auto-Update Windows Mobile application

£可爱£侵袭症+ 提交于 2019-11-30 04:14:17
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 Your solution is generally correct, but has a few problems. You can't update yourself. You have to shut down and have

How to Get MAC address programatically in c# for a windows mobile 6.0 device

纵饮孤独 提交于 2019-11-30 04:00:33
问题 How to Get MAC address programatically in c# for a windows mobile 6.0 device? The System.Net.NetworkInformation is not supported in ,net compatc framework 3.5. 回答1: I know it's been awhile, but I needed this and found I could use OpenNETCF version of the code above with a tweak: INetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); //for each j you can get the MAC PhysicalAddress address = nics[0].GetPhysicalAddress(); byte[] bytes = address.GetAddressBytes(); for(int i = 0;

Deploy a Desktop Shortcut to a Device running Windows CE 4.2 (VS2005)

社会主义新天地 提交于 2019-11-30 00:50:12
I have an application written using VS2005 in C# targeting the Compact Framework 2.0 SP2. As part of the solution, I have CAB deploy project which deploys to the device without a problem. What I can't do is create a shortcut to my application on the devices desktop. I have spent several hours reading various bits of documentation (why is the search at the MSDN site so bad?), followed the instructions but no joy. What I've done is: Add the "Windows Folder" node to the File System Created a folder underneath that named "Desktop" Created a shortcut to the Applications Primary Output and placed

What do I need to know to make my website work on mobile browsers?

时光毁灭记忆、已成空白 提交于 2019-11-29 22:56:53
问题 I am using ASP.NET 3.5 with Visual Studio 2008. I have a few questions surrounding my website and mobile users. Will my website be displayed correctly on a mobile? What items will not work on a mobile (I know flash can be a problem?) What advice can you give me for my website to work 100% on a mobile? Thanks in advance! 回答1: See these links 7 usability guidelines for websites on mobile devices Designing Web Sites for the Internet Explorer for Pocket PC Make Your Web Applications Support

Getting started with windows mobile development [closed]

心不动则不痛 提交于 2019-11-29 21:57:19
I have a personal pet project I'd like to start on, targeted at windows mobile 6. I've never done win mobile dev and would like to know what resources are out there, good tools to use, perhaps a jump start tutorial, as well as any gotchas I might want to keep in mind when developing for the platform? Windows Mobile 6 devices come with .NET Compact Framework 2.0 in ROM and also expose .NET APIs for a lot of things (camera, system notifications, email, contacts, ...). I'd recommend using Visual Studio 2008 and the refresh version of the Windows Mobile 6 SDK , which includes emulators,

Finding the storage card path on WM6

别来无恙 提交于 2019-11-29 20:07:51
问题 Is there an easy way to find the storage card's path on a Windows Mobile device when there is a storage card and a bluetooth ftp connection? 回答1: Keep in mind that "\Storage Card" is english oriented. A device made for a different region may have a different name. The name of the storage card path on my device varies with how I am using the device. Some time ago in the MSDN forms I responded to a few questions on how to detect the storage cards in the file system and how does one get the