안녕하세요 안드로이드를 공부하는 학생입니다
소스를 다운받아서 수정을 하던도중 오류가 나네요..
기본지식이 많이 부족하여서 혼자 힘으로는 해결이 불가능하여 이렇게 글을 남깁니다.
CTCalendarView클래스에서
protected void initialize()
{
setContentView(R.layout.calendarview);
rightNow = Calendar.getInstance();
gCal = new GregorianCalendar();
iYear = rightNow.get(Calendar.YEAR);
iMonth = rightNow.get(Calendar.MONTH);
Button btnMPrev = (Button)findViewById(R.id.btn_calendar_prevmonth);
btnMPrev.setOnClickListener(this);
Button btnMNext = (Button)findViewById(R.id.btn_calendar_nextmonth);
btnMNext.setOnClickListener(this);
btnMPrev.setText("이전");
btnMNext.setText("다음");
aDateTxt = (TextView)findViewById(R.id.CalendarMonthTxt);
makeCalendardata(iYear, iMonth);
}
이부분을
protected void initialize()
{
Intent myIntent = new Intent(getApplicationContext(),Main.class);
startActivity(myIntent);
}
이렇게 수정하여 다른 클레스를 불러 오려고 하였는데.
오류가 나네요..
도와주세요...ㅠㅠ
아찾았습니다..ㅎㅎ xml파일이 잘못됫네요.ㅋㅋ