Hi All!
After the latest B4a installation (11.50) my code give an uncommon error message:
Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference
Here is my code:
This code snippet worked extremly well before B4A 11.50 !!
Can you help me please?
After the latest B4a installation (11.50) my code give an uncommon error message:
Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference
Here is my code:
B4X:
ion = new IOnActivityResult() {
@Override
public void ResultArrived(int resultCode, Intent data) {
pResultArrived("payment", resultCode, data);
}
};
try {
ba.startActivityForResult(ion, null); //<-- passing null instead of an intent (as in official code)
} catch (NullPointerException npe) {
//
BA.Log("ion "+npe.getMessage());
}
Can you help me please?