{"id":22887177,"url":"https://github.com/electrostat-lab/jme3-simple-examples","last_synced_at":"2026-03-03T11:44:03.958Z","repository":{"id":40454637,"uuid":"356143268","full_name":"Electrostat-Lab/jme3-Simple-Examples","owner":"Electrostat-Lab","description":"Module based jMonkeyEngine android examples","archived":false,"fork":false,"pushed_at":"2022-05-07T11:48:00.000Z","size":395,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-09-19T19:48:14.756Z","etag":null,"topics":["activity-lifecycle","android","android-development","android-library","android-studio","androidharness","custom-android-view","electrostat-lab","fragments","gradle","java","jmesurfaceview","jmonkeyengine3","kotlin-android"],"latest_commit_sha":null,"homepage":"https://jmonkeyengine.org/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Electrostat-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-09T05:11:12.000Z","updated_at":"2024-08-09T18:47:35.000Z","dependencies_parsed_at":"2022-08-09T21:00:46.267Z","dependency_job_id":null,"html_url":"https://github.com/Electrostat-Lab/jme3-Simple-Examples","commit_stats":null,"previous_names":["electrostat-lab/jme3-simple-examples","monkey-droid/jme3-simple-examples"],"tags_count":null,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2Fjme3-Simple-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2Fjme3-Simple-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2Fjme3-Simple-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2Fjme3-Simple-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Electrostat-Lab","download_url":"https://codeload.github.com/Electrostat-Lab/jme3-Simple-Examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229612185,"owners_count":18098766,"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":["activity-lifecycle","android","android-development","android-library","android-studio","androidharness","custom-android-view","electrostat-lab","fragments","gradle","java","jmesurfaceview","jmonkeyengine3","kotlin-android"],"created_at":"2024-12-13T20:31:09.548Z","updated_at":"2026-03-03T11:43:58.904Z","avatar_url":"https://github.com/Electrostat-Lab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jme3-Simple-Examples\nModule based jMonkeyEngine Android Simple Gradle Examples.\n\n## In this repository, you will find 5 modules : \n\n```gradle\ninclude ':helloandroidui'\ninclude ':hellofragmentharness'\ninclude ':helloandroidharness'\ninclude ':hellojmesurfaceview'\ninclude ':hellokotlin'\ninclude ':hellolemur'\ninclude ':hellominie'\n```\n| helloandroidharness | hellofragmentharness | hellojmesrufaceview | helloandroidui | hellokotlin | hellolemur | hellominie |\n|-------|------|-------|-------|-------|-------|-------|\n| Tests jme game on an android activity `AndroidHarness` | Tests jme game on an android fragment `AndroidFragmentHarness` | Tests jme game on a custom android view `JmeSurfaceView` | Tests jme game on a surface view with some android ui usages showing best practice | Tests jme game using kotlin android plugin | Tests lemur integration and lemur stylying with a jMonkeyEngine game | Tests minie (bullet physics) with a jMonkeyEngine game |\n\n## Quick start guide using android studio IDE : \n1) Clone the repository.\n2) Open android studio (any version would be fine) and `Get from version control` : \n\n![image](https://user-images.githubusercontent.com/60224159/163730625-997ee9fa-f398-49f4-a78a-1f90d7feb97e.png)\n\n3) To test on physical device : connect your physical device and use the developer options to enable adb via usb debugging, you can refer to use \nguide for more on devdloper options : https://developer.android.com/studio/debug/dev-options#debugging\n4) To test on an emulator, android launches the selected emulator directly when you run an app module.\n5) When opening android studio, you will find these modules, select a module and run : \n\n![image](https://user-images.githubusercontent.com/60224159/163730853-42410b2d-939b-45d3-8a6b-3632d90bc54e.png)\n\n6) Congrats ! Now you can play around with android and jMonkeyEngine apis !\n\n## Quick start guide using command line gradle and adb : \n1) Download the repository on your local disk.\n2) Navigate to the root directory.\n3) To start building an example use the following command : \n\u003e For windows \n```bash\ngradlew :helloandroidharness\n```\n\u003e For linux/mac\n```bash\n./gradlew :helloandroidharness\n```\n4) To start dexing and build a debug apk for an example, use the following command : \n\u003e For windows \n```bash\ngradlew :hellofragmentharness:assemble\n```\n\u003e For linux/mac\n```bash\n./gradlew :hellofragmentharness:assemble\n```\n5) To run directly on connected devices : \n\u003e For windows \n```bash \ngradlew :hellofragmentharness:installDebug\n```\n\u003e For linux/mac\n```bash\n./gradlew :hellofragmentharness:installDebug\n```\n6) To dex a signed apk for google play, check this tutorial : \nhttps://developer.android.com/studio/publish/app-signing\n\n## For more about testing your application : \nhttps://developer.android.com/studio/test\n\n## The anatomy of jMonkeyEngine game android application : \n| `SimpleApplication` | `Rendering Component` | `Android Activity` | `AppStates and Controls` |\n|-------|------|-------|-------|\n| Initializes and updates a jme game | Renders a `SimpleApplication` using a surface view (gl component) and passes it to android activity | The entry point and life cycle manager of android application, it holds the surface view |Game logic is distributed among these components and can be registered inside `SimpleApplication` class to be updated inside game loop |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectrostat-lab%2Fjme3-simple-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectrostat-lab%2Fjme3-simple-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectrostat-lab%2Fjme3-simple-examples/lists"}