■ ODROID의 XP용 USB DRIVER
오드로이드를 처음 PC에 꽂고 드라이버를 찾을 때 첨부 파일을 풀어서 설치하면 OK.
2010년 1월 25일 월요일
2010년 1월 23일 토요일
[안드로이드] AVD에 어플리케이션 직접 설치
■ 안드로이드 에뮬레이터에 개발한 프로그램이나 다운받은 어플을 직접 설치해 봅시다.
이클립스 기준으로 bin폴더에 파일명.apk파일이 존재합니다. 이 apk파일을 avd에 설치하려면 다음과 같이 진행하면 되겠습니다.
물론 설치하기 전에 프로그램이 구동할 타겟(AVD 또는 실제장비)이 활성화되어 있어야 합니다.
C:\>adb install 설치할파일.apk
Success -> 설치가 정상적으로 끝나면 썰렁하게 Success라고 한마디 한다. ^^
C:\>
■ 아래는 adb.exe의 도움말
이클립스 기준으로 bin폴더에 파일명.apk파일이 존재합니다. 이 apk파일을 avd에 설치하려면 다음과 같이 진행하면 되겠습니다.
물론 설치하기 전에 프로그램이 구동할 타겟(AVD 또는 실제장비)이 활성화되어 있어야 합니다.
C:\>adb install 설치할파일.apk
Success -> 설치가 정상적으로 끝나면 썰렁하게 Success라고 한마디 한다. ^^
C:\>
설치 : adb install apkfilename
삭제 : adb uninstall pakeagename
재설치 : adb install -r apkfilename
삭제 : adb uninstall pakeagename
재설치 : adb install -r apkfilename
■ 아래는 adb.exe의 도움말
펼쳐두기..
C:\>adb -h
Android Debug Bridge version 1.0.25
-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is running.
-s <serial number> - directs command to the USB device or emulator with
the given serial number. Overrides ANDROID_SERI
AL
envivornment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP disconnect <host>:<port> - disconnect from a TCP/IP device
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> <local> - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] <file> - push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specified device
adb remount - remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB adb
tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be updated.
- If it is "system" or "data", only the corresponding partition
is updated.
Android Debug Bridge version 1.0.25
-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is running.
-s <serial number> - directs command to the USB device or emulator with
the given serial number. Overrides ANDROID_SERI
AL
envivornment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP disconnect <host>:<port> - disconnect from a TCP/IP device
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> <local> - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] <file> - push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specified device
adb remount - remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB adb
tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be updated.
- If it is "system" or "data", only the corresponding partition
is updated.
[안드로이드] android list targets
■ 현재까지 설치한 타켓 종류 1.1부터 2.1까지
스킨은 크게 3가지 정도이고 API1.6부터 스킨은 따로 없고 해상도만 다르게 표현됩니다.

API Version : 1.1
스킨 : HVGA-P(320X480)
생성 : android create avd -n AVD1.1-HVGA-P -t 1 -s HVGA-P

API Version : 1.1
Skin : QVGA-P(240X320)
생성 : android create avd -n AVD1.1-QVGA-P -t 1 -s QVGA-P

