좋은 프로그램은 마음의 여유에서 나온다.
안드로이드에서 예외처리를 하지 않은 부분에서 에러가 나버리면 앱이 그냥 종료되어 버린다. UncaughtExceptionHandler 클래스를 이용하여 클래스 이름 그대로 예외 처리되지 않은 곳에서 에러난 것을 캣치할 수 있다. 구글에 검색해보면 여러가지로 처리할 수 있는 방법이 있으며 아래의 코드는 Thread 클래스의 스태틱 메소드인 setDefaultUncaughtExceptionHandler() 을 이용해 전체 앱에 적용을 시킨 후 에러가 발생하면 리포트를 메일로 보내는 코드이다. 지메일이 있으면 지메일을 실행시키고 없으면 이메일 앱을 고르도록 되어 있다. 가장 먼저 시작되는 액티비티에 아래 코드를 삽입 Thread.setDefaultUncaughtExceptionHandler(new Except..
특정값기준으로 자동증가 하고싶을경우 사용하면 좋을듯.. 출처 : http://blog.naver.com/PostView.nhn?blogId=deepblue28&logNo=140171138992 http://stackoverflow.com/questions/3347811/mysql-custom-sequence-generator-like-oraclehttp://dev.mysql.com/doc/refman/5.1/en/example-auto-increment.html MYISAM 만 된다는거.. CREATE TABLE component_core ( component_id INT AUTO_INCREMENT, PRIMARY KEY(component_id) ); CREATE TABLE component_histor..
http://www.sqldic.co.kr/informationView.action?bbs.bbs_seq=2264&page=2 B-Tree Index 특징 B-tree index 는 =, >, >=,
http://www.kihongames.com/blog/labs/2011/04/itorque2d-vs-cocos2d-performance/
http://www.lovelgw.com/Blog/227 DB카테고리 만들어주세용