Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8289701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:34:16+00:00 2026-06-08T12:34:16+00:00

I want use the android NDK to make my c++ engine work on android

  • 0

I want use the android NDK to make my c++ engine work on android without having to rewrite the engine in java.

Can system calls for android, for example touch input, accelerometer, windowing and all the other stuff required in most android apps be called from c++? Or do you need to make your own wrapper so the native code can call android java stuff?

If you can is there some kind of API reference to look through for all the possible calls from native code?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:34:17+00:00Added an answer on June 8, 2026 at 12:34 pm

    The Android NDK supplies stable APIs for the following (see http://developer.android.com/tools/sdk/ndk/index.html):

    • libc (C library) headers
    • libm (math library) headers
    • JNI interface headers
    • libz (Zlib compression) headers
    • liblog (Android logging) header
    • OpenGL ES 1.1 and OpenGL ES 2.0 (3D graphics libraries) headers
    • libjnigraphics (Pixel buffer access) header (for Android 2.2 and above).
    • A Minimal set of headers for C++ support
    • OpenSL ES native audio libraries
    • Android native application APIS

    Anything else will not be guranteed to work across all devices.
    You might also want to take a look at http://developer.android.com/reference/android/app/NativeActivity.html for info on how to implement your activity in native code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use Gama component in Android to make our app good.I have
I want to use DTLS (on OpenSSL) using JNI on Android 2.1/2.2. Can someone
I want to use FFmpeg with Android-NDK and I am very basic in this
I'm starting to work on Android with the NDK and I want to check
I want to use some Android Market app. But in attempt to make the
I'm trying to create a game in android with java not ndk.I want to
I am developing a game in android,I want use the services to play and
I want to use ListView on earlier versions of Android within an AppWidget. RagnarRs
I want to use the Assert keyword in my android apps to destroy my
In a Android application I want to use Scanner class to read a list

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.