android: add simple support library to communicate with the host service

This commit is contained in:
Simon Fels 2016-06-23 13:13:22 +02:00
commit fa296ba5cb
3 changed files with 49 additions and 0 deletions

View file

@ -5,6 +5,12 @@ import android.app.Application;
public class MainApplication extends Application {
private NavBar mNavBar;
static {
// Load our native support library on startup so we get
// access to several things from the Anbox host service.
System.loadLibrary("anbox_support");
}
public void startServices() {
mNavBar = new NavBar(this);
}