API Version : 1.6
Skin : HVGA(320X480)
생성 : android create avd -n AVD1.6-HVGA -t 3 -s HVGA
v1.6이후 부터는 기본 스킨이 똑같음
스킨은 크게 3가지 정도이고 API1.6부터 스킨은 따로 없고 해상도만 다르게 표현됩니다.
API Version : 1.1
스킨 : HVGA-P(320X480)
생성 : android create avd -n AVD1.1-HVGA-P -t 1 -s HVGA-P
API Version : 1.1
Skin : QVGA-P(240X320)
생성 : android create avd -n AVD1.1-QVGA-P -t 1 -s QVGA-P
API Version : 1.6
Skin : HVGA(320X480)
생성 : android create avd -n AVD1.6-HVGA -t 3 -s HVGA
v1.6이후 부터는 기본 스킨이 똑같음
펼쳐두기..
C:\>android list target
Available Android targets:
id: 1 or "android-2"
Name: Android 1.1
Type: Platform
API level: 2
Revision: 1
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 2 or "android-3"
Name: Android 1.5
Type: Platform
API level: 3
Revision: 1
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 3 or "android-4"
Name: Android 1.6
Type: Platform
API level: 4
Revision: 1
Skins: HVGA (default), QVGA, WVGA800, WVGA854
id: 4 or "android-5"
Name: Android 2.0
Type: Platform
API level: 5
Revision: 1
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 5 or "android-6"
Name: Android 2.0.1
Type: Platform
API level: 6
Revision: 1
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 6 or "android-7"
Name: Android 2.1
Type: Platform
API level: 7
Revision: 1
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 7 or "Google Inc.:Google APIs:3"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 3
Description: Android + Google APIs
Based on Android 1.5 (API level 3)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: QVGA-P, HVGA-L, HVGA (default), QVGA-L, HVGA-P
id: 8 or "Google Inc.:Google APIs:4"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 1.6 (API level 4)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, HVGA (default), WVGA800, QVGA
id: 9 or "Google Inc.:Google APIs:5"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.0 (API level 5)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
id: 10 or "Google Inc.:Google APIs:6"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.0.1 (API level 6)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
id: 11 or "Google Inc.:Google APIs:7"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.1 (API level 7)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
Available Android targets:
id: 1 or "android-2"
Name: Android 1.1
Type: Platform
API level: 2
Revision: 1
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 2 or "android-3"
Name: Android 1.5
Type: Platform
API level: 3
Revision: 1
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 3 or "android-4"
Name: Android 1.6
Type: Platform
API level: 4
Revision: 1
Skins: HVGA (default), QVGA, WVGA800, WVGA854
id: 4 or "android-5"
Name: Android 2.0
Type: Platform
API level: 5
Revision: 1
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 5 or "android-6"
Name: Android 2.0.1
Type: Platform
API level: 6
Revision: 1
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 6 or "android-7"
Name: Android 2.1
Type: Platform
API level: 7
Revision: 1
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 7 or "Google Inc.:Google APIs:3"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 3
Description: Android + Google APIs
Based on Android 1.5 (API level 3)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: QVGA-P, HVGA-L, HVGA (default), QVGA-L, HVGA-P
id: 8 or "Google Inc.:Google APIs:4"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 1.6 (API level 4)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, HVGA (default), WVGA800, QVGA
id: 9 or "Google Inc.:Google APIs:5"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.0 (API level 5)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
id: 10 or "Google Inc.:Google APIs:6"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.0.1 (API level 6)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
id: 11 or "Google Inc.:Google APIs:7"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.1 (API level 7)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
2010년 1월 22일 금요일
[안드로이드] AVD 가로/세로 모드 전환
안드로이드 애뮬레이터인 AVD(Android Virtual Device)의 가로/세로 전환은 [CTRL] + F11 또는 [CTRL] + F12를 누르면 화면이 가로방향 또는 세로방향으로 전환된다.
컨트롤 키를 계속 누른상태에서 펑션키를 누르면 안바뀜...주의
또한 숫자키패드의 [7], [8]번 키도 같은 역할을 하지만 [NumLock]이 꺼져 있어야 작동한다.
■ AVD 가로/세로 모드 전환
- [CTRL] + F11
- [CTRL] + F12
- 숫자키패드의 [7]
- 숫자키패드의 [8]
컨트롤 키를 계속 누른상태에서 펑션키를 누르면 안바뀜...주의
또한 숫자키패드의 [7], [8]번 키도 같은 역할을 하지만 [NumLock]이 꺼져 있어야 작동한다.
■ AVD 가로/세로 모드 전환
- [CTRL] + F11
- [CTRL] + F12
- 숫자키패드의 [7]
- 숫자키패드의 [8]
[안드로이드] 설치된 어플 삭제
[Settings] > [Applications] > [Manage applications] > 설치된 어플 선택 후 삭제
라벨:
삭제,
안드로이드,
앱,
Android,
Programming
[Gimp]도구상자 폰트 크기 변경 방법
■ 김프 버전 : v2.6.8
처음 실행시 폰트가 작게 설정되어 있어 깨져보이는데 아래 파일을 수정해서 재실행 하면 조금 편해보인다.
C:\Program Files\GIMP-2.0\share\gimp\2.0\themes 폴더에 테마가 두개(Default, Small) 있는데, 현재는 기본설정이므로 Default폴더안에 gtkrc파일을 열어서 수정합니다.
수정할 파일명 : gtkrc
처음 실행시 폰트가 작게 설정되어 있어 깨져보이는데 아래 파일을 수정해서 재실행 하면 조금 편해보인다.
C:\Program Files\GIMP-2.0\share\gimp\2.0\themes 폴더에 테마가 두개(Default, Small) 있는데, 현재는 기본설정이므로 Default폴더안에 gtkrc파일을 열어서 수정합니다.
수정할 파일명 : gtkrc
GimpDock::default-height = 300
GimpDock::font-scale = 0.8333 ->1로 변경
GimpDockSeparator::height = 6
GimpDock::font-scale = 0.8333 ->1로 변경
GimpDockSeparator::height = 6
2010년 1월 16일 토요일
CentOS Upgrade
■ Step #1 (업그레이드 및 시스템 재시작)
# yum list updates (업데이트 될 리스트를 확인)
# yum update
# reboot
■ Step #2 (업그레이드 확인)
# cat /etc/redhat-release
또는
# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics...
Distributor ID: CentOS
Description: CentOS release 5.4 (Final)
Release: 5.4
Codename: Final
# yum list updates (업데이트 될 리스트를 확인)
# yum update
# reboot
■ Step #2 (업그레이드 확인)
# cat /etc/redhat-release
또는
# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics...
Distributor ID: CentOS
Description: CentOS release 5.4 (Final)
Release: 5.4
Codename: Final
피드 구독하기:
글 (Atom)