«android-tabhost» 태그된 질문

5
TabHost 활동에서 결과 (startActivityForResult)를 반환하는 방법은 무엇입니까?
내 예제에는 3 가지 수업이 있습니다. 주요 활동 인 A 등급. 클래스 A는 startActivityForResult를 호출합니다. Intent intent = new Intent(this, ClassB.class); startActivityForResult(intent, "STRING"); 클래스 B,이 클래스는 TabActivity입니다. Intent intent = new Intent(this, ClassC.class); tabHost.addTab... 클래스 C,이 클래스는 일반적인 활동입니다. Intent intent = this.getIntent(); intent.putExtra("SOMETHING", "EXTRAS"); this.setResult(RESULT_OK, intent); finish(); onActivityResult는 클래스 …

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.