블로그 이미지
박공명

카테고리

분류 전체보기 (99)
된장 (7)
Dev (60)
꼐..꼐임 (6)
식탐 (18)
우리 (0)
Etc (8)
개인자료 (0)
Total
Today
Yesterday

'android'에 해당되는 글 3건

  1. 2011.05.20 android source 브랜치 가져오기
  2. 2011.05.20 android fastboot 사용하기
  3. 2010.10.28 JNI ? 1

앞서 설명한대로 소스를 다 받아와서 그대로 폰에올리면 나처럼 클난다.

master소스를 그대로 sync 하면 최신소스이지만 제정상일리가 없잖은가

소스를 받아왔다면 내가원하는 버젼의 브랜치로 갈아탈 필요가 있다.

$repo start {branch name} --all
$repo forall -c git checkout {tag name}

Source code tags and builds

Starting with Donut, the exact list of tags and builds is in the following table:

Build Tag Notes
DRC83 android-1.6_r1.1 earliest Donut version, ADP1, ADP2
DRC92 android-1.6_r1.2
DRD08 android-1.6_r1.3
DRD20 android-1.6_r1.4
DMD64 android-1.6_r1.5 latest Donut version
ESD20 android-2.0_r1 earliest Eclair version
ESD56 android-2.0.1_r1
ERD79 android-2.1_r1 Nexus One
ERE27 android-2.1_r2 Nexus One
EPE54B android-2.1_r2.1p Nexus One
ESE81 android-2.1_r2.1s
EPF21B android-2.1_r2.1p2 latest Eclair version
FRF85B android-2.2_r1 earliest Froyo version, Nexus One
FRF91 android-2.2_r1.1 Nexus One
FRG01B android-2.2_r1.2
FRG22D android-2.2_r1.3
FRG83 android-2.2.1_r1 Nexus One
FRG83D android-2.2.1_r2 Nexus One
FRG83G android-2.2.2_r1 latest Froyo version, Nexus One
GRH55 android-2.3_r1 earliest Gingerbread version, Nexus S
GRH78 android-2.3.1_r1 Nexus S
GRH78C android-2.3.2_r1 Nexus S
GRI40 android-2.3.3_r1 Nexus One, Nexus S
GRI54 android-2.3.3_r1.1 Nexus S
GRJ06D android-2.3.4_r0.9 Nexus S 4G
GRJ22 android-2.3.4_r1 latest Gingerbread version, Nexus One, Nexus S, Nexus S 4G

'Dev > Android' 카테고리의 다른 글

REAL 3D 를 사용한 OpenGL 게임  (2) 2011.07.14
git command , git 명령어  (0) 2011.05.21
android fastboot 사용하기  (0) 2011.05.20
우분투에 안드로이드 프로젝트 세팅  (0) 2011.05.18
Real 3D - 단순 이미지 3D 구현  (0) 2011.04.20
Posted by 박공명
, |

fastboot란 우리가 빌드한 이미지들을 타겟에 올릴수있게 도와주는 툴이다.

사용하기위해서는 fastboot모드로 부팅해야한다.

Device Keys
crespo Press and hold Volume Up, then press and hold Power
crespo4g Press and hold Volume Up, then press and hold Power
passion Press and hold the trackball, then press Power
sapphire Press and hold Back, then press Power
dream Press and hold Back, then press Power


파티션의 구조
splash1 : 320*480 image
kernel : boot.img
recovery : recovery.img
system : android platform
userdata : application and userdata
cache : temp

fastboot command
usage: fastboot [ <option> ] <command>

commands:
  update <filename>                        reflash device from update.zip
  flashall                                 flash boot + recovery + system
  flash <partition> [ <filename> ]         write a file to a flash partition
  erase <partition>                        erase a flash partition
  getvar <variable>                        display a bootloader variable
  boot <kernel> [ <ramdisk> ]              download and boot kernel
  flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
  devices                                  list all connected devices
  reboot                                   reboot device normally
  reboot-bootloader                        reboot device into bootloader

options:
  -w                                       erase userdata and cache
  -s <serial number>                       specify device serial number
  -p <product>                             specify product name
  -c <cmdline>                             override kernel commandline
  -i <vendor id>                           specify a custom USB vendor id
  -b <base_addr>                           specify a custom kernel base address
  -n <page size>                           specify the nand page size. default: 2048

예시
$fastboot erase boot
$fastboot erase recovery
$fastboot boot {kernel} {ramdisk}
$fastboot flash:raw boot {kernel} {ramdisk}

ex)fastboot flash 파티션 이미지

'Dev > Android' 카테고리의 다른 글

git command , git 명령어  (0) 2011.05.21
android source 브랜치 가져오기  (0) 2011.05.20
우분투에 안드로이드 프로젝트 세팅  (0) 2011.05.18
Real 3D - 단순 이미지 3D 구현  (0) 2011.04.20
Real 3D 개요  (0) 2011.04.19
Posted by 박공명
, |

JNI ?

Dev/Android / 2010. 10. 28. 11:38

1. native 메소드 선언(ex: public native helloworldPrint();
2. javah 를사용하여 헤더파일 생성
3. 헤더파일에 선언된 함수명을 참조하여 cpp 작성
4. so파일 생성

참조하는법
static {
    System.loadLibrary("생성된so파일에서 맨앞lib제거된이름");
}

개념 잡히면 다시정리함

'Dev > Android' 카테고리의 다른 글

Real 3D 개요  (0) 2011.04.19
LG Real 3D SDK  (1) 2011.04.13
안드로이드 교육내용  (0) 2010.09.13
이클립스에서 안드로이드 프로젝트에 이유없는 에러표시  (0) 2010.06.16
안드로이드 세팅  (0) 2010.04.13
Posted by 박공명
, |

최근에 달린 댓글

최근에 받은 트랙백

글 보관함