Android Programming Guide
}
};
@Override
public void onDestroy()
{
// ***************************************************//
// Unregister Broadcast Receiver before app close
// ***************************************************//
unregisterReceiver(myReceiver_return);
super.onDestroy();
}
}
84
{
// Fetch the error message along with the intent.
Bundle GetErrorbundle = intent.getExtras();
int value = GetErrorbundle.getInt("Data_ErrorMessage");
ErrorValue = "ErrorMessage = " + value + "\n";
TextViewVaule.setText(ErrorValue);
}