C++ implementation in java/android environment

Good day administrators

Please what is ndk and how can one implement it within environment of ide/compiler?

For example: i have ide/compiler in place, i can create project called "Native project", i can build and compile the program and install apk.

I have read information that ndk is all about implementing c++ code in java/android program.

Which type of c++ code can be written in this kind of environment or are there a library/toolkit to implement it.
I needs an advises.

Thanks in advance.

 
  No available code
From https://www.sitepoint.com/using-c-and-c-code-in-an-android-app-with-the-ndk/:

What Is the NDK?

The Android Native Development Kit (NDK) is part of Google’s official toolset. The NDK is a toolset that enables the development of Android apps using C, C++ and other native code languages, compiling code into applications that can run on Android devices. Using the NDK is generally not recommended because apps may experience a performance hit, suffer from compatibility issues, be harder to debug, and reduce flexibility. What the NDK guarantees is an increase in app complexity and connectivity from interfacing with native code.

The interwebz is a wondrous invention. Here's the meta-search I used to find the above info: https://duckduckgo.com/?q=c%2B%2B+ndk&t=ffsb&ia=web

M'ok, with that said, without knowing your OS or IDE/compiler, there is one IDE that does offer Android support with optional IDE components: Visual Studio 2022. VS even ahas an emulator available. How they actually work/ease of use I can't say. I don't do that type of programming.

And FYI, no one here who responses to you is a site administrator, we are CPlusPlus users just like you.
Topic archived. No new replies allowed.