Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Samsung DeX and Motorola Ready For #1753

Open
5 tasks done
soutiagojose opened this issue Mar 4, 2024 · 1 comment
Open
5 tasks done

Support Samsung DeX and Motorola Ready For #1753

soutiagojose opened this issue Mar 4, 2024 · 1 comment
Labels
feature Feature Request

Comments

@soutiagojose
Copy link

Issue Checklist

  • I confirm that this feature request has not been previously suggested.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that feature requests are subject to evaluation and may not be implemented immediately.
  • I agree to provide additional details if needed for a clearer understanding of the requested feature.

Feature description

Samsung DeX and Motorola Ready For seamlessly transform your Galaxy smartphone or Motorola device into a desktop-like experience. Connecting your smartphone to a monitor, keyboard, and mouse unleashes a versatile desktop interface, offering enhanced productivity. Both platforms provide keyboard shortcuts for a more efficient workflow, allowing users to navigate their mobile devices with the familiarity of desktop controls.

Moreover, these solutions bridge the gap between mobile and traditional computing by optimizing Android apps for a desktop-style interface. Some applications mimic the appearance and functionality of their PC counterparts, providing a cohesive experience. The integration of keyboard shortcuts and desktop-like interfaces enhances the user experience, making these solutions valuable for those who seek a unified computing environment across their mobile and desktop devices.

Use Case

Here are notable DeX and Ready For use cases:

  • Whatsapp supports dragging and dropping images. Native Android feature speeds up the process of sending files and images, providing users with a more efficient and desktop-like interaction within the messaging app. On a monitor screen, this tool is more fluid.

  • LumaFusion is a professional video editing application for iPhones and iPads that, due to an agreement with Samsung, was initially optimized for the brand's devices, but is fully functional Motorola Ready For, mobile screens and ChromeOS. Its interface transforms into a desktop environment, providing users with a powerful and familiar space to easily create and edit videos with the possibility of keyboard shortcuts.

  • Krita is a design application coming from Linux and was adapted for large screens and providing a desktop experience with several functions present in the PC version.

  • Adobe Lightroom has a responsiveness that makes the app adapt to different resolutions and is much better when used on these Samsung and Motorola interfaces.

-Microsoft 365 is highly adaptive and functional on Samsung DeX and Motorola Ready For. A mobile version, but when opened using a monitor, the app, in the case of Samsung devices, detects DeX through an API and releases extra functions, whereas on Motorola Ready For, it features a responsive adaptation.

  • Termux, was adapted to become responsive to platforms

  • Miro, a collaborative whiteboard platform, has the same responsiveness as its web version in the interfaces and as it is an independent app, it removes some of the limitations that exist in the mobile browser.

They all used Android's responsiveness standards for tablets because there isn't anything similar for them in Android Studio yet. Samsung DeX and Motorola Ready For are interpreted by the system as adaptive screen teblets.

Benefits

Samsung DeX and Motorola Read For turn the manufacturers' Android devices into practically a pocket computer, so much so that there is an open-source game creation program called Godot that is being adapted for them.

The main benefits for AndroidIDE will be the larger screen, bringing more possibilities for sections, visualization columns and in the case of Samsung, which even has an API, it can bring adaptive actions for when using the monitor. AndroidIDE can bring a responsive interface that on large screens can appear like Android Studio or VSCode, which has a full unofficial version for Android. Acode is an example.

Another benefit is that since Samsung DeX and Motorola Ready work without restricting the use of the device, you can use the monitor for development and the device for preview. The Samsung DeX documentation, for example, allows you to open the same app in multiple windows, like what happens on a PC and Samsung Dex allows the possibility of using one window on the cell phone and another on the monitor.

@soutiagojose soutiagojose added the feature Feature Request label Mar 4, 2024
@Mehulvaja
Copy link

AndroidIDE Crash Report
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 34
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : OPPO
Device : CPH2527

Stacktrace:
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:1508)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:426)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:150)
at android.widget.PopupWindow.invokePopup(PopupWindow.java:1594)
at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1356)
at android.widget.PopupWindow.showAtLocation(PopupWindow.java:1322)
at io.github.rosemoe.sora.widget.base.EditorPopupWindow.applyWindowAttributes(Unknown Source:152)
at com.itsaky.androidide.editor.ui.AbstractPopupWindow.show(Unknown Source:25)
at com.itsaky.androidide.editor.ui.EditorActionsMenu.show(Unknown Source:224)
at com.itsaky.androidide.editor.ui.EditorActionsMenu.displayWindow(Unknown Source:168)
at com.itsaky.androidide.editor.ui.EditorActionsMenu$$ExternalSyntheticLambda1.run(Unknown Source:21)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:368)
at android.app.ActivityThread.main(ActivityThread.java:8825)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants