Go to file
2023-08-09 16:28:57 +02:00
gradle/wrapper Initial commit - WIP 2023-08-07 15:39:39 +02:00
src/main Copy to clipboard on select. 2023-08-09 16:17:17 +02:00
.editorconfig Initial commit - WIP 2023-08-07 15:39:39 +02:00
.gitignore Initial commit - WIP 2023-08-07 15:39:39 +02:00
build.gradle Copy to clipboard on select. 2023-08-09 16:17:17 +02:00
gradlew Initial commit - WIP 2023-08-07 15:39:39 +02:00
gradlew.bat Initial commit - WIP 2023-08-07 15:39:39 +02:00
README.md Add discovered items to the listView. 2023-08-07 18:04:56 +02:00
settings.gradle Initial commit - WIP 2023-08-07 15:39:39 +02:00

mDNS Explorer

View all multicastDNS devices.

Development

Java SDK version 17 (or later) is required.

Native Images

The native images are built with GraalVM. Download the Gluon version of GraalVM from https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final and extract it locally.

Point the GRAALVM_HOME environment variable to the folder:

export GRAALVM_HOME="/path/to/gluon-22.1.0.1

With all requirements setup and on a supported platform, the general idea is to run:

./gradlew clean build
./gradlew nativeBuild   -Ptarget=android    # or -Ptarget=ios
./gradlew nativeLink    -Ptarget=android
./gradlew nativePackage -Ptarget=android
./gradlew nativeInstall -Ptarget=android
./gradlew nativeRun     -Ptarget=android

or, in one go for Android:

./gradlew -Ptarget=android clean build nativeBuild nativeLink nativePackage nativeInstall nativeRun

or, in one go for iOS:

./gradlew -Ptarget=ios clean build nativeBuild nativeLink nativePackage nativeInstall nativeRun

Linux

See https://docs.gluonhq.com/#prerequisites_linux

For nativeBuild on Linux, install the following dependencies.

sudo apt install libgtk-3-dev libavformat-dev libavutil-dev libavcodec-dev libasound2-dev libpango1.0-dev libxtst-dev build-essential

Building for Android (on Linux)

See https://docs.gluonhq.com/#prerequisites_android

Install Android Studio and use sdkmanager to install the following:

  • Android SDK Platform 31
  • NDK (Side by side)

Point the ANDROID_NDK variable to the installed NDK directory:

export ANDROID_NDK="/home/mark/Android/Sdk/ndk/25.2.9519653/"

Add the platform-tools to you PATH to use 'adb' command:

export PATH="$PATH:/home/mark/Android/Sdk/platform-tools/"

Run the 'adb devices' and 'adb usb' to verify your Android networkService is in development mode and allows connections.

MacOS

See https://docs.gluonhq.com/#platforms_macos

Install the xcode command line tools and an iPhone emulator.

If you have problems with xcrun not being able to find iphoneos, try:

sudo xcode-select --switch /Applications/Xcode.app

Download and install homebrew, and install the following:

brew install maven
brew install --HEAD libusbmuxd
brew install --HEAD libimobiledevice

iOS (on MacOS)

See https://docs.gluonhq.com/#prerequisites_ios