2022-07-07
1601
#rust
Martin Kimani
122093
Jul 7, 2022 â‹… 5 min read

Integrating a Rust module into an Android app

Martin Kimani Innovative frontend developer with five years of experience building responsive websites. Proficient in HTML, CSS, and JavaScript, as well as modern libraries and frameworks. I'm passionate about usability and I possess a working knowledge of graphic design.

Recent posts:

javascript object prototypes

JavaScript prototypes: How objects inherit properties and methods

Explore what prototypes are, how the prototype chain works, and how to use the prototype chain to create inheritance between objects.

Ibadehin Mojeed
Mar 28, 2025 â‹… 7 min read
featured image tsx extension

What is the difference between a .ts and .tsx file extension?

Examine the differences between the .ts and .tsx file types, their use cases, and best practices for a React TypeScript project.

Hussain Arif
Mar 27, 2025 â‹… 8 min read
How To Use Try...catch For Error Handling In JavaScript

How to use try...catch for error handling in JavaScript

Learn how to use JavaScript try…catch for error handling, including syntax, advanced scenarios, and managing asynchronous code.

Ivy Walobwa
Mar 27, 2025 â‹… 5 min read
Designing For Instant Feedback- The Doherty Threshold In UX

Designing for instant feedback: The Doherty Threshold in UX

The Doherty Threshold suggests that when feedback occurs within this timeframe, users feel more in control and remain engaged.

Chidera Nwankwagu
Mar 26, 2025 â‹… 4 min read
View all posts

One Reply to "Integrating a Rust module into an Android app"

  1. Yeeeaah…. There’s a wee bit of presupposition of knowledge here that makes this a less-than-useful tutorial for someone just starting out. Speaking as someone who’s just spent many, many hours trying to even get the damn thing to BUILD, I can say with confidence that if you don’t have fairly extensive knowledge in both Rust AND Android (and a generous smattering of one of the C languages), these are not the droids you are looking for; move along.

    Not sure if you know enough? Take this simple test to find out!

    In this tutorial’s first step following the Table of Contents – Prerequisites – you’ll note the author specifies GCC is a requirement. Perfect! Get it installed and set up… without using a package manager like Homebrew/MacPorts, Cygwin, OpenPkg, etc. If you can muddle your way through that? You can probably finish this tutorial without wanting to kill someone when you reach the final step of “You may have to tamper with AndroidManifest.xml and add an activity node to the document to unite the activities into one app,” with literally NO further instructions, waaaaaaaay down at the bottom.

    To me, at least, this feels like a tutorial began with the best of intentions, in which the author got bored halfway through and cut enough corners to yield a triangle from the original square.

Leave a Reply