Questions on native code access to android APIs / hardware / devices

This page summarizes the projects mentioned and recommended in the original post on /r/termux

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • camera-samples

    Multiple samples showing the best practices in camera APIs on Android.

  • It's been many years since I used camera APIs, and only camera1. I don't have experience with camera2 and cameraX. The android camera docs https://developer.android.com/training/camerax/choose-camera-library lists the available libraries and in additional resources at bottom of pages, there are samples available. You probably need https://github.com/android/camera-samples/tree/master/Camera2Basic or https://github.com/android/camera-samples/tree/master/Camera2Extensions

  • LaserDistancer-and-SerialMonitor

    A project to calculate distance using lasers, camera(android phone), servo motor and arduino. (app includes a serial monitor)

  • Simple multi picture capture with camera1 and opencv processing is also available at https://github.com/agnostic-apollo/LaserDistancer-and-SerialMonitor/blob/master/app/src/main/java/com/allonsy/laserdistancer/PhotoTaker.java and https://github.com/agnostic-apollo/LaserDistancer-and-SerialMonitor/blob/ea5b1fa1ad62f623ae99a974986dc57741ffd923/app/src/main/java/com/allonsy/laserdistancer/DistanceCalculatorService.java#L273 but it was just for research/testing purposes so not for "production", but it did work.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • termux-app

    Termux - a terminal emulator application for Android OS extendible by variety of packages.

  • termux-boot

    Termux add-on app allowing programs to be run at boot.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts