본문 바로가기

mobile/android54

View Class Diagram 클래스 다이어그램 2019. 7. 18.
Android - sqlite SQLiteDatabase(android.database.sqlite.SQLiteDatabase) - 데이터베이스를 다루는 작업(추가, 삭제, 수정, 쿼리) SQLiteOpenHelper(android.database.sqlite.SQLiteOpenHelper) - 데이터베이스의 생성, 열기, 업그레이드 # query public Cursor query (String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) * table 질의를 수행할 테이블 이름입니다. * columns 자료를 받아올 필드들입니다. null을 입력하면.. 2019. 7. 16.
Android - adb devices $ adb devices List of devices attached emulator-5554 device --> print device list $ adb devices List of devices attached emulator-5554 device --> print device list $ adb -s emulator-5554 shell # sqlite3 /data/data/com.example.google.rss.rssexample/databases/rssitems.db SQLite version 3.3.12 Enter ".help" for instructions .... enter commands, then quit... sqlite> .exit Once you've invoked sqlite3.. 2019. 7. 16.
Android - style Theme # 스타일 다루기 공통적인 뷰 위젯 특성 값들의 집합 # 테마 다루기 개별 위젯이 아니라 활동의 모든 View 객체들에 적용되는 특성 집합 setTheme(R.style.right); setTheme(R.style.green_glow); setContentView(R.layout.style_samples) 2019. 7. 16.
Android - Resource R.java # 자원 디렉터리 계통 구조 - /res/drawable/ 그래픽 자원들 - /res/layout/ 사용자 인터페이스 자원들, 위젯들 - /res/values/ 문자열, 색상값 같은 단순 자료들 # 자원에대한 참조 @[추가적인_패키지_이름:]자원형식/변수_이름 ex) @+id:idstr @drawable/icon @string/app_name @+id/android:list # 안드로이드 자산 패키징 도구 aapt aapt (Android Asset Packaging Tool ) R.java를 생성한다. # 자원의 형식 텍스트 문자열, 그래픽 이미지, 사용자 인터페이스 디자인을 위한 색상 스킴 등 등, 안드로이드 응용프로그램이 사용할 수 있는 자원의 형식은 다양하다. /res 하위 디렉터리에 저장됨 자원.. 2019. 7. 16.
ADT Setting & AVD Configure 1. JDK (Java Development Kit) Install 다 운로드 사이트에서 "JDK6"를 다운로드 후 설치합니다. (JRE만 설치해도 실행은 되지만 JDK를 설치 하는 것이 좋을 것 같네요.) java.sun.com 2. EClipse Install url : http://www.eclipse.org/downloads/ 1. download : http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5.2-201002111343/eclipse-SDK-3.5.2-win32.zip 2. uncompress eclipse-SDK-3.5.2-win32.zip location : C:\WEB_APP\eclipse.. 2019. 7. 16.