Reference implementation for connecting to the Yggdrasil Network from Android devices
Find a file
Salvatore Testa 5af2eef7cf Add a README with setup instructions
Put a `.keep` file in the `app/libs` folder so folks can put the `.aar`
file in there without needing to make it first.
2022-02-05 19:34:25 -08:00
app Add a README with setup instructions 2022-02-05 19:34:25 -08:00
gradle/wrapper Initial commit 2021-06-16 19:21:09 +01:00
.gitignore Add a README with setup instructions 2022-02-05 19:34:25 -08:00
build.gradle Initial commit 2021-06-16 19:21:09 +01:00
gradle.properties Initial commit 2021-06-16 19:21:09 +01:00
gradlew Initial commit 2021-06-16 19:21:09 +01:00
gradlew.bat Initial commit 2021-06-16 19:21:09 +01:00
README.md Add a README with setup instructions 2022-02-05 19:34:25 -08:00
settings.gradle Initial commit 2021-06-16 19:21:09 +01:00

Yggdrasil Android

Reference implementation for connecting to the Yggdrasil Network from Android devices

Build

Download this repository and the Go Yggdrasil repository.

git clone git@github.com:yggdrasil-network/yggdrasil-android.git
git clone git@github.com:yggdrasil-network/yggdrasil-go.git

# or

git clone https://github.com/yggdrasil-network/yggdrasil-android.git
git clone https://github.com/yggdrasil-network/yggdrasil-go.git

Generate the Android artifact (.aar) from the Go repository

Build the Android artifact from the yggdrasil-go repo.

# from yggdrasil-go
./contrib/mobile/build -a

If you check the folder, there should now be a yggdrasil-sources.jar and yggdrasil.aar there.

Move the Android artifact to the Android repository

From the Android repo, copy yggdrasil.aar into the app/libs folder.

# from yggdrasil-android
cp ../yggdrasil-go/yggdrasil.aar app/libs/

Build and install the Android app

With your Android device connected or emulator running, build and install the app.

# from yggdrasil-android
./gradlew :app:installDebug

Configure

Peer

Add a peer from the public peer list. Make sure to change the "enable" toggle from off to on to make sure the peer(s) get picked up.

Explore

Try out pages from the list of services.