From 6113425db93c1b0a01d790f9cfa5a85dd05ebf24 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sun, 27 Nov 2011 23:27:56 +0000 Subject: [PATCH] - add loading of native bullet libraries to AndroidHarness, caught if fails git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8828 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/android/com/jme3/app/AndroidHarness.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/engine/src/android/com/jme3/app/AndroidHarness.java b/engine/src/android/com/jme3/app/AndroidHarness.java index f3f71dd0e..e1b232011 100644 --- a/engine/src/android/com/jme3/app/AndroidHarness.java +++ b/engine/src/android/com/jme3/app/AndroidHarness.java @@ -110,6 +110,13 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt protected boolean isGLThreadPaused = true; final private String ESCAPE_EVENT = "TouchEscape"; + static { + try { + System.loadLibrary("bulletjme"); + } catch (UnsatisfiedLinkError e) { + } + } + @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);