Skip to content

Add NativeMainSource alternative to Android Sample App #44076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

mdh1418
Copy link
Member

@mdh1418 mdh1418 commented Oct 30, 2020

In the effort to port over the sample that builds an Android Application based on the Mono Runtime (dotnet/samples#3944) to dotnet/samples, this PR allows users to utilize their own Activity file to modify the Android Application's UI. By doing so, the user gains the freedom to easily alter the sample and better understand how the mono runtime allows the managed and unmanaged side to call each other when they see their own changes reflected in the application.

@ghost
Copy link

ghost commented Oct 30, 2020

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

@EgorBo
Copy link
Member

EgorBo commented Oct 30, 2020

Worth noting that this setup restricts users on how Activity class should be named - it must always be "MainActivity"

@mdh1418 mdh1418 force-pushed the mdhwang/add_native_main_source_android_sample branch from efb4987 to e69687b Compare October 30, 2020 19:18
@mdh1418
Copy link
Member Author

mdh1418 commented Nov 2, 2020

The failure is unrelated

@mdh1418 mdh1418 merged commit 63a877b into dotnet:master Nov 2, 2020
@mdh1418 mdh1418 deleted the mdhwang/add_native_main_source_android_sample branch November 2, 2020 17:44
@ghost ghost locked as resolved and limited conversation to collaborators Dec 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants