This project is read-only.

Project Description

This site contains our latest prototype samples for the Citrix Mobile SDK for Windows Apps. This allows us to give you access to some of our latest internal development work on the SDK. Currently this project contains three .NET based samples:

  1. A mobilised version of a XenApp administration console.
  2. A skinning sample that shows you how to alter the appearance of your app to mimic the native look and feel of the client device your user is using.
  3. A legacy app sample that shows how you can modify an existing WinForms based app to better suit mobile usage. It includes some sample that shows how you can DPI scale the fonts of your controls so they are readable even on high DPI devices.

The XenApp console is an extension of the original version that was released with the first version of CMP.NET V1. The version on this site adds the following functionality on top of the version that was originally released with the .NET version of our SDK:

  • Alternate layouts for phone and tablet devices. If you’re interested in changing the layout of your app based on the form factor of a users’ mobile device, this is a great example of how to do that. On the phone layout a single page by page model is used. For the tablet layout a two column layout is used instead, allowing two pages to be displayed at once. The app will also seamlessly swap between layouts if you roam your Citrix session between phone and tablet devices.
  • Displays XenApp server information – previously it only displayed session state.
  • View the details of a session or server – previously you could only view a session summary.


XAAM tablet screenshot


What is the Citrix Mobile SDK for Windows Apps?

The Citrix Mobile SDK for Windows Apps allows Windows developers to create mobilized Windows apps that are run from mobile devices such as Android/iOS phones and tablets. The applications actually run on Windows based Citrix servers, and they are accessed from mobile devices using Citrix Receiver. Citrix Receiver talks to your Citrix servers using the Citrix HDX protocol. HDX transmits the graphics of the applications running on the server to the mobile device of the user so they can view and interact with the application.


Citrix Architecture


By using the Mobile SDK, Windows apps running on Citrix servers can make use of native mobile device capabilities. E.g. you can trigger phone calls to be made, take a picture using the camera, and request the device on-screen keyboard to be popped up. Using these capabilities allows you to write apps that behave like native mobile apps, when they are actually running on a remote server.

Pros and Cons of using the SDK to create mobile apps that are delivered using Citrix

With the proliferation of mobile devices, users are increasingly placing demands on IT to access their apps and data from these devices. There are various strategies for doing this with their own pros and cons. The advantages of delivering apps on Citrix that have been mobilized using the Mobile SDK are:

  • No native device development skills are needed (Android/iOS), the apps can be created by Windows developers.
  • Multi-platform. You can write one app that runs on Android and iOS.
  • Since you are writing Windows apps it is easier to reuse existing legacy Windows code.
  • Security: the app is running in the data centre, and only the screen updates are sent to the user’s device. So no sensitive data gets stored on the device.

The main disadvantages are:

  • Requires a network connection to access the application.
  • Sensitive to network conditions. Laggy or high latency networks will reduce the performance of the app.
  • Restricted access to device resources. The SDK provides access to the most commonly used native mobile device capabilities. So you may not be able to access new or unique features of certain devices.

Getting started

The official site for the SDK is available here:

From the main Citrix site you can download the SDK, access tutorial videos and get access to the documentation. The samples from this CodePlex site will work without the SDK being installed, however checking out the main site is highly recommended if you’re interested in developing your own applications using the SDK.

Other resources

To run this application in Citrix environment you must have a Citrix XenApp 6.5 server with the Mobility Pack installed. Refer to the following link for instructions on how-to install the Mobility Pack:

The official forums for the Citrix Mobile SDK for Windows Apps are available here:

One of the challenges when developing mobile applications that run on Citrix servers is performing debugging. One option is to install Visual Studio directly onto XenApp. However you can also debug remotely from your workstation. Checkout this thread on how to setup remote debugging:

To provide a first class example of how you can create a Windows app that runs on Citrix and looks and feels like a native mobile application, we have created a mobile email client. This email client, also known as Hosted MobileMail is available as an unsupported technology concept release. It uses your Active Directory and Exchange infrastructure to auto-discover your Exchange environment to provide users with access to their email, contacts and calendar.

You can access the MobileMail here:

Last edited Mar 28, 2014 at 5:07 AM by donovan_rh, version 10