{"id":2965,"date":"2022-12-22T12:00:58","date_gmt":"2022-12-22T20:00:58","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/surface-duo\/?p=2965"},"modified":"2024-01-18T09:16:28","modified_gmt":"2024-01-18T17:16:28","slug":"happy-holidays-2022","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/surface-duo\/happy-holidays-2022\/","title":{"rendered":"Happy Holidays 2022"},"content":{"rendered":"<p>\n  Hello Android developers,\n<\/p>\n<p>\n  Inspired by the growth of AI and its role in products like GitHub\u2019s <a href=\"https:\/\/www.bing.com\/ck\/a?!&amp;&amp;p=057e712223e28ab2JmltdHM9MTY3MDk3NjAwMCZpZ3VpZD0zYTQyODkzNi1lY2NmLTZkNTItMjFkZS05OTlkZThjZjZmN2YmaW5zaWQ9NTE4MA&amp;ptn=3&amp;hsh=3&amp;fclid=3a428936-eccf-6d52-21de-999de8cf6f7f&amp;psq=github+copilot\">Copilot<\/a> this year, we asked <a href=\"https:\/\/chat.openai.com\/chat\">ChatGPT<\/a> to \u201cpropose some applications for Surface Duo owners to use over the holidays\u201d\u2026\n<\/p>\n<blockquote>\n<p>\n  One possible application for Surface Duo owners to use over the holidays could be to use the dual screens to create a digital holiday card. You could use one screen to design the card, using a combination of text, images, and graphics, and the other screen to preview and fine-tune your design.\n<\/p>\n<p>\n  Another application could be to use the Surface Duo as a mobile cooking companion in the kitchen. You could use one screen to display a recipe and the other to keep track of timings and instructions, freeing up your hands to focus on cooking.\n<\/p>\n<p>\n  Additionally, the Surface Duo could be useful for managing your holiday travel plans. You could use one screen to view your itinerary and the other to access maps and navigation tools, making it easy to stay on track and avoid getting lost.\n<\/p>\n<p>\n  Finally, you could use the Surface Duo to stay connected with loved ones who are far away, using the dual screens to make video calls and share special holiday moments in real-time. Overall, the Surface Duo offers a wide range of possibilities for making the most of the holiday season.\n<\/p>\n<\/blockquote>\n<p>\n  The AI did a pretty good job with that, so we moved on to something a little more challenging: &#8220;write a poem about the things I like about the Surface Duo; use this list 1. two screens 2. drag and drop 3. multitasking 4. video calls&#8221;\n<\/p>\n<blockquote>\n<p>\n  The Surface Duo is a marvel to behold \n  <br \/>\n  With its two screens, it never gets old\n<\/p>\n<p>\n  The ability to drag and drop, it&#8217;s so neat \n  <br \/>\n  Makes multitasking a breeze and so sweet\n<\/p>\n<p>\n  Video calls are crystal clear and bright \n  <br \/>\n  Bringing loved ones close, day or night\n<\/p>\n<p>\n  In my hand, it feels just right \n  <br \/>\n  The Surface Duo, a true delight!\n<\/p>\n<\/blockquote>\n<p>\n  We then asked <a href=\"https:\/\/labs.openai.com\/\">DALL\u00b7E<\/a> for \u201ca computer programmer building an android mobile phone app over the holidays\u201d\n<\/p>\n<p>\n  <img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-2.jpeg\" class=\"wp-image-2967\" width=\"250\" height=\"250\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-2.jpeg 566w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-2-300x300.jpeg 300w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-2-150x150.jpeg 150w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-2-24x24.jpeg 24w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-2-48x48.jpeg 48w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-2-96x96.jpeg 96w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/> <img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-3.jpeg\" class=\"wp-image-2968\" width=\"250\" height=\"250\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-3.jpeg 565w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-3-300x300.jpeg 300w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-3-150x150.jpeg 150w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-3-24x24.jpeg 24w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-3-48x48.jpeg 48w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/word-image-2965-3-96x96.jpeg 96w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/>\n<\/p>\n<p><a href=\"https:\/\/labs.openai.com\/\">OpenAI.com<\/a> is an interesting technology to take a look at over the holidays!\n<\/p>\n<hr\/>\n<p>\n  If you prefer your blog posts to be written by humans, our present to you \ud83c\udf81 is re-gifting our most popular posts! Check out these highlights from 2022:\n<\/p>\n<h2>Kotlin<\/h2>\n<p>\n  Probably the biggest news of the year for foldable app developers was the official release of Jetpack Window Manager in January! We covered all the features in <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/jetpack-window-manager-release-candidate\/\">this post<\/a> and ensured our SDKs and samples were updated soon after.\n<\/p>\n<p>\n  This included the <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/foldable-navigation-component-update\/\">Navigation component<\/a> and <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/foldable-navigation-rail\/\">Navigation Rail<\/a>, as well as the rest of our <a href=\"https:\/\/learn.microsoft.com\/dual-screen\/android\/api-reference\/dualscreen-library\/\">dual-screen components<\/a>. With Jetpack Window Manager (and the various components that use it) you can create responsive designs that scale from phones to foldables and large-screen form factors.\n<\/p>\n<p>\n  <img decoding=\"async\" width=\"647\" height=\"483\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/adapting-to-android-multi-window-and-foldable-devi.png\" class=\"wp-image-2969\" alt=\"Adapting to Android multi-window and foldable devices\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/adapting-to-android-multi-window-and-foldable-devi.png 647w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/adapting-to-android-multi-window-and-foldable-devi-300x224.png 300w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/>\n<\/p>\n<h2>Compose<\/h2>\n<p>\n  2022 was a big year for Jetpack Compose. The Surface Duo team released <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/jetpack-compose-foldable-twopanelayout\/\">TwoPaneLayout<\/a> (and some <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/jetpack-compose-twopanelayout-updates\/\">updates<\/a>), and Google also released their <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/jetpack-compose-accompanist-twopane\/\">Accompanist library<\/a>. Both offer great additional support for Compose developers building foldable and large-screen apps.\n<\/p>\n<p>\n  We also covered <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/jetpack-compose-accessibility\/\">Accessibility<\/a>, <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/droidcon-san-francisco-2022\/\">drag and drop<\/a>, and created Compose-specific <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/jetpack-compose-video-calculator-samples\/\">samples<\/a> for our dual-screen design patterns. For those with existing apps, we also started <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/jetpack-compose-existing-app\/\">migrating parts of one of our larger samples to Compose<\/a> to share that experience.\n<\/p>\n<p>\n  <img decoding=\"async\" width=\"802\" height=\"636\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/calculator-on-two-screens.png\" class=\"wp-image-2970\" alt=\"Calculator on two screens\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/calculator-on-two-screens.png 802w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/calculator-on-two-screens-300x238.png 300w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/calculator-on-two-screens-768x609.png 768w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/>\n<\/p>\n<h2>Flutter<\/h2>\n<p>\n  Flutter 3 was announced this year, which bought <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/responsive-layouts-in-flutter-with-twopane\/\">foldable support into the framework<\/a>. This enables the <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/responsive-layouts-in-flutter-with-twopane\/\">TwoPane widget<\/a> layout control that adapts to different screen sizes as well as foldables.\n<\/p>\n<p>\n  For developers wanting to experiment with foldable Flutter experiences, we shared <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/flutter-foldable-game-controller\/\">Space Rocks game<\/a> and <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/flutter-posture-experiments\/\">Twoplayer tip detection<\/a> for you try.\n<\/p>\n<p>\n  <img decoding=\"async\" width=\"766\" height=\"431\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/surface-duo-running-space-rocks-game.jpeg\" class=\"wp-image-2971\" alt=\"Surface Duo running space rocks game\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/surface-duo-running-space-rocks-game.jpeg 766w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/surface-duo-running-space-rocks-game-300x169.jpeg 300w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/>\n<\/p>\n<h2>.NET<\/h2>\n<p>\n  Big news this year in .NET was the release of <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/surface-at-microsoft-build-2022\/\">.NET MAUI at Microsoft Build<\/a>. This provided a new, more powerful upgrade for Xamarin cross-platform mobile developers. With the release of .NET 7 in November, .NET MAUI was updated to include a <a href=\"https:\/\/devblogs.microsoft.com\/surface-duo\/net-maui-android-foldable\/\">TwoPaneView control<\/a> (based on Jetpack Window Manager) that provides a responsive foundation for Surface Duo user experiences (as well as other foldable and large screen devices).\n<\/p>\n<p>\n  <img decoding=\"async\" width=\"762\" height=\"602\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/surface-duo-running-the-net-maui-playground-sampl.png\" class=\"wp-image-2972\" alt=\"Surface Duo running the .NET MAUI playground sample\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/surface-duo-running-the-net-maui-playground-sampl.png 762w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/surface-duo-running-the-net-maui-playground-sampl-300x237.png 300w\" sizes=\"(max-width: 762px) 100vw, 762px\" \/>\n<\/p>\n<h2>Livestreaming archive<\/h2>\n<p>\n  Finally, there are over 100 livestream videos available on the <a href=\"https:\/\/www.youtube.com\/c\/SurfaceDuoDev\">SurfaceDuoDev YouTube channel<\/a>, including a session for each of the blog posts linked above. The livestream is a good way to get a little more detail on the content we publish \u2013 and the archive is a great way to \u201cget started\u201d with many of these topics. \n<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/c\/SurfaceDuoDev\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/youtube-archive.png\" alt=\"Screenshot of SurfaceDuoDev YouTube archive\" width=\"768\" height=\"445\" class=\"alignnone size-full wp-image-2980\" srcset=\"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/youtube-archive.png 768w, https:\/\/devblogs.microsoft.com\/surface-duo\/wp-content\/uploads\/sites\/53\/2022\/12\/youtube-archive-300x174.png 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/p>\n<h2>Feedback<\/h2>\n<p>\n  Which content did you prefer this week \u2013 AI or human? Reach out and let us know via the\u202f<a href=\"http:\/\/aka.ms\/SurfaceDuoSDK-Feedback\" target=\"_blank\" rel=\"noopener\">feedback forum<\/a>\u202for on Twitter\u202f<a href=\"https:\/\/twitter.com\/surfaceduodev\" target=\"_blank\" rel=\"noopener\">@surfaceduodev<\/a>.\u202f\u00a0\n<\/p>\n<p>\n  Our Twitch livestream is taking a break over the holidays, but you can view the <a href=\"https:\/\/www.youtube.com\/watch?v=jWFIDm0RvDk&amp;list=PL39Ta7GR_KGHPfilayS6AC1Vd5m1Ok9Y1\">full archive on YouTube<\/a>. We look forward to seeing you online again soon!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello Android developers, Inspired by the growth of AI and its role in products like GitHub\u2019s Copilot this year, we asked ChatGPT to \u201cpropose some applications for Surface Duo owners to use over the holidays\u201d\u2026 One possible application for Surface Duo owners to use over the holidays could be to use the dual screens to [&hellip;]<\/p>\n","protected":false},"author":570,"featured_media":2973,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[693,692,473,46],"class_list":["post-2965","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-surface-duo-sdk","tag-flutter","tag-jetpack-compose","tag-kotlin","tag-surface-duo"],"acf":[],"blog_post_summary":"<p>Hello Android developers, Inspired by the growth of AI and its role in products like GitHub\u2019s Copilot this year, we asked ChatGPT to \u201cpropose some applications for Surface Duo owners to use over the holidays\u201d\u2026 One possible application for Surface Duo owners to use over the holidays could be to use the dual screens to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/posts\/2965","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\/570"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/comments?post=2965"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/posts\/2965\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/media\/2973"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/media?parent=2965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/categories?post=2965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/surface-duo\/wp-json\/wp\/v2\/tags?post=2965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}