H
haza
Guest
Hi,
I'm trying to make an android extension that calls the stockfish chess engine from java.
https://stockfishchess.org/download/
With eclipse I can call the stockfish pc engine through java and it works fine. However I am having trouble making the game maker java android extension.
I need to call the stockfish-8-armeabi-v7a engine and I use the following type of call in java
engineProcess = Runtime.getRuntime().exec(PATH);
with path set to
private static final String PATH = "../stockfish-8-armeabi-v7a"; I've tried without the ../
I try to use include file and include extension file for the stockfish-8-armeabi-v7a when I make the APK but the call always fails at runtime.
Is it even possible what I am trying to do in the extension or am i just doing something wrong?
I'm trying to make an android extension that calls the stockfish chess engine from java.
https://stockfishchess.org/download/
With eclipse I can call the stockfish pc engine through java and it works fine. However I am having trouble making the game maker java android extension.
I need to call the stockfish-8-armeabi-v7a engine and I use the following type of call in java
engineProcess = Runtime.getRuntime().exec(PATH);
with path set to
private static final String PATH = "../stockfish-8-armeabi-v7a"; I've tried without the ../
I try to use include file and include extension file for the stockfish-8-armeabi-v7a when I make the APK but the call always fails at runtime.
Is it even possible what I am trying to do in the extension or am i just doing something wrong?