{"id":1669,"date":"2021-06-24T14:36:15","date_gmt":"2021-06-24T21:36:15","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/surface-duo\/?p=1669"},"modified":"2021-06-24T15:59:10","modified_gmt":"2021-06-24T22:59:10","slug":"android-developers-windows","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/surface-duo\/android-developers-windows\/","title":{"rendered":"Developing for Android on Windows"},"content":{"rendered":"<p>\n  Hello Android developers!\n<\/p>\n<p>\n  Today Microsoft <a href=\"https:\/\/blogs.windows.com\/windowsexperience\/2021\/06\/24\/introducing-windows-11\/\">announced the next version of Windows<\/a> and a <a href=\"https:\/\/blogs.windows.com\/windowsexperience\/2021\/06\/24\/building-a-new-open-microsoft-store-on-windows-11\/\">new Windows Store<\/a>, and we\u2019re excited to see how people take advantage of its new features. One thing that hasn\u2019t changed is that Windows is still the best platform to design, build, test, and deploy Android apps.\n<\/p>\n<h2>All tools welcome<\/h2>\n<p>\n  No matter what development environment you use, it runs on Windows. Android Studio, Visual Studio, VS Code, and Unity are all available, so whether you program in Kotlin, Java, C#, JavaScript, TypeScript, or Flutter, you get a great developer experience.\n<\/p>\n<p>\n  You can even develop and test dual-screen websites and PWAs on the desktop using <a href=\"https:\/\/docs.microsoft.com\/dual-screen\/web\/desktop-developer-tools\">Edge developer tools<\/a> and the Microsoft Surface Duo simulator.\n<\/p>\n<p>\n  <img decoding=\"async\" width=\"1389\" height=\"808\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2021\/06\/graphical-user-interface-description-automaticall-3.png\" class=\"wp-image-1670\" alt=\"Graphical user interface\n\nDescription automatically generated with medium confidence\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2021\/06\/graphical-user-interface-description-automaticall-3.png 1389w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2021\/06\/graphical-user-interface-description-automaticall-3-300x175.png 300w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2021\/06\/graphical-user-interface-description-automaticall-3-1024x596.png 1024w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2021\/06\/graphical-user-interface-description-automaticall-3-768x447.png 768w\" sizes=\"(max-width: 1389px) 100vw, 1389px\" \/>\n<\/p>\n<p><em>Figure 1: dual-screen web developer tools in Microsoft Edge<\/em>\n<\/p>\n<p>\n  If you\u2019re curious about building apps for both Windows and Android, you can accomplish this too:\n<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/dual-screen\/xamarin\/\">Xamarin<\/a> (and its successor .NET MAUI) can publish cross-platform apps written in C#.\n  <\/li>\n<li><a href=\"https:\/\/microsoft.github.io\/react-native-windows\/\">React Native<\/a> and <a href=\"https:\/\/flutter.dev\/desktop\">Flutter<\/a> can both be used to build mobile apps that also run on the Windows desktop.\n  <\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/dual-screen\/web\/\">Web developers<\/a> can build and package Progressive Web Apps (PWAs) that can be published on the Microsoft Store and Google Play.\n  <\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/dual-screen\/windows\/\">Uno Platform<\/a> lets you build apps with WinUI and deploy to Android as well.\n  <\/li>\n<\/ul>\n<p>\n  Don&#8217;t forget about <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/\">WSL (Windows Subsystem for Linux)<\/a> for when you need to do some back-end work or other Linux tasks.\n<\/p>\n<h2>Emulator support<\/h2>\n<p>\n  Windows provides great support for touch screens, using your finger or a pen. This provides a realistic mobile app testing experience not possible on other platforms; you can interact with the Android emulator directly on the screen.\n<\/p>\n<p>\n  Microsoft Surface devices support 10 touch points so you can use multi-finger gestures like pinch, zoom, and pan to get a realistic Android experience on the Surface Duo emulator. The <a href=\"https:\/\/docs.microsoft.com\/dual-screen\/android\/emulator\/\">Surface Duo Android emulator<\/a> runs great on Windows and takes full advantage of touchscreen interactions, as well as a 3D posture preview.\n<\/p>\n<p>\n  <img decoding=\"async\" width=\"650\" height=\"620\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2021\/06\/surface-duo-emulator-3d-posture-view.png\" class=\"wp-image-1671\" alt=\"Surface Duo emulator 3D posture view\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2021\/06\/surface-duo-emulator-3d-posture-view.png 650w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2021\/06\/surface-duo-emulator-3d-posture-view-300x286.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/>\n<\/p>\n<p><em>Figure 2: Surface Duo emulator 3D posture preview<\/em>\n<\/p>\n<p>\n  The Android emulator can run accelerated too. Follow <a href=\"https:\/\/docs.microsoft.com\/xamarin\/android\/get-started\/installation\/android-emulator\/hardware-acceleration\">these instructions<\/a> to configure the best acceleration method for your setup.\n<\/p>\n<h2>Demos and testing<\/h2>\n<p>\n  Your Phone integration brings your Android phone to your desktop. While this is great for checking your messages and checking photos, it\u2019s also a great way to test on your device without your hands having to leave your mouse and keyboard.\n<\/p>\n<p>\n  You can also use Your Phone to demonstrate features over video-calls via screen sharing (or share directly from within Microsoft Teams on Android).\n<\/p>\n<h2>Feedback and resources<\/h2>\n<p>\n  Check out the <a href=\"https:\/\/docs.microsoft.com\/dual-screen\/\">Surface Duo developer documentation<\/a> and <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/\">past blog posts<\/a> for links and details on all our samples. You can find a variety of <a href=\"https:\/\/github.com\/microsoft\/surface-duo-sdk-samples\">samples<\/a> on GitHub.\n<\/p>\n<p>\n  If you have any questions, or would like to tell us about your apps, use the <a href=\"http:\/\/aka.ms\/SurfaceDuoSDK-Feedback\">feedback forum<\/a> or message us on Twitter <a href=\"https:\/\/twitter.com\/surfaceduodev\">@surfaceduodev<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello Android developers! Today Microsoft announced the next version of Windows and a new Windows Store, and we\u2019re excited to see how people take advantage of its new features. One thing that hasn\u2019t changed is that Windows is still the best platform to design, build, test, and deploy Android apps. All tools welcome No matter [&hellip;]<\/p>\n","protected":false},"author":17398,"featured_media":1676,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[365,46],"class_list":["post-1669","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-surface-duo-sdk","tag-android-developer","tag-surface-duo"],"acf":[],"blog_post_summary":"<p>Hello Android developers! Today Microsoft announced the next version of Windows and a new Windows Store, and we\u2019re excited to see how people take advantage of its new features. One thing that hasn\u2019t changed is that Windows is still the best platform to design, build, test, and deploy Android apps. All tools welcome No matter [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/posts\/1669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/users\/17398"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/comments?post=1669"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/posts\/1669\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/media\/1676"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/media?parent=1669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/categories?post=1669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/tags?post=1669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}