dimanche 31 mai 2020

Taskbar 6.0 enables a Samsung DeX-like desktop mode experience on some Android 10+ devices

Android 10 has been out for nearly 9 months now, but one of its best features, desktop mode, is still widely unknown. That’s because it’s technically hidden in Android 10, requiring a development flag to be enabled as well as support built-in to the stock launcher app. Thankfully, the developer of Taskbar has figured out a way to make Android 10’s desktop mode far more useful, bringing a Samsung DeX-like experience to some devices.

For some background, Android 10 added a “Secondary Launcher” activity to Launcher3, the AOSP launcher app that Google’s Pixel Launcher and many other OEM launcher apps are derived from. When an Android device with support for display output is hooked up to an external display, this Secondary Launcher activity is shown on the external display. However, because this Secondary Launcher is extremely barebones, it’s not useful to use as a productivity tool. Third-party app developers figured out that it’s possible for their own launcher apps to replace the stock launcher on the external display, and that’s exactly what XDA Senior Member farmerbb has implemented in Taskbar 6.0.

Taskbar is an open-source Android app that puts a floating start menu and recent apps tray on top of any screen. Since it supports launching Android apps in freeform multi-window, it even comes pre-installed on Bliss OS, a popular Android port for x86 PCs. Back in early November, farmerbb released a fork of the open-source Lawnchair launcher with Taskbar integrated into it. This gave us an early look at what Android 10’s hidden desktop mode could look like with some development effort, but there were some glaring issues that needed fixing. The desktop mode user experience needed fixing so that freeform multi-window behavior worked as you would expect, the setup process needed to be cleaned up so you could control the DPI/UI without needing another app, and a better solution had to be found so that you wouldn’t have to change your default launcher. Now, farmerbb has updated Taskbar to version 6.0 to address all of these issues.

Taskbar 6.0 Samsung DeX-like desktop mode on Android 10

Desktop Mode with Taskbar 6.0

Setting up Taskbar’s desktop mode is quite easy:

  1. In Developer Options, turn on “enable freeform windows” and “force desktop mode” and then reboot your device. (The latter may be unavailable on some OEM software like ZenUI/ROG UI, but don’t worry if it’s not there.)
  2. Install Taskbar 6.0 (older versions won’t work) from Google Play.
  3. Open Taskbar’s settings and go to “Desktop Mode.” Enable it and grant the app permission to “display over other apps” as this is required for the app’s floating start menu to appear. Then, set the app as your default home app. Don’t worry, though, as the next prompt will ask you to set your preferred/primary launcher app, so Taskbar won’t be hijacking your home screen. (Note that on some devices, changing the default launcher will disable Android 10’s full-screen navigation gestures.)
  4. Next, I highly recommend you follow the instructions to “enable additional settings” for desktop mode. This will allow you to lower the DPI so UI elements aren’t enormous on the external display, to hide the navigation bar, and to even dim the phone’s screen to save battery life while it’s connected to the external display. You’ll have to set up ADB access on your PC and run the following command:
    adb shell pm grant com.farmerbb.taskbar android.permission.WRITE_SECURE_SETTINGS

    (If you are using Taskbar’s “Donate” version, replace “com.farmerbb.taskbar” with “com.farmerbb.taskbar.paid” in the above command.)

  5. Finally, check to make sure that “usage access” has been enabled for Taskbar. Doing so will allow the app to show a row of your recently used applications in the start menu.
  6. Now, simply connect your phone to your external display using a USB Type-C to Type-C cable (if your external display supports Type-C input) or via a USB Type-C to HDMI adapter.

Once connected, you can use the start menu to launch apps, search for apps, add app icons to the home screen, open some system menus, and more. You can tap the icon next to the start menu to add/show widgets. You can launch multiple instances of windows, and in some cases like Google Chrome, have multiple tabs.

Taskbar 6.0 Samsung DeX-like desktop mode on Android 10 Taskbar 6.0 Samsung DeX-like desktop mode on Android 10 Taskbar 6.0 Samsung DeX-like desktop mode on Android 10

There are loads of other options and changes in Taskbar 6.0, so I recommend you read the full changelog available here.

Display Output on Android – Sadly Still Limited

Who might this be useful for? Samsung, Huawei/Honor, and LG offer their own desktop mode experiences, so there’s you won’t find much use out of Taskbar’s desktop mode if you own a smartphone from one of those brands. ASUS, OnePlus, Essential, Google, and Xiaomi don’t offer their own desktop mode experiences, so if you’re on at least Android 10 on a device from one of these brands, then you may find Taskbar’s desktop mode feature to be useful. If you want a desktop mode experience to be more productive, then I recommend you use a Bluetooth keyboard and mouse. If you have a portable external monitor/laptop chassis like the NexDock 2, then you’ll have an even better experience with Taskbar.


Keep in mind that in order to actually make use of this feature, your smartphone must support display output. Qualcomm’s latest Snapdragon 800 and 700 series chipsets natively support DisplayPort Alternate Mode over a USB 3.1 Type-C port, but some vendors (like Google) have disabled this functionality on their smartphones. If your device doesn’t support DisplayPort Alternate Mode, then you may have luck using a DisplayLink-certified adapter and the DisplayLink Presenter app to mirror the phone’s display. Screen mirroring using a DisplayLink adapter isn’t as ideal as native desktop mode through a standard connector, but it’s better than not having any display output at all! Fortunately, Taskbar can still be used if you’re just mirroring your phone’s display so long as the app is set as the default launcher, but you’ll have to use the developer’s SecondScreen app to change the resolution and density.

The biggest downside to desktop mode on Android right now is the limited app support. Even though Samsung and Huawei have both offered desktop mode experiences for years and sell millions of smartphones a year, there’s not a lot of demand from users to support desktop mode. That means that a lot of Android apps out there aren’t optimized for larger screens. Google wants to change that because broader Android app support for larger screens will benefit Chromebooks as well, but sadly, there’s still a long way to go before most Android apps support larger screens. Thus, while using Taskbar, you may notice that some apps refuse to run or just look terrible, and there’s not much you can do to fix that.

Download Taskbar 6.0

If you have one of the following smartphones, I recommend giving this app a try:

You can download Taskbar 6.0 from the Google Play Store link below or compile the app from its source code on GitHub. The app is totally free to use, but there’s a $1.99 donate version in case you want to support farmerbb’s development efforts.

Taskbar Forum Thread on XDA ||| Taskbar Source Code on GitHub

Taskbar - PC-style productivity for Android (Free, Google Play) →

Taskbar (Donate Version) ($1.99, Google Play) →

The post Taskbar 6.0 enables a Samsung DeX-like desktop mode experience on some Android 10+ devices appeared first on xda-developers.



from xda-developers https://ift.tt/3ezIKML
via IFTTT

Aucun commentaire:

Enregistrer un commentaire