์๋๋ก์ด๋ - adb ํฐ์น&์ค์์ดํ(์คํฌ๋กค) ์ด๋ฒคํธ
ํฐ์น
adb shell input tap 500 500
์ค์์ดํ(์คํฌ๋กค)
adb shell input swipe 500 500 100 1000 100
# adb shell input swipe xSource, ySource, xDestination, yDestination, Duration(ms)
๋ค๋ก๊ฐ๊ธฐ
input keyevent 4
//ํน์
input keyevent 187
์์ธํ ํฐ์น x, y ์ขํ๋ฅผ ์ป๊ณ ์ถ๋ค๋ฉด ๊ฐ๋ฐ์ ์ต์ ์์ ์ ๋ ฅ ๋ฉ๋ด์ "ํฌ์ธํฐ ์์น" ์ต์ ์ ์ผ์ฃผ๋ฉด ๋๋ค.
์ถ์ฒ:
https://code-clipping.tistory.com/4
์๋๋ก์ด๋ ํฐ์น ์ด๋ฒคํธ (adb shell input tap)
adb shell input tap 500 500 Command: adb shell input tap xPosition YPosition (xPosition, yPosition์ tapํ๊ณ ์ ํ๋ ์์น๋ฅผ ์๋ฏธ) ์ค๋ช : xPosition, yPosition ์์น์ ์งง๊ฒ ํฐ์น. xPosition, yPosition์ ์ฝ๊ฒ ์ฐพ๋ ๋ฐฉ๋ฒ์ Developer Opti
code-clipping.tistory.com
https://code-clipping.tistory.com/5
์๋๋ก์ด๋ ๋๋๊ทธ? ์ด๋ฒคํธ (adb shell input swipe)
adb shell input swipe 500 500 100 1000 100 command: adb shell input swipe xSource, ySource, xDestination, yDestination, Duration ex) adb shell input swipe 500 500 100 1000 100-> (500, 500) ์ขํ์์ (100,1000)๋ก 100ms๋์ ํฐ์น๋ฅผ ํด์ ์์ง์ธ
code-clipping.tistory.com
https://www.kpaper.com/2017/09/android-shell-back.html
Android Shell ๋ก ๋ค๋ก๊ฐ๊ธฐ(Back) ๋ฒํผ ์ ๋ ฅํ๊ธฐ
Unity3D ๊ฐ๋ฐ์, ์ธ๋๊ฒ์ ์ ์, ์ค๋งํธ ๊ธฐ๊ธฐ ๊ฐ๋ด ๋ฐ ์ฌ์ฉ๊ธฐ, ์ทจ๋ฏธ ๊ณต์ ๊ด๋ จ ๋ธ๋ก๊ทธ ์ ๋๋ค.
www.kpaper.com