Introduction

This document mainly introduces two approaches that how to write and call methods defined in a JAR file,which allows developer to call Android methods in Unity project on Pico device.

  • Using Method 1, Unity application can remain its original main activity and simply import multiple JAR files.
  • Using Method 2, Unity methods will be invoked automatically by JAR files. In this way, Unity application doesn’t need to call the methods in JAR file by itself consecutively.