Skip to content

Embedded Android Things provides Java-level APIs for accessing generic device peripherals on Android-based embedded operating systems. Inspired by Google Android Things and OpenJDK Device I/O Project, Embedded Android Things is designed based on Java Native Interface (JNI) and implemented on Android Open Source Project (AOSP).

Notifications You must be signed in to change notification settings

trieunvt/embedded-android-things

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Android Things

Embedded Android Things provides Java-level APIs for accessing generic device peripherals on Android-based embedded operating systems. Inspired by Google Android Things and OpenJDK Device I/O Project, Embedded Android Things is designed based on Java Native Interface (JNI) and implemented on Android Open Source Project (AOSP).

How To Use

  • Copy these folders cpp and java to your application main folder.
  • Change the hierarchy structure of the folder java based on your application package.
  • Execute the shell script java/../../../EmbeddedAndroidThings/GenerateNativeHeaderFiles.sh inside your application main folder.
  • Change these macros JNIDEFINE, JNICREATE and PACKAGE_PATH in the native header file cpp/EmbeddedAndroidThings/Include/Essentials.h based on your application package.
  • Build your application and enjoy.

Sample Application

About

Embedded Android Things provides Java-level APIs for accessing generic device peripherals on Android-based embedded operating systems. Inspired by Google Android Things and OpenJDK Device I/O Project, Embedded Android Things is designed based on Java Native Interface (JNI) and implemented on Android Open Source Project (AOSP).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published