Skip to content

Godot 4 Android plugin example with Java, C#, and GDScript — integrate native Android features into your Godot games.

License

Notifications You must be signed in to change notification settings

code-forge-temple/godot-android-plugin-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Godot Android Plugin V2

This repository contains two projects that demonstrate how to build and integrate an Android plugin with Godot 4.x:

  • MyGodotPlugin: This is the Android project that implements the Android plugin. It includes the necessary configurations and code to create a plugin that can be used within the Godot engine.

  • AndroidPluginInterface: A Godot 4 project that integrates the plugin. It includes examples in both C# and GDScript to show how to interact with the plugin from your game.

Tutorial Video

📺 Full walkthrough available on YouTube:

Watch Demo Video

The video demonstrates the C# integration step by step.
The repository additionally provides equivalent GDScript examples.

Notes

  • Remember to update the TODO sections in the code when adapting for your own project.
  • The repo demonstrates minimal setup; you can extend the plugin to access native Android APIs such as sensors, ads, or system services.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.

Releases

No releases published

Packages

No packages published