{"id":16203275,"url":"https://github.com/0x0ade/fnadroid","last_synced_at":"2025-06-22T17:07:23.305Z","repository":{"id":56800333,"uuid":"78214186","full_name":"0x0ade/FNADroid","owner":"0x0ade","description":"Unofficial \"FNA for Android\" wrapper.","archived":false,"fork":false,"pushed_at":"2018-10-25T15:38:30.000Z","size":8063,"stargazers_count":42,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-20T13:19:05.896Z","etag":null,"topics":["c-sharp","fna","net-framework","sdl2","xamarin","xamarin-android","xna"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"ms-pl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x0ade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-06T14:57:31.000Z","updated_at":"2025-06-02T21:22:19.000Z","dependencies_parsed_at":"2022-08-17T00:30:26.633Z","dependency_job_id":null,"html_url":"https://github.com/0x0ade/FNADroid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0x0ade/FNADroid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FFNADroid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FFNADroid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FFNADroid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FFNADroid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x0ade","download_url":"https://codeload.github.com/0x0ade/FNADroid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FFNADroid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261330127,"owners_count":23142482,"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":["c-sharp","fna","net-framework","sdl2","xamarin","xamarin-android","xna"],"created_at":"2024-10-10T09:53:34.649Z","updated_at":"2025-06-22T17:07:18.292Z","avatar_url":"https://github.com/0x0ade.png","language":"C#","readme":"# FNADroid\n### FNA for Android, the ugly way\n#### MS-PL-licensed\n#### clone recursively\n----\n\n### Special thanks to my [patrons on Patreon](https://www.patreon.com/0x0ade):\n- [Chad Yates](https://twitter.com/ChadCYates)\n- Daniel Shumway\n- Merlijn Sebrechts\n\n#### TL;DR:\n* Run `/FNADroid-Native/buildnative.sh`\n* Compile `/SDL2Droid-CS/SDL2Droid-CS-Java/` into `/SDL2Droid-CS/SDL2Droid-CS-JBindings/Jars/SDL2Droid-CS-Java.jar`\n* Include your game as a dependency to the `FNADroid` project so it gets included in the .apk properly.\n* Change `/FNADroid/Bootstrap.cs`, `/FNADroid/Resources/` and `/FNADroid/MainActivity.cs`\n* Compile FNADroid using Xamarin.Android (f.e. via Xamarin for Visual Studio).\n* Uh... I haven't figured out content management quite yet... *runs away*\n\n#### /SDL2Droid-CS/\n\n*What:* SDL2 for Android. Take a look at https://github.com/0x0ade/SDL2Droid-CS\n\n*Why:* FNA uses SDL2 and SDL2-CS; FNADroid uses SDL2 and SDL2Droid-CS\n\n*Compilation:* Only the SDL2 bindings require manual compilation:  \nIn your favourite Java IDE, produce a compiled .jar artifact and place it into `/SDL2Droid-CS/SDL2Droid-CS-JBindings/Jars/`\n\n#### /FNADroid-Native/\n\n*What:* Native library `Android.mk` makefiles, extension code and prebuilt libraries\n\n*Why:* Xamarin for Visual Studio has got some problems with compiling native libraries on its own.\n\n*Compilation:* Run `buildnative.sh` (cygwin-compatible) from inside `/FNADroid-Native/`. That's it.\n\n#### /FNADroid/ and /FNADroid-Lib/\n\n*What:* The Mono side of things: Main C# code starting the game and (-Lib) an optional extension library to be used by the game without needing to refer to FNADroid.\n\n*Why:* Why not?\n\n*Compilation:*\n* Load the solution in Visual Studio with the \"Xamarin for Visual Studio\" extension installed.\n* Modify `/FNADroid/Bootstrap.cs` for your main code, `/FNADroid/Resources/` for any strings / icons / ... and `/FNADroid/MainActivity.cs` for the launch config (f.e. orientation).\n* Compile as you would any other Xamarin.Android project.","funding_links":["https://www.patreon.com/0x0ade"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x0ade%2Ffnadroid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x0ade%2Ffnadroid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x0ade%2Ffnadroid/lists"}