Skip to content

Commit 2e27921

Browse files
committed
Remove most examples
Most of the examples weren't strictly just demonstrating how to use the android-activity API - rather they demonstrated using other libraries in conjunction with android-activity. Most of the examples have now been split into a standalone repository under: https://github.com/rust-mobile/rust-android-examples The na-mainloop and agdk-mainloop examples have been kept here since they can be built against the local/in-tree version of android-activity and are useful to keep for CI purposes. This also runs `cargo update` for the na-mainloop and agdk-mainloop.
1 parent 8f68cb5 commit 2e27921

364 files changed

Lines changed: 62 additions & 24106 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -89,28 +89,6 @@ jobs:
8989
-t x86
9090
-o app/src/main/jniLibs/ -- build
9191
92-
- name: Build agdk-egui example
93-
if: matrix.rust_version == 'stable'
94-
working-directory: examples/agdk-egui
95-
run: >
96-
cargo ndk
97-
-t arm64-v8a
98-
-t armeabi-v7a
99-
-t x86_64
100-
-t x86
101-
-o app/src/main/jniLibs/ -- build
102-
103-
- name: Build agdk-eframe example
104-
if: matrix.rust_version == 'stable'
105-
working-directory: examples/agdk-eframe
106-
run: >
107-
cargo ndk
108-
-t arm64-v8a
109-
-t armeabi-v7a
110-
-t x86_64
111-
-t x86
112-
-o app/src/main/jniLibs/ -- build
113-
11492
- name: Documentation
11593
run: >
11694
cargo ndk -t arm64-v8a doc --no-deps
@@ -131,6 +109,10 @@ jobs:
131109
run: cargo fmt --all -- --check
132110
working-directory: android-activity
133111

134-
- name: Format agdk-egui example
112+
- name: Format na-mainloop example
135113
run: cargo fmt --all -- --check
136-
working-directory: examples/agdk-egui
114+
working-directory: examples/na-mainloop
115+
116+
- name: Format agdk-mainloop example
117+
run: cargo fmt --all -- --check
118+
working-directory: examples/agdk-mainloop

examples/agdk-cpal/.gitignore

Lines changed: 0 additions & 20 deletions
This file was deleted.

examples/agdk-cpal/.idea/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/agdk-cpal/.idea/compiler.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/agdk-cpal/.idea/gradle.xml

Lines changed: 0 additions & 20 deletions
This file was deleted.

examples/agdk-cpal/.idea/misc.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

examples/agdk-cpal/.idea/vcs.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)