본문 바로가기

[Day4] SQLite DB를 사용한 사전App 소스 TITLE : Simple Sample Dic Date : 04/15/2010 Writen by Dayyoung Description : This is Source that Simple Dictionary Application using by SQLite. SQLite DB를 사용한 사전App Download : SQLite는 초보개발자가 다가가기 힘든 DB구조를 가지고있다. 하지만, 아래글에 언급했듯이 안드로이드는 SQLite가 광범위하게 쓰이고 있으므로 반드시 체크하고 넘어가야되는 부분.당장 모른다해도 개발에 지장이 있는건 아니므로 천천히 이해할 필요가 있슴. 1. intent 예제 2번을 베이스로 만듬 2. textView가 null값을 가질 경우 화면이동 X if((textView.getText(.. 더보기
[Day3] setActivityForResult 으로 새창 열기 및 데이터 전달 소스 TITLE : setActivityForResult TEST Date : 04/13/2010 Writen by Dayyoung Description : This is Source that Open new Activity with current Data by setActivityForResult setActivityForResult 으로 새창 열기 및 데이터 전달 Download : 1. 메인엑티비티 2. 번들 객체에 스트링 값 저장 Bundle myData = new Bundle(); myData.putString(“key”, textView.getText().toString()); intent.putExtras(myData); 3. 새창에서 번들객체 호출 Bundle myBundle = intent.g.. 더보기
[Day2] Intent 명령으로 웹뷰/전화번호부/다른창 호출하는 소스 TITLE : Simple Intent TEST Date : 04/13/2010 Writen by Dayyoung Description : This is Source that Call the WebView, Adress-Book or OtherView by Intent method. Intent 명령으로 웹뷰/주소록/다른화면 호출하는 소스 Download : 인텐트 명령은 일반적으로 독립적으로 작동하는 액티비티간의 사용을 위해서 사용됨 액티비티 사용 명령어는 비동기식 startActivity 와 동기식인 startActivityForResult 가 있다. 1. 버튼3개로 구성된 기본화면 2. 특정 주소의 웹뷰 호출 (WebView와 유사하지만 전체크기로 가져옴) Intent intent = new Int.. 더보기