Skip to content
Search

Rawdrawandroid

lastmod 2024-09-25created 2024-09-251 edits

Developing Android apps with C and Make, without Java

Features

  • Want to run C code on Android?
  • This framework can build an APK, install it, and auto-launch it in about 2 seconds; the APK is about 25kB
    • On API 30 (Android R+), it is 45kB to support ARM64 + ARM32.
  • The framework's demo includes:
    • Creating an OpenGL ES-enabled window
    • Accelerometer/gyro input, multi-touch
    • Android keyboard for key input
    • Storing asset files in the APK and reading them with AAssetManager
    • Permission support, e.g. for using sound
    • Direct access to USB devices
  • Disclaimer: use this code at your own risk. There may be issues with building commercial apps.

See also

Favorite site

author Zer0 sitemap