In this tutorial, I will explain how to create a very simple mobile application using c# .net 3.5 (Visual Studio 2008).
So,..Where we must start from?
- Develop and Testing. Create mobile application following this tutorial http://www.codersource.net/asp-net/asp-net-articles/creating-a-simple-mobile-application.aspx or http://www.packtpub.com/article/pocket-pc-application-visual-studio-2005
- Deploy cab file to emulator or device (connect with ActiveSync)
- Create the cab. file for installation on emulator/device. http://msdn.microsoft.com/en-us/library/zcebx8f8.aspx
- Download ActiveSync version 4.0 or later(http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9e641c34-6f7f-404d-a04b-dc09f8141141&displayLang=en [this for ActiveSync version 4.5)
- Connect emulator using ActiveSync. http://bloggingabout.net/blogs/dennis/archive/2007/08/13/connect-to-internet-from-device-emulator-in-your-vpc.aspx
- Save and Install the cab file on emulator. And taraaaa,…
- You Will see this error message : This application (yourApplicationName) requires a newer version of the Microsoft .Net compact Framework than the version installer on the device.
- Don’t be panic, this error cause of .Net Framework on Window Mobile is .Net Framework 2.0. But The Source Code which develop by Visual Studio 2008 is .Net Framework version 3.5(by default). To solving this error :
- Install Framework 3.5(http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e3821449-3c6b-42f1-9fd9-0041345b3385&displaylang=en) on your computer. If you using Visual Studio 2008, this is automatic install.
- Find NETCFv35.wm.armv4i.cab on C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE
- Connect to emulator using Active Sync and install NETCFv35.wm.armv4i.cab to your emulator or device.
- Running again your simple Application.
And Tadaaaaa Success… Happy Coding all =)
Filed under: IT | Tagged: .Net, ActiveSync, C#, emulator, Mobile Application, Visual Studio 2008 | Leave a Comment »





