changed app key and secret
This commit is contained in:
@@ -58,11 +58,11 @@
|
||||
|
||||
<meta-data
|
||||
android:name="irext_app_key"
|
||||
android:value="2841eeac09567f3394f051f8" />
|
||||
android:value="c49c3bd5ff6b3efb67d8af2c" />
|
||||
|
||||
<meta-data
|
||||
android:name="irext_app_secret"
|
||||
android:value="65c0afc9d61feef012eb7dac" />
|
||||
android:value="194f9cb578c458ace2284f16" />
|
||||
|
||||
</application>
|
||||
|
||||
|
||||
@@ -21,8 +21,7 @@ public class IRApplication extends com.activeandroid.app.Application {
|
||||
|
||||
private static final String TAG = IRApplication.class.getSimpleName();
|
||||
|
||||
// private static final String ADDRESS = "http://irext.net:8080";
|
||||
private static final String ADDRESS = "http://192.168.137.128:8080";
|
||||
private static final String ADDRESS = "http://irext.net:8080";
|
||||
private static final String APP_NAME = "/irext-server";
|
||||
|
||||
public WebAPIs mWeAPIs = WebAPIs.getInstance(ADDRESS, APP_NAME);
|
||||
|
||||
@@ -137,7 +137,7 @@ public class ControlFragment extends Fragment implements View.OnClickListener {
|
||||
mCurrentRemoteControl.getRemoteMap() + FileUtils.FILE_NAME_EXT;
|
||||
|
||||
/* decode SDK - load binary file */
|
||||
// int ret = mIRDecode.openBinary(category, mCurrentRemoteControl.getSubCategory(), binFileName);
|
||||
int ret = mIRDecode.openFile(category, mCurrentRemoteControl.getSubCategory(), binFileName);
|
||||
File binFile = new File(binFileName);
|
||||
byte []binaries = new byte[(int)binFile.length()];
|
||||
try {
|
||||
@@ -148,9 +148,6 @@ public class ControlFragment extends Fragment implements View.OnClickListener {
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
int ret = mIRDecode.openBinary(category, mCurrentRemoteControl.getSubCategory(),
|
||||
binaries, binaries.length);
|
||||
|
||||
Log.d(TAG, "binary opened : " + ret);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user