private void setParcelData() { try { pNotify.notify_active = mNotification.isChecked(); pNotify.notify_icon = mNotifyIcon.getValue(); pNotify.led_active = mLed.isChecked(); pNotify.led_color = mLedColor.getValue(); pNotify.led_pat = mLedPattern.getValue(); pNotify.ringer_active = mRinger.isChecked(); pNotify.ringtone = mRingtone.getRingtone(); pNotify.ringer_vol = mRingVolume.getVolume(); pNotify.vibrate_active = mVibrate.isChecked(); pNotify.vibrate_pat = mVibratePattern.getValue(); Intent retIntent = new Intent(); retIntent.putExtra("fac.userdelroot.droidprofiles.Notify", pNotify); setResult(RESULT_OK, retIntent); } catch (NullPointerException e) { if (Log.LOGV) Log.e(TAG + "setParcelData null pointer " + e.getLocalizedMessage().toString()); } }