Hi, I have problem with 'onActivityResult' method within Fragment class...i mean it(onActivityResult Callback) isn't called after activity finished with setting some result for its invoker...
so i tried to search any relevant information or issues about this problem....i've found some issues related to compatible pack Rev 2.0.... now i'm using most update version of compatible pack v4(Rev 6) but still i have same problem... here the relevant part of my code.... when start activity =========================== Intent intent = new Intent(getActivity(), NoteActivity.class); intent.putExtra(Note._ID, id); startActivityForResult(intent, NoteActivity.REQUEST_OPEN); when return from activity========================== setResult(Activity.RESULT_OK); finish(); in the 'onActivityResult' callback===================== @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); Log.e(tag, "Req Code : "+requestCode+"res Code : "+resultCode); switch(requestCode){ case NoteActivity.REQUEST_OPEN: switch(resultCode){ case Activity.RESULT_OK: Log.e(tag, "Given ID is : "+data.getLongExtra(Notes._ID, -1)); refresh(SortOrder.DATE); break; case Activity.RESULT_CANCELED: Log.e(tag, "Not Saved"); refresh(SortOrder.DATE); break; } break; } } please help me some good idea for this problem.... BR -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en