{"id":22366480,"url":"https://github.com/microsoft/surface-duo-sdk-samples","last_synced_at":"2025-06-27T23:04:13.190Z","repository":{"id":42189725,"uuid":"233883190","full_name":"microsoft/surface-duo-sdk-samples","owner":"microsoft","description":"Samples for Surface Duo SDK","archived":false,"fork":false,"pushed_at":"2022-08-30T23:19:08.000Z","size":14107,"stargazers_count":51,"open_issues_count":3,"forks_count":14,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-06-27T00:35:25.425Z","etag":null,"topics":["android","hacktoberfest","java","surface-duo"],"latest_commit_sha":null,"homepage":"https://learn.microsoft.com/dual-screen/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2020-01-14T16:19:41.000Z","updated_at":"2023-10-17T21:34:51.000Z","dependencies_parsed_at":"2022-08-12T09:00:22.367Z","dependency_job_id":null,"html_url":"https://github.com/microsoft/surface-duo-sdk-samples","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/microsoft/surface-duo-sdk-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fsurface-duo-sdk-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fsurface-duo-sdk-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fsurface-duo-sdk-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fsurface-duo-sdk-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/surface-duo-sdk-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fsurface-duo-sdk-samples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262347471,"owners_count":23296893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","hacktoberfest","java","surface-duo"],"created_at":"2024-12-04T18:12:48.650Z","updated_at":"2025-06-27T23:04:13.174Z","avatar_url":"https://github.com/microsoft.png","language":"Java","readme":"---\npage_type: sample\nname: Surface Duo - Java SDK samples\nlanguages:\n- java\nproducts:\n- surface-duo\ndescription: \"Samples showing how to use the Surface Duo SDK to achieve dual-screen user interface patterns.\"\nurlFragment: all\n---\n# Surface Duo SDK samples in Java\n\nThis repo contains samples for dual-screen Surface Duo SDK. These samples demonstrate [dual-screen controls](https://docs.microsoft.com/dual-screen/android/api-reference/dualscreen-library/) and [user interface patterns](https://docs.microsoft.com/dual-screen/introduction#dual-screen-app-patterns).\n\n![Java samples CI](https://github.com/microsoft/surface-duo-sdk-samples/workflows/Java%20samples%20CI/badge.svg)\n\n___\n\n## ⚠️ This repository is no longer maintained ⚠️\nIf you want to learn from updated foldable samples, please go to our [Surface Duo Kotlin samples](https://github.com/microsoft/surface-duo-sdk-samples-kotlin).\n\n___\n\n## Get Started\n\nTo learn how to load your app on to emulator, and to use it, see the documentation at [docs.microsoft.com/dual-screen](https://docs.microsoft.com/dual-screen).\n\n## Related links\n\n- [SDK open-source code](https://github.com/microsoft/surface-duo-sdk)\n- [SDK samples (Kotlin)](https://github.com/microsoft/surface-duo-sdk-samples-kotlin)\n- [App samples](https://github.com/microsoft/surface-duo-app-samples)\n- [Unity samples](https://github.com/microsoft/surface-duo-sdk-unity-samples)\n- [Xamarin samples](https://github.com/microsoft/surface-duo-sdk-xamarin-samples)\n- [Flutter samples](https://github.com/microsoft/surface-duo-sdk-samples-flutter)\n- [React Native samples](https://github.com/microsoft/react-native-dualscreen)\n- Web samples are coming soon\n\n## Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## License\n\nCopyright (c) Microsoft Corporation.\n\nMIT License\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fsurface-duo-sdk-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Fsurface-duo-sdk-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fsurface-duo-sdk-samples/lists"}