SERVICES

Samsung DeX

Samsung DeX is a new user experience that extends the functionality of your Android device to a desktop environment. Simply connect your Samsung DeX compatible device to an HDMI monitor with the Samsung DeX Station, and it automatically launches.

This guide explains some of the ways to optimize Android apps to work in Samsung DeX.

Overview

Why build a Samsung DeX compatible app?

Reports show that 74% of IT workers use two or more devices for work, 52% used three or more. This increasing fragmentation causes lost productivity. Samsung solves this problem with Samsung DeX and brings the desktop experience to Android.

Samsung DeX compatible apps utilize the powerful features offered in Samsung DeX Mode. This robust, multi-tasking environment encourages users – and provides them with the technical capacity – to adopt Android as a primary ecosystem for any task: word-processing, photo-editing, games and more. Apps that are not modified to be compatible with Samsung DeX can still be launched, but operate in a Fixed-size Window mode with limited functionality.

Productive

Apps in Samsung DeX take advantage of Android N's new Multi-Window features. Multiple instances of an app can be opened simultaneously and re-sized dynamically. This allows users to work, connect and interact seamlessly with different apps.

Immersive

Apps launched in Desktop mode can be expanded into a full screen, immersive window. Showcase the full features of an app without the expense of screen real-estate.

Innovative

Samsung DeX compatible apps add powerful features to the mobile experience. Drag and drop files between windows, copy and paste between multiple apps, ALT+ TAB, and more.

FAQ

  • A

    Ideally, you should be targeting SDK 24 and above. Apps targeting version 23 and below can still run in Desktop Mode, however, some features may not work correctly.

    If you are not targeting SDK 24 and above, users will receive this message when opening the app in Samsung DeX: "Some functions of this app may not be supported in Samsung DeX.”

  • A

    Unless apps declare that multi-touch or touchscreen are required, they will run in Samsung DeX.

    To run your app in Desktop mode – which features a resizable window – you must follow these key requirements:

      1. Support Multi Density for xxxhdpi (640 dpi) and mdpi (160 dpi).
      2. Support Mouse or trackpad interaction.
      3. Support Android N Multi-Window and explicitly declare android:resizableActivity=”true” in the Manifest.

    For more information, see Modifying your app in the DeX developer guide.

  • A

    Your app might have targeting the wrong targetSDKVersion. Android:resizeableActivity is supported when the targetSDK version is greater than or equal to 24 (Android N). IF targetSDKVesion is under 24, activities are only resizable when the screenOrientation is not set as fixed. Check to make sure you do not have this code in your manifest:

    <activity
    android:screenOrientation="portrait | landscape">
    </activity>

  • A

    When an app is launched in Samsung DeX, it adopts 1 of 2 different window types:

    1. Desktop mode: Apps that comply with Android N Multi-Window Standards. They operate in Free-Form Multi-Window Mode and can be re-sized accordingly.
    2. Fixed-size Window Mode: Apps that do not comply with Android N Multi-Window standards. They operate only in a fixed mobile dimension and cannot be re-sized.

  • A

    If an app is having issues working with a mouse and keyboard in Samsung DeX, check to make sure they are not explicitly disabled. Ensure these 2 statements are not declared in the Manifest:

    • <uses-configuration android:reqTouchScreen="finger" >
    • <uses-feature android:name="android.hardware.touchscreen" android:required="true">

1 2 3

Available Devices

Looking for Community?

Meet other developers in the forums. Share information through
the Samsung Developer Site, and participate actively in the forums.

Community?