android/*: add Indonesian translation (#6399)

This commit is contained in:
Reinhart Previano Koentjoro
2021-08-26 13:39:26 +07:00
committed by GitHub
parent b0cb85ae98
commit 2ff6d3a89f
12 changed files with 233 additions and 0 deletions

25
pages.id/android/input.md Normal file
View File

@@ -0,0 +1,25 @@
# input
> Mengirim sinyal input terhadap sebuah perangkat Android.
> Perintah ini hanya dapat dijalankan melalui `adb shell`.
> Informasi lebih lanjut: <https://developer.android.com/reference/android/view/KeyEvent.html#constants_1>.
- Memasukkan input karakter (layaknya pada papan kunci / keyboard) terhadap perangkat Android:
`input keyevent {{kode_event}}`
- Memasukkan input teks ke dalam perangkat Android (spasi ditandai dengan `%s`):
`input text "{{teks}}"`
- Memasukkan input sentuhan layar pada posisi tertentu:
`input tap {{posisi_x}} {{posisi_y}}`
- Mensimulasikan gerakan usap/swipe terhadap perangkat Android:
`input swipe {{posisi_awal_x}} {{posisi_awal_y}} {{posisi_akhir_x}} {{posisi_akhir_y}} {{durasi_dalam_milidetik}}`
- Mensimulasikan interaksi tekan-dan-tahan terhadap perangkat Android:
`input swipe {{posisi_x}} {{posisi_y}} {{posisi_x}} {{posisi_y}} {{durasi_dalam_milidetik}}`