![]() ![]() ^ Flipped postures should only have one active screen. A specific hinge angle will be set by these buttons. Clicking that, a hinge angle slider and four Posture buttons will be shown. This shows the Device Pose tab which has a Fold radio button. Open the the Extended controls window from the emulator toolbar and the select Virtual sensors item. You can also use the Rotation buttons to center the device and set the rotation to 0, 90, 180, or 270 degrees. ![]() Move, rotate, and preview the device posture You can use Settings > Display > Auto-rotate screen or pull down from the status bar and ensure the Auto-rotate option is enabled: If the screen elements don't rotate, check that Auto-rotate is enabled. You can rotate the emulator using these buttons in the emulator toolbox, or use Control+Left arrow and Control+Right arrow keyboard shortcuts: When the background is shaded across both screens (white or black tint, depending on light or dark mode), release the app. To span your app in the emulator, drag the app from the white bar at the bottom of the app screen towards the middle of the device. Make sure your project compiles with API 32 or higher when using the latest emulator release. The original Surface Duo Android 10 emulator runs API 29. The Surface Duo Android 12L emulator runs API 32 and the Android 11 emulator runs API 30. Visual Studio users should refer to the Xamarin instructions for the emulator. To stop debugging: Run > Stop ' project name' or Ctrl+F2.Run your project to deploy it to the emulator: Run > Run ' project name' or Shift+F10.Select Surface_Duo_2_API_32 from the list of running devices (if it does not appear, you should start it directly from the file system).Build your project: Build > Make Project or Ctrl+F9.Launch the emulator via the app icon or the script.There are two app icons in the desktop and also in the Start menu available on Windows, or you can use the run_.bat/.sh script in the install location to launch the emulator. The Surface Duo emulator will not automatically appear in the Android Studio device list nor in AVD Manager, you should start it manually. ![]() See Get the Surface Duo emulator if you don't yet have the tools installed. The emulator simulates postures, gestures, hinge angle, pen pressure, multi-touch, mimicking the seam between the two screens, and more. With the Surface Duo Emulator you can test your Android app on the Surface Duo and Surface Duo 2 form factors without needing a physical device. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |