Reported with 1.6.0. Problematic code still present on dev branch (05/10).
Some light about the exception:
https://stackoverflow.com/questions/14378002/exception-with-android-when-using-acra
we should use an int <= 65536.
java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode : at org.csploit.android.plugins.mitm.MITM$CheckForOpenPortsTask$1.onConfirm(MITM.java:339)
public void onConfirm(){
startActivityForResult(new Intent(MITM.this, SettingsActivity.class), SettingsActivity.SETTINGS_DONE);
}
SettingsActivity.java:
public static final int SETTINGS_DONE = 101285;
Something like SETTINGS_DONE = 1285; should fix the problem.
Reported with 1.6.0. Problematic code still present on dev branch (05/10).
Some light about the exception:
https://stackoverflow.com/questions/14378002/exception-with-android-when-using-acra
we should use an int <= 65536.
SettingsActivity.java:
Something like SETTINGS_DONE = 1285; should fix the problem.