Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • 43-refactoring
  • eclipse-che
  • 27-spring-boot-restserver-with-module-info
  • issue-20-settings
  • 24-refactoring-of-waitfornode
  • issue-14-rest-api
  • enable-preview-14
  • issue-8-flere-todo-lister
  • issue-9-frister-lister-og-elementer
  • android
  • 2d49359
  • d270623
13 results

todo-list

  • Clone with SSH
  • Clone with HTTPS
  • Gitpod Ready-to-Code

    Note that the badge links our own gitpod installation. If you're not a student at NTNU, please fork and use gitpod.io instead.

    JavaFX on Android using GraalVM and Gluon's client-maven-plugin

    This branch allows you to build a native Android application using GraalVM and Gluon's client-maven-plugin. However, if you code inside gitpod you cannot debug through the USB connection, so installing and running must be done locally:

    • Configure gitpod to use a docker image with the last graalvm and set it as default
    • Code your application and provide build instructions according to gluons documentation
    • Run mvn -Pandroid package client:build client:package to build the Android application
    • Download the aarch64-android folder in target/client (you get a tar file). I think you could do with a bit less, but I haven’t experimented with minimising the download.
    • Clone your project onto your mac and untar the aarch64-android.tar file into target/client so you get the same/necessary build state as in gitpod
    • Connect your phone to the USB port and ensure it enters debug mode and run mvn -Pandroid client:install client:run
    • The app should open on your phone and you’ll see lots of debug output from it in the console