app.java
---------------------------
case R.id.btn3:
setContentView(R.layout.techno); <----로그캣에서 여기 에러
Intent tintent = new Intent(app.this,Techno.class);
startActivity(tintent);
break;
//btn3 이라는 버튼을 누르면 구글맵있는 레이아웃으로 가게 했습니다.
manifest.xml
----------------------------
<uses-permission android:name="android.permission.INTERNET" />
<uses-library android:name="com.google.android.maps" />
// 이거 두개 추가했고요
techno.xml
-------------------------------
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="테크노 디자인 센터"
/>
<com.google.android.maps.MapView
android:id="@+id/mapview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="제 api키 값 넣엇습니다."
android:clickable="true"
/>
</LinearLayout>
여기까진데
버튼을 누르면 오류가 납니다
로그캣을 보면 맨위에 표시한 그 위치 이고요




API에 보면
Set the activity content from a layout resource. The resource will be inflated, adding all top-level views to the activity.
최상위 레벨 뷰에 추가시키는 건데 어차피 Techno 클래스로 화면이 넘어가는데 그 시점에 하는게...
빼보시면 어떤한지?
제가 잘못알고 있는건가 ㄱ-;;?