2011년 3월 9일 수요일
2011년 2월 15일 화요일
[android] Monkey tool script
1. make a txt file.
<pre>
type= raw data
count=10
speed= 250
start data >>
# Start Setting app
LaunchActivity(com.android.settings,com.android.settings.Settings)
UserWait(2000)
# touch
DispatchPointer(0, 0, 0, 210, 300, 0,0,0,0,0,0,0) //touch 0, x 210, y 300
DispatchPointer(0, 0, 1, 210, 300, 0,0,0,0,0,0,0) //release 1. x 210, y 300
UserWait(2000) // wait.
# Home key
captureDispatchKey(0,0,0,3,0,0,0,0) //push 0, home 3
captureDispatchKey(0,0,1,3,0,0,0,0) //release 1, home 3
* key info
http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BACK
2. adb push script file
> adb push script.txt /where
3. go~ 10 times.
> adb shell monkey -f /where/script.txt 10
<pre>
type= raw data
count=10
speed= 250
start data >>
# Start Setting app
LaunchActivity(com.android.settings,com.android.settings.Settings)
UserWait(2000)
# touch
DispatchPointer(0, 0, 0, 210, 300, 0,0,0,0,0,0,0) //touch 0, x 210, y 300
DispatchPointer(0, 0, 1, 210, 300, 0,0,0,0,0,0,0) //release 1. x 210, y 300
UserWait(2000) // wait.
# Home key
captureDispatchKey(0,0,0,3,0,0,0,0) //push 0, home 3
captureDispatchKey(0,0,1,3,0,0,0,0) //release 1, home 3
* key info
http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BACK
2. adb push script file
> adb push script.txt /where
3. go~ 10 times.
> adb shell monkey -f /where/script.txt 10
2010년 12월 26일 일요일
내 어플에 Admob 광고 달기
- http://blog.naver.com/csj4032?Redirect=Log&logNo=60117791414
-
1. http://www.androidside.com/bbs/board.php?bo_table=B46&wr_id=7243 admob가입
* http://www.androidside.com/bbs/board.php?bo_table=B46&wr_id=15507 admob sdk받는 방법이 약간 바껴서 새로 업데이트 하신 내용.. 무슨 차이지?
2. http://www.androidside.com/bbs/board.php?bo_table=B46&wr_id=7244 소스 수정.
간단히..
1. AdMob 에 가입해서 어플을 등록하고 publish ID를 알아놓습니다.
2. 다운받은 sdk에서 jar파일 땡겨서 libs 추가
2. xml을 수정합니다. attrs.xml 추가, AndroidManifest.xml 수정.
3. java파일에서 setTestDevices()를 한다.
* adsense도 달수 있나보군~
http://www.androidpub.com/752440
자세한건 집에가서 다시~
-
1. http://www.androidside.com/bbs/board.php?bo_table=B46&wr_id=7243 admob가입
* http://www.androidside.com/bbs/board.php?bo_table=B46&wr_id=15507 admob sdk받는 방법이 약간 바껴서 새로 업데이트 하신 내용.. 무슨 차이지?
간단히..
1. AdMob 에 가입해서 어플을 등록하고 publish ID를 알아놓습니다.
2. 다운받은 sdk에서 jar파일 땡겨서 libs 추가
2. xml을 수정합니다. attrs.xml 추가, AndroidManifest.xml 수정.
3. java파일에서 setTestDevices()를 한다.
* adsense도 달수 있나보군~
http://www.androidpub.com/752440
자세한건 집에가서 다시~
2010년 12월 25일 토요일
2010년 12월 23일 목요일
Introducing Nexus S with Gingerbread
http://googleblog.blogspot.com/2010/12/introducing-nexus-s-with-gingerbread.html
Here’s a glimpse of the “magic” of Google on Nexus S:
Here’s a glimpse of the “magic” of Google on Nexus S:
피드 구독하기:
글 (Atom)