[soc] updated Android example with algorithm 0.2.5
This commit is contained in:
@@ -18,6 +18,10 @@ public class IRDecode {
|
||||
|
||||
private static final String TAG = IRDecode.class.getSimpleName();
|
||||
|
||||
static {
|
||||
System.loadLibrary("irdecode");
|
||||
}
|
||||
|
||||
private static Object mSync = new Object();
|
||||
|
||||
private native String irGetVersion();
|
||||
@@ -49,12 +53,6 @@ public class IRDecode {
|
||||
return mInstance;
|
||||
}
|
||||
|
||||
private IRDecode() {
|
||||
String libPath = "/data/irext/libirda_decoder.so";
|
||||
System.out.println("loading decode library " + libPath);
|
||||
System.load(libPath);
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return irGetVersion();
|
||||
}
|
||||
@@ -125,4 +123,4 @@ public class IRDecode {
|
||||
// how many directions supported by specific AC
|
||||
return irACGetSupportedWindDirection(acMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user