Unofficial Content
  • This documentation is valid for:

Warning: The .NET Mobile generator has been discontinued. Refer to Native Mobile Applications Development.

The .NET Compact Framework is a rich subset of the .NET Framework that provides the same benefits as the .NET Framework. The main difference lies in the fact that the .NET Compact Framework is specifically designed for resource-constrained devices, such as PDAs and Smart Mobile Phones. The .NET Compact Framework greatly simplifies the process of creating and deploying applications to mobile devices with GeneXus , while taking advantage of all the GeneXus potential.

The Microsoft .NET Compact Framework is supported on Pocket PC 2000, Pocket PC 2002, Windows Mobile 2003-based Pocket PCs and embedded systems running Windows CE .NET 4.1 and later.

Development requirements depend on the Target Platform of your model. See the table about Devices and supported versions for compact framework and SQL Server CE for details.

Development requirements for Windows Mobile 5.0 Pocket PC or Smarthphone based device (Compact Framework 2.x and SQLServer Mobile 2005)

Allow Direct Memory Access connections must be allowed.How to do it in ActiveSync 4.1 or latter,how to do it in Windows mobile device center

  • Visual Studio 2005 or higher
    • It has to be one of the following versions:
      • Visual Studio 2005 Professional Edition
      • Visual Studio 2005 Team Suite Edition
    • Two items are required at least to work with windows mobile 5.0 (you only want to check them if you choose Custom Installation)
      • Language Tools -> Visual c# -> Smart Device Programmability
      • .Net Framework SDK -> Tool
  • Localized Emulators Images and Server Components (Optional)
    • Localized Emulator Images for Windows Mobile 5.0-based Pocket PCs (if Target Platform =Windows Mobile 5.0 Pocket pc)
    • Localized Emulator Images for Windows Mobile 5.0-based Smartphones (if Target Platform =Windows Mobile 5.0 Smartphone)
    • Redistributable Server Components for Windows Mobile 5.0 (it contains msmq cabs to install on a pocket pc 2005. You need this if you use Queue data type in Genexus and Target Platform = Windows Mobile 5.0 Pocket pc)
    • Virtual PC Network Driver

Execution requirement

.NET Compact Framework 2.0 Redistributable or .NET Compact Framework 2.0 SP1 Redistributable

WinCE 4.2 + Visual Studio 2005 + Compact Framework 2.0 (Portugues)

Notes:

Development requirements for Windows Mobile 5.0 in order to work with ActiveSync-connected device only and without Visual Studio

Limitations

  • Execution of the application must be made manually in the device by clicking in the .exe. No F5 support for remote execution in the device.
  • List of emulators not available. It is only possible to deploy to the device or emulator connected with the PC via ActiveSync.
  • Cab not available. Instead of it files are each individually copied to the device.
  • On each F5 only newer files are copied to the device or emulator (in order to avoid copying all of the files each time the deployment is run).  This feature is available from GeneXus X Evolution 1

Development requirements for Pocket PC 2003 based device (Compact Framework 1.0 and SQLServer CE 2.0)

it's neccesary to install in the order specified by Microsoft webpage.

i.e.

1 - Activesync 3.7
2 - Visual Studio .NET 2003
3 - SDK (if the "Failed to initialize property bag" occurs, install Windows Script 5.6 for Windows 2000 y XP)
4 - Emulator

If you have problems to connect with the device after installation, see this article, this Microsoft FAQ or this page on Emulators section.

Execution requirements: .NET Compact Framework 1.0 SP3 Redistributable (Re-release).

Note: Pocket PC 2003 platform is not available from GeneXus X Evolution 1

Subcribe to this category's changes
Sub CategoriesAdd a new subcategory in this category
PagesAdd a new page in this category
Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant