-
-
\ No newline at end of file
diff --git a/examples/rust-example/android/.idea/vcs.xml b/examples/rust-example/android/.idea/vcs.xml
deleted file mode 100644
index c2365ab1..00000000
--- a/examples/rust-example/android/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/examples/rust-example/android/app/src/main/jni/x86_64/libexample_rust_project.so b/examples/rust-example/android/app/src/main/jni/x86_64/libexample_rust_project.so
deleted file mode 100755
index 1fa7fb0a..00000000
Binary files a/examples/rust-example/android/app/src/main/jni/x86_64/libexample_rust_project.so and /dev/null differ
diff --git a/examples/rust-example/README.md b/examples/rust-service/README.md
similarity index 100%
rename from examples/rust-example/README.md
rename to examples/rust-service/README.md
diff --git a/examples/serviceexample/app/.gitignore b/examples/rust-service/RustAndroidExample/app/.gitignore
similarity index 100%
rename from examples/serviceexample/app/.gitignore
rename to examples/rust-service/RustAndroidExample/app/.gitignore
diff --git a/examples/rust-example/android/app/build.gradle.kts b/examples/rust-service/RustAndroidExample/app/build.gradle.kts
similarity index 100%
rename from examples/rust-example/android/app/build.gradle.kts
rename to examples/rust-service/RustAndroidExample/app/build.gradle.kts
diff --git a/examples/rust-service/RustAndroidExample/app/local.properties b/examples/rust-service/RustAndroidExample/app/local.properties
new file mode 100644
index 00000000..06df02e6
--- /dev/null
+++ b/examples/rust-service/RustAndroidExample/app/local.properties
@@ -0,0 +1,8 @@
+## This file must *NOT* be checked into Version Control Systems,
+# as it contains information specific to your local configuration.
+#
+# Location of the SDK. This is only used by Gradle.
+# For customization when using a Version Control System, please read the
+# header note.
+#Fri Dec 20 23:47:28 CST 2024
+sdk.dir=/home/thomas/Android/Sdk
diff --git a/examples/serviceexample/app/proguard-rules.pro b/examples/rust-service/RustAndroidExample/app/proguard-rules.pro
similarity index 100%
rename from examples/serviceexample/app/proguard-rules.pro
rename to examples/rust-service/RustAndroidExample/app/proguard-rules.pro
diff --git a/examples/rust-example/android/app/src/androidTest/java/com/example/rust_example/ExampleInstrumentedTest.kt b/examples/rust-service/RustAndroidExample/app/src/androidTest/java/com/example/rust_example/ExampleInstrumentedTest.kt
similarity index 100%
rename from examples/rust-example/android/app/src/androidTest/java/com/example/rust_example/ExampleInstrumentedTest.kt
rename to examples/rust-service/RustAndroidExample/app/src/androidTest/java/com/example/rust_example/ExampleInstrumentedTest.kt
diff --git a/examples/rust-example/android/app/src/main/AndroidManifest.xml b/examples/rust-service/RustAndroidExample/app/src/main/AndroidManifest.xml
similarity index 100%
rename from examples/rust-example/android/app/src/main/AndroidManifest.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/AndroidManifest.xml
diff --git a/examples/rust-example/android/app/src/main/java/com/example/rust_example/MainActivity.kt b/examples/rust-service/RustAndroidExample/app/src/main/java/com/example/rust_example/MainActivity.kt
similarity index 100%
rename from examples/rust-example/android/app/src/main/java/com/example/rust_example/MainActivity.kt
rename to examples/rust-service/RustAndroidExample/app/src/main/java/com/example/rust_example/MainActivity.kt
diff --git a/examples/rust-example/android/app/src/main/java/com/example/rust_example/RustLib.class b/examples/rust-service/RustAndroidExample/app/src/main/java/com/example/rust_example/RustLib.class
similarity index 100%
rename from examples/rust-example/android/app/src/main/java/com/example/rust_example/RustLib.class
rename to examples/rust-service/RustAndroidExample/app/src/main/java/com/example/rust_example/RustLib.class
diff --git a/examples/rust-example/android/app/src/main/java/com/example/rust_example/RustLib.java b/examples/rust-service/RustAndroidExample/app/src/main/java/com/example/rust_example/RustLib.java
similarity index 100%
rename from examples/rust-example/android/app/src/main/java/com/example/rust_example/RustLib.java
rename to examples/rust-service/RustAndroidExample/app/src/main/java/com/example/rust_example/RustLib.java
diff --git a/examples/rust-example/android/app/src/main/java/com/example/rust_example/com_example_rust_example_RustLib.h b/examples/rust-service/RustAndroidExample/app/src/main/java/com/example/rust_example/com_example_rust_example_RustLib.h
similarity index 100%
rename from examples/rust-example/android/app/src/main/java/com/example/rust_example/com_example_rust_example_RustLib.h
rename to examples/rust-service/RustAndroidExample/app/src/main/java/com/example/rust_example/com_example_rust_example_RustLib.h
diff --git a/examples/serviceexample/app/src/main/res/drawable/ic_launcher_background.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/drawable/ic_launcher_background.xml
similarity index 100%
rename from examples/serviceexample/app/src/main/res/drawable/ic_launcher_background.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/drawable/ic_launcher_background.xml
diff --git a/examples/serviceexample/app/src/main/res/drawable/ic_launcher_foreground.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/drawable/ic_launcher_foreground.xml
similarity index 100%
rename from examples/serviceexample/app/src/main/res/drawable/ic_launcher_foreground.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/drawable/ic_launcher_foreground.xml
diff --git a/examples/rust-example/android/app/src/main/res/layout/activity_main.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/layout/activity_main.xml
similarity index 100%
rename from examples/rust-example/android/app/src/main/res/layout/activity_main.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/layout/activity_main.xml
diff --git a/examples/serviceexample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
diff --git a/examples/serviceexample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
diff --git a/examples/serviceexample/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-hdpi/ic_launcher.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-hdpi/ic_launcher.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-hdpi/ic_launcher.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-mdpi/ic_launcher.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-mdpi/ic_launcher.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-mdpi/ic_launcher.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
diff --git a/examples/serviceexample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
similarity index 100%
rename from examples/serviceexample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
rename to examples/rust-service/RustAndroidExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
diff --git a/examples/rust-example/android/app/src/main/res/values-night/themes.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/values-night/themes.xml
similarity index 100%
rename from examples/rust-example/android/app/src/main/res/values-night/themes.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/values-night/themes.xml
diff --git a/examples/rust-example/android/app/src/main/res/values/colors.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/values/colors.xml
similarity index 100%
rename from examples/rust-example/android/app/src/main/res/values/colors.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/values/colors.xml
diff --git a/examples/rust-example/android/app/src/main/res/values/strings.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/values/strings.xml
similarity index 100%
rename from examples/rust-example/android/app/src/main/res/values/strings.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/values/strings.xml
diff --git a/examples/rust-example/android/app/src/main/res/values/themes.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/values/themes.xml
similarity index 100%
rename from examples/rust-example/android/app/src/main/res/values/themes.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/values/themes.xml
diff --git a/examples/serviceexample/app/src/main/res/xml/backup_rules.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/xml/backup_rules.xml
similarity index 100%
rename from examples/serviceexample/app/src/main/res/xml/backup_rules.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/xml/backup_rules.xml
diff --git a/examples/serviceexample/app/src/main/res/xml/data_extraction_rules.xml b/examples/rust-service/RustAndroidExample/app/src/main/res/xml/data_extraction_rules.xml
similarity index 100%
rename from examples/serviceexample/app/src/main/res/xml/data_extraction_rules.xml
rename to examples/rust-service/RustAndroidExample/app/src/main/res/xml/data_extraction_rules.xml
diff --git a/examples/rust-example/android/app/src/test/java/com/example/rust_example/ExampleUnitTest.kt b/examples/rust-service/RustAndroidExample/app/src/test/java/com/example/rust_example/ExampleUnitTest.kt
similarity index 100%
rename from examples/rust-example/android/app/src/test/java/com/example/rust_example/ExampleUnitTest.kt
rename to examples/rust-service/RustAndroidExample/app/src/test/java/com/example/rust_example/ExampleUnitTest.kt
diff --git a/examples/rust-example/android/build.gradle.kts b/examples/rust-service/RustAndroidExample/build.gradle.kts
similarity index 100%
rename from examples/rust-example/android/build.gradle.kts
rename to examples/rust-service/RustAndroidExample/build.gradle.kts
diff --git a/examples/rust-example/android/gradle.properties b/examples/rust-service/RustAndroidExample/gradle.properties
similarity index 100%
rename from examples/rust-example/android/gradle.properties
rename to examples/rust-service/RustAndroidExample/gradle.properties
diff --git a/examples/serviceexample/gradle/wrapper/gradle-wrapper.jar b/examples/rust-service/RustAndroidExample/gradle/wrapper/gradle-wrapper.jar
similarity index 100%
rename from examples/serviceexample/gradle/wrapper/gradle-wrapper.jar
rename to examples/rust-service/RustAndroidExample/gradle/wrapper/gradle-wrapper.jar
diff --git a/examples/rust-example/android/gradle/wrapper/gradle-wrapper.properties b/examples/rust-service/RustAndroidExample/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from examples/rust-example/android/gradle/wrapper/gradle-wrapper.properties
rename to examples/rust-service/RustAndroidExample/gradle/wrapper/gradle-wrapper.properties
diff --git a/examples/serviceexample/gradlew b/examples/rust-service/RustAndroidExample/gradlew
similarity index 100%
rename from examples/serviceexample/gradlew
rename to examples/rust-service/RustAndroidExample/gradlew
diff --git a/examples/serviceexample/gradlew.bat b/examples/rust-service/RustAndroidExample/gradlew.bat
similarity index 100%
rename from examples/serviceexample/gradlew.bat
rename to examples/rust-service/RustAndroidExample/gradlew.bat
diff --git a/examples/rust-example/android/local.properties b/examples/rust-service/RustAndroidExample/local.properties
similarity index 100%
rename from examples/rust-example/android/local.properties
rename to examples/rust-service/RustAndroidExample/local.properties
diff --git a/examples/rust-example/android/settings.gradle.kts b/examples/rust-service/RustAndroidExample/settings.gradle.kts
similarity index 88%
rename from examples/rust-example/android/settings.gradle.kts
rename to examples/rust-service/RustAndroidExample/settings.gradle.kts
index 29b93d63..5e1bce71 100644
--- a/examples/rust-example/android/settings.gradle.kts
+++ b/examples/rust-service/RustAndroidExample/settings.gradle.kts
@@ -13,5 +13,5 @@ dependencyResolutionManagement {
}
}
-rootProject.name = "rust-example"
+rootProject.name = "RustAndroidExample"
include(":app")
diff --git a/examples/rust-example/rust/example_rust_project/.gitignore b/examples/rust-service/example_rust_project/.gitignore
similarity index 100%
rename from examples/rust-example/rust/example_rust_project/.gitignore
rename to examples/rust-service/example_rust_project/.gitignore
diff --git a/examples/rust-example/rust/example_rust_project/Cargo.lock b/examples/rust-service/example_rust_project/Cargo.lock
similarity index 100%
rename from examples/rust-example/rust/example_rust_project/Cargo.lock
rename to examples/rust-service/example_rust_project/Cargo.lock
diff --git a/examples/rust-example/rust/example_rust_project/Cargo.toml b/examples/rust-service/example_rust_project/Cargo.toml
similarity index 100%
rename from examples/rust-example/rust/example_rust_project/Cargo.toml
rename to examples/rust-service/example_rust_project/Cargo.toml
diff --git a/examples/rust-example/rust/example_rust_project/Makefile b/examples/rust-service/example_rust_project/Makefile
similarity index 100%
rename from examples/rust-example/rust/example_rust_project/Makefile
rename to examples/rust-service/example_rust_project/Makefile
diff --git a/examples/rust-example/rust/example_rust_project/build.rs b/examples/rust-service/example_rust_project/build.rs
similarity index 100%
rename from examples/rust-example/rust/example_rust_project/build.rs
rename to examples/rust-service/example_rust_project/build.rs
diff --git a/examples/rust-example/rust/example_rust_project/src/android.rs b/examples/rust-service/example_rust_project/src/android.rs
similarity index 100%
rename from examples/rust-example/rust/example_rust_project/src/android.rs
rename to examples/rust-service/example_rust_project/src/android.rs
diff --git a/examples/rust-example/rust/example_rust_project/src/lib.rs b/examples/rust-service/example_rust_project/src/lib.rs
similarity index 100%
rename from examples/rust-example/rust/example_rust_project/src/lib.rs
rename to examples/rust-service/example_rust_project/src/lib.rs
diff --git a/examples/serviceexample/.idea/.gitignore b/examples/serviceexample/.idea/.gitignore
deleted file mode 100644
index 26d33521..00000000
--- a/examples/serviceexample/.idea/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
diff --git a/examples/serviceexample/.idea/.name b/examples/serviceexample/.idea/.name
deleted file mode 100644
index 794c08be..00000000
--- a/examples/serviceexample/.idea/.name
+++ /dev/null
@@ -1 +0,0 @@
-service example
\ No newline at end of file
diff --git a/examples/serviceexample/.idea/compiler.xml b/examples/serviceexample/.idea/compiler.xml
deleted file mode 100644
index b589d56e..00000000
--- a/examples/serviceexample/.idea/compiler.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/examples/serviceexample/.idea/deploymentTargetSelector.xml b/examples/serviceexample/.idea/deploymentTargetSelector.xml
deleted file mode 100644
index b268ef36..00000000
--- a/examples/serviceexample/.idea/deploymentTargetSelector.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-