๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • Tried. Failed. Logged.
๐Ÿง์šด์˜์ฒด์ œ/Android & ios

์•ˆ๋“œ๋กœ์ด๋“œ - adb ํ„ฐ์น˜&์Šค์™€์ดํ”„(์Šคํฌ๋กค) ์ด๋ฒคํŠธ

by Janger 2023. 1. 14.
728x90
ํ„ฐ์น˜
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

 

728x90