Composing documents. Cut and paste. Editing photos. Some things just work better using a monitor, a keyboard and a mouse. Samsung DeX steps up, enables you to extend your smartphone to a full desktop experience. For developers, DeX provides the freedom to design with unlimited screen space and opens up new channels to market applications.
Samsung DeX is a powerhouse of productivity and takes advantage of Android N’s multi-window feature to run multiple instances of an app. This makes developing for DeX easy. Simply adjust the application manifest file to enable multi-windows support. Additionally, there are a few Android best practices to consider. To get the most out of DeX, design the app to support multiple screens with a responsive UI to detect and adjust to different screen sizes. Use a percentage approach to setting up UI elements rather than hard-coding pixel dimensions.
No special steps needed for keyboard and mouse support: That’s inherent to Android, which detects peripherals automatically.
We’re almost done. From the manifest, select “Clean Project,” “Rebuild Project” and then deploy the application for testing. Dock the device, and the app appears in the task bar. It’s that easy.
Developing for Samsung DeX is easy and Swale and I are here to show you the way. Check out the video above for more details!