Skip to content

Commit ead9143

Browse files
authored
Update devenv pg, replace android xamarin with maui (#3803)
* Update devenv pg, replace android xamarin with maui * Remove cordova add pwa
1 parent 2a5bb07 commit ead9143

File tree

4 files changed

+19
-235
lines changed

4 files changed

+19
-235
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7639,6 +7639,11 @@
76397639
"source_path": "uwp/data-access/mongo-db-databases.md",
76407640
"redirect_url": "/windows/apps/develop/data-access/mongodb-database",
76417641
"redirect_document_id": false
7642+
},
7643+
{
7644+
"source_path": "hub/android/xamarin-android.md",
7645+
"redirect_url": "/dotnet/maui/migration/",
7646+
"redirect_document_id": false
76427647
}
76437648
]
76447649
}

hub/android/overview.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: mattwojo
55
ms.author: mattwoj
66
manager: jken
77
ms.topic: article
8-
ms.date: 10/19/2021
8+
ms.date: 09/28/2023
99
---
1010

1111
# Overview of Android development on Windows
@@ -20,11 +20,12 @@ There are multiple paths for developing an Android device app using the Windows
2020

2121
- [Native Android](native-android.md)
2222
- [.NET MAUI](/dotnet/maui/what-is-maui)
23-
- [Xamarin.Android](xamarin-android.md)
2423
- [React Native](../dev-environment/javascript/react-native-for-android.md)
2524
- [PWA with Cordova or Ionic](pwa.md)
2625
- [C/C++ for game development](native-android.md#use-c-or-c-for-android-game-development)
2726

27+
*If you have been using Xamarin for cross-platform apps, see [Migrate from Xamarin to .NET MAUI](/dotnet/maui/migration/).
28+
2829
In addition, this guide will provide tips on using Windows to:
2930

3031
- [Test on an Android device or emulator](emulator.md)
@@ -45,21 +46,21 @@ A codebase is typically made up of **UI code**, for creating the user interface
4546

4647
### Choosing a cross-platform framework
4748

48-
[Xamarin Native (Xamarin.Android)](xamarin-android.md)
49+
[.NET MAUI](/dotnet/maui/)
4950

50-
- UI code: XML with Android Designer, and Material Theme
51-
- Logic code: C# or F#
52-
- Still able to tap into some native Android elements, but good for reuse of the code base for other platforms (iOS, Windows).
53-
- Only logic code is shared across platforms, not UI code.
54-
- Great for more complex apps with a device-specific user interface.
51+
- A cross-platform framework for creating native mobile and desktop apps with C# and XAML.
52+
- Develop apps that can run on Android, iOS, macOS, and Windows from a single shared code-base, with deep access to every aspect of each native platform from a single unified API that enables a write-once, run-anywhere dev experience.
53+
- Share UI layout and design across platforms.
54+
- An open-source evolution of Xamarin.Forms, extended from mobile to desktop scenarios, with UI controls rebuilt for performance and extensibility.
55+
- [Migrate Xamarin.Android projects to .NET MAUI](/dotnet/maui/migration/android-projects)
5556

5657
[React Native](../dev-environment/javascript/react-native-for-android.md)
5758

5859
- UI code: JavaScript
5960
- Logic code: JavaScript
6061
- The goal of React Native isn't to write the code once and run it on any platform, rather to learn-once (the React way) and write-anywhere.
6162
- The community has added tools such as Expo and Create React Native App to help those wanting to build apps without using Xcode or Android Studio.
62-
- Similar to Xamarin (C#), React Native (JavaScript) calls native UI elements (without the need for writing Java/Kotlin or Swift).
63+
- Similar to .NET MAUI (C#), React Native (JavaScript) calls native UI elements (without the need for writing Java/Kotlin or Swift).
6364

6465
[Progressive Web Apps (PWAs)](pwa.md)
6566

@@ -74,15 +75,14 @@ A codebase is typically made up of **UI code**, for creating the user interface
7475

7576
Game development for Android is often unique from developing a standard Android app since games typically use custom rendering logic, often written in OpenGL or Vulkan. For this reason, and because of the many C libraries available that support game development, it's common for developers to use [C/C++ with Visual Studio](/cpp/cross-platform/), along with the Android [Native Development Kit (NDK)](/cpp/cross-platform/create-an-android-native-activity-app), to create games for Android. [Get started with C/C++ for game development](native-android.md#use-c-or-c-for-android-game-development).
7677

77-
Another common path for developing games for Android is to use a game engine. There are many free and open-source engines available, such as [Unity with Visual Studio](/visualstudio/cross-platform/visual-studio-tools-for-unity), [Unreal Engine](https://docs.unrealengine.com/en-US/Platforms/Mobile/Android/GettingStarted/index.html), [MonoGame with Xamarin](/xamarin/graphics-games/monogame/introduction/), [UrhoSharp with Xamarin](/xamarin/graphics-games/urhosharp/introduction), [SkiaSharp with Xamarin.Forms](/xamarin/xamarin-forms/user-interface/graphics/skiasharp/) CocoonJS, App Game Kit, Fusion, Corona SDK, Cocos 2d, and more.
78+
For more guidance on developing Android games, see the Android Developer site: [Game development basics](https://developer.android.com/games/guides/basics). You will find guidance on using a game engine (like Unity, Unreal, Defold, Godot), as well as using IDEs (like Android Studio or Visual Studio).
7879

7980
## Next steps
8081

8182
- [Get started with native Android development on Windows](native-android.md)
8283
- [Get started with Windows Subsystem for Android](./wsa/index.md)
83-
- [Get started developing for Android using Xamarin.Android](xamarin-android.md)
84+
- [Get started developing for Android using .NET MAUI](/dotnet/maui)
8485
- [Get started developing for Android using React Native](../dev-environment/javascript/react-native-for-android.md)
8586
- [Get started developing a PWA for Android](pwa.md)
8687
- [Develop Dual-screen apps for Android and get the Surface Duo device SDK](/dual-screen/android/)
87-
- [Add Windows Defender exclusions to improve performance](defender-settings.md)
8888
- [Enable Virtualization support to improve emulator performance](emulator.md#enable-virtualization-support)

hub/android/xamarin-android.md

Lines changed: 0 additions & 221 deletions
This file was deleted.

hub/dev-environment/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: mattwoj
66
manager: jken
77
ms.topic: article
88
ms.technology: windows-nodejs
9-
ms.date: 02/24/2022
9+
ms.date: 09/28/2023
1010
---
1111

1212
# Set up your development environment on Windows
@@ -101,7 +101,7 @@ The first PC platform to provide centralized AI assistance and designed to help
101101
:::column:::
102102
[![Android icon](../images/android-logo.png)](/windows/android)<br>
103103
**[Get started with Android](/windows/android)**<br>
104-
Install Android Studio, or choose a cross-platform solution like Xamarin, React, or Cordova, and get your development environment setup on Windows.
104+
Install Android Studio, or choose a cross-platform solution like .NET MAUI, React, or creating a PWA, and get your development environment setup on Windows.
105105
:::column-end:::
106106
:::column:::
107107
[![Windows Desktop icon](../images/windows-logo.png)](../apps/index.yml)<br>

0 commit comments

Comments
 (0)