- 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
3.0
nor..67 13 years ago
parent e1bcefefe9
commit 6113425db9
  1. 7
      engine/src/android/com/jme3/app/AndroidHarness.java

@ -110,6 +110,13 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt
protected boolean isGLThreadPaused = true; protected boolean isGLThreadPaused = true;
final private String ESCAPE_EVENT = "TouchEscape"; final private String ESCAPE_EVENT = "TouchEscape";
static {
try {
System.loadLibrary("bulletjme");
} catch (UnsatisfiedLinkError e) {
}
}
@Override @Override
public void onCreate(Bundle savedInstanceState) { public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);

Loading…
Cancel
Save