본문 바로가기 메뉴 바로가기

uiyam

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

uiyam

검색하기 폼
  • 분류 전체보기 (1370)
    • 일상다반사 (9)
    • 과외선생님정보 (72)
  • 방명록

분류 전체보기 (1370)
[android] 의도 데이터가 반환되지 않음

활동이 생성 될 때 전달되는 인 텐트를 가져 오는 getIntent가 아니라 예제에서 data라는 onActivityResult에 전달 된 인 텐트를 사용합니다. IE protected void onActivityResult(int requestCode, int resultCode, Intent data) { Bundle extras = data.getExtras(); //THIS IS THE LINE I CHANGED if (extras != null) { String myStr = extras.getString("TASK"); TextView tv = (TextView) findViewById(R.id.taskList); tv.setText(myStr); } }//onActivityResult ---..

카테고리 없음 2021. 3. 2. 02:22
이전 1 2 3 4 ··· 1370 다음
이전 다음
공지사항
Total
Today
Yesterday
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Blog is powered by Tistory / Designed by Tistory

티스토리툴바