Platform

Hello,

I'm new to Smart Client Development. actually I want to create and application which may be able to run on Windows Mobile 2003 SE Pocket PC, Windows Mobile 5 Pocket PC, Windows Mobile 2003 SE Smartphone and Windows Mobile 5 Smartphone.

I'm using .Net Compact Framework 2 with Visual Studio 2005 and Also have Windows Mobile 5 SDK for Pocket PC and Smartphone installed.

I want to know, do I need to develop 2 Applications One for Pocket PC and One for Smart phones So it'll be able to run on all 4 versions If so What Platform i should target 2003 SE or 2005

I saw an option in Visual Studio while developing for Devices "Change Target Platform" I was developing for PPC and when I Changed he Platform to Smart phone It gave me exception on Buttons Initialization. Damn Buttons are not Supported on SMartphones. So what we normally use in replacement of buttons on Smartphone.

Please help me.

Best Regards,

Rizwan




Answer this question

Platform

  • glooey

    you cannot develop .NET 2.0 apps for Smartphones running Windows Mobile 2003/SE. you can run .NET 2.0 apps on PPC running either Windows Mobile 5 or Windows Mobile 2003/SE (some exceptions). You can run .NET 2.0 apps on Windows Mobile 5 also for the smartphone but of course they must have the appropriate version of the .NET CF installed

    you can run the smartphone developed applications on PPC but not hthe other way around I believe. This would be one reason for your error when changing platforms, as some features are only specific for PPC



  • tkrasinger

    Hello Ahmed Ilyas,

    Thanks alot for your message, So 1 thing is clear that I cannot develop for a Smartphone 2003SE in .Net 2.0, For supporting both Platforms, I need to develop 1 version in .Net 1.1 for 2003SE and 1 in .Net 2.0 for Windows Mobile 5.

    The other thing you told me that .Net 2.0 Supports both Windows Mobile 2003SE and Window Mobile 5 PPC versions. So If I chose Project Template Windows Mobile 5 PPC, will it run on Windows Mobile 2003 SE too

    In last, for supporting 4 Platforms I need to develop 3 Exes

    Please clear my confusion about the Project Template for Pocket PC.

    Best Regards,

    Rizwan



  • SupaDevil

     RizwanSharp wrote:

    The other thing you told me that .Net 2.0 Supports both Windows Mobile 2003SE and Window Mobile 5 PPC versions. So If I chose Project Template Windows Mobile 5 PPC, will it run on Windows Mobile 2003 SE too

    it should do (Windows Mobile 2003 on a PPC), you can test this on the emulator to save you the trouble on obtaining a physical mobile device if you do not have one already. As long as the .NET CF 2.0 is there, you generally should be ok

     

    In last, for supporting 4 Platforms I need to develop 3 Exes

    4 platforms

    Smartphone 2003 - 1 exe for this

    PPC 2003/2005 - 1 exe for this

    smartphone 2005 - 1 exe for this



  • WalangAlam

    Thanks Alot Ilyas once again,

    Got it, I have a Pocket PC and have Both ROMS for it ;)

    Hope to see you again InshAllah,

    rizwansharp@hotmail.com

    Best Regards,



  • Platform