본문 바로가기

전체 글111

자주 사용하는 이클립스 단축키 모음 * ctrl + 1 : assist * ctrl + space : assist ex) sysout + ctrl + space main + ctrl + space * 라인 지우기 ctrl + d * 한줄주석 영역 지정 , ctrl + / * 영역주석 영역 지정 , ctrl + shift + / * 참고자바주석 : // , /* */HTML 주석 : JSP 주석 : , XML 주석 : * Formatctrl + shift + f * 자동 importctrl + shift + o (알파벳) * 이동영역 지정 + alt + 화살표 위 (아래) * copy 영역 지정 + ctrl + alt + 화살표 아래(위) * resource 찾기ctrl + shift + R * rename (refactor)alt + sh.. 2013. 4. 24.
백버튼으로 어플종료 확인 // 어플리케이션 종료를 확인하는 메소드public void confirmExit() { new AlertDialog.Builder(this).setTitle("자바파크") .setMessage("종료하시겠습니까?") .setPositiveButton("예", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { finish(); } }).setNegativeButton("아니오", null).show();} 2013. 4. 19.
[jquery mobile] 동적으로 추가한 리스트 목록이 깨질경우 jQuery Mobile 사용시 Listview에 데이터를 동적으로 추가해야 할 경우에 jQuery 의 html() 함수를 이용하여 추가할 수 있지만 화면에는 원하는 UI가 표시 되지 않는다. 이때 jQuery Mobile 의 listview 함수를 이용하여 jQuery Mobile UI가 적용된 List 화면을 볼 수 있다. 코드는 다음과 같다. $("#allList").listview("refresh"); 참고 http://view.jquerymobile.com/1.3.1/dist/demos/ 2013. 4. 19.
Spring Security 를 이용하여 로그인여부 화면에 표시하기 Spring Security 3.1 에서 아래와 같은 코드를 화면에 적용하여 로그인 여부를 구분할 수 있습니다. Login Logout 2013. 4. 18.
web.xml 에서 classpath 사용시 주의사항 contextConfigLocationclasspath*:**/META-INF/spring/root-context.xml..... [생략] .... 위와 같은 App을 여러개 설정후 한 서버에 올릴경우 다른 App에 영향을 줄 수 있으므로 주의!!! contextConfigLocationclasspath:/META-INF/spring/root-context.xml..... [생략] .... 2013. 4. 16.
안드로이드 플랫폼 버전 안드로이드 플랫폼 버전과 분포를 표현한 표이다. VersionCode nameRelease dateAPI levelDistribution (March 4, 2013)4.2.xJelly BeanNovember 13, 2012171.6%4.1.xJelly BeanJuly 9, 20121614.9%4.0.xIce Cream SandwichDecember 16, 20111528.6%3.2HoneycombJuly 15, 2011130.9%3.1HoneycombMay 10, 2011120.3%2.3.3–2.3.7GingerbreadFebruary 9, 20111044%2.3–2.3.2GingerbreadDecember 6, 201090.2%2.2FroyoMay 20, 201087.6%2.0–2.1EclairOcto.. 2013. 3. 20.