아래 내용같이 응용프로그램만들다가 이런 코드가 되었는데. ~~~~~~~~~~~~ 표시가 있는
setContentView(R.layout.note_edit);
가 지워도 다른데에 에러가 막 나고..여기도 에러가 나서 오도가도 못하고..
선배님들 눈에 보이는 에러가 있으신지요?
상략 하략한 중간 부분입니다.
관심들에 깊이 감사드립니다.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mDbHelper = new NotesDbAdapter(this);
mDbHelper.open();
setContentView(R.layout.note_edit);
mTitleText = (EditText) findViewById(R.id.title);
ImageView img = (ImageView)findViewById(R.id.imview);
};
;
~~~~~~~~~~~~ setContentView(R.layout.note_edit);
r = new Random();
Button bt3 = (Button)findViewById(R.id.get_imagebt);
bt3.setOnClickListener(getImgListener);
imView = (ImageView)findViewById(R.id.imview);
원래 정상적으로 완성이 된 프로그램에 제가
첨가해서 수정하면서 이미지를 넣으려고
참고 소소를 복사해 넣었는데..
~~~~~~~~~~~ 표시한 setContentView(R.layout.note_edit);
그 중에 이런 내용이 추가되게 되었습니다.
원래는 다른 내용도 있었으나 필요도 없고 에러도 나서 지우다가
이 줄만 남게 되었는데...
이줄을 지워도 다른 줄에 더 많이 에러가 나서 안 움직이고 안지워도 이 줄만 에러 상태라서 난감합니다.