반응형
the best solution to send data
from Preference
startActivityForResult(intent,REQUEST_CODE);
of
Intent i = new Intent(
i.putExtra("name", "tom");
setResult(RESULT_OK, i);
return
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent Data) {
super.onActivityResult(requestCode, resultCode, Data);
System.out.println("[DEBUG][onActivityResult] HERE !!!");
CAN NOT RECEIVE THAT DATA
BUT
Replace
startActivityForResult(i, IMAGE_SELECT);
with
getActivity().startActivityForResult(i, IMAGE_SELECT);
then it's nice
that's it
반응형
'모바일개발(Mobile Dev) > 안드로이드개발(Android)' 카테고리의 다른 글
payment concern (0) | 2017.09.24 |
---|---|
subscription should use this launchSubscriptionPurchaseFlow (0) | 2017.09.24 |
userful information (0) | 2017.09.10 |
android icon guide (0) | 2017.09.10 |
notification text font color (0) | 2017.09.10 |