Skip to content

Commit

Permalink
Rust example app (#30)
Browse files Browse the repository at this point in the history
* progress

* progress?

* tweaks

* add test

* removing target dir and some tweaks

* add target to ignored files

* clearing old files

* new directory structure

* working log printed

* created makefile

* adding readme

---------

Co-authored-by: Thomas <[email protected]>
  • Loading branch information
trbutler4 and Thomas authored Aug 6, 2024
1 parent 0c0fd90 commit fb5d1c2
Show file tree
Hide file tree
Showing 74 changed files with 1,562 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/src/getting-started/creating-a-new-app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Creating a new app

To speed up development, we bootstrap the android application development process with react native and expo. This allows us to generate native code automatically, and provides a good build system for our applications.

## Creating a new application with support for rust libraries

https://docs.rs/jni/0.21.1/jni/

https://mozilla.github.io/uniffi-rs/latest/

https://blog.stackademic.com/unleashing-performance-and-safety-in-android-integrating-rust-with-kotlin-through-jni-a90cf270beac
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Tue Aug 06 06:20:20 CDT 2024
gradle.version=8.0
Binary file not shown.
2 changes: 2 additions & 0 deletions examples/rust-example/android/.gradle/config.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Tue Aug 06 06:20:19 CDT 2024
java.home=/snap/android-studio/161/jbr
Binary file not shown.
Empty file.
3 changes: 3 additions & 0 deletions examples/rust-example/android/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/rust-example/android/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions examples/rust-example/android/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions examples/rust-example/android/.idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions examples/rust-example/android/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions examples/rust-example/android/.idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions examples/rust-example/android/.idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions examples/rust-example/android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

252 changes: 252 additions & 0 deletions examples/rust-example/android/.idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions examples/rust-example/android/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/rust-example/android/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
Loading

0 comments on commit fb5d1c2

Please sign in to comment.