0
iがそれらの間でデータを共有する2つの活性を有する作業onActivityResult )は、デバッグモードで
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == REQ_DIRECCIONES) //actualizamos la direccion
{
if (data != null){
Sharable sh = (Sharable)data.getExtras().getParcelable("item");
OElement item = (OElement) sh.getObject();
//HERE!! "item" is NULL in runtime mode but not in debug mode
}
}
}
ありがとうございます!私はSerializableを使用し、それは正常に動作します。 – thenosic