조회 수 12978 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print

JB 에서 사용 가능한 방법

이 방법은 내가 회사 테스트폰에서만 확인한 방법이라,

다른 폰에서도 공통적으로 사용가능 한지 모르겠다.


adb shell input <명령> 


을 사용하는 방법인데, JB 의 input 에는 ICS 는 없던 명령이 추가 되었다.

바로 tap 이라는 명령.


adb shell input tap x좌표 y좌표

adb shell input keyevent <키코드값 or 키코드이름>


위 두 가지로 매우 편하게 터치/키이벤트를 보낼 수 있다.




ICS 에서 사용 가능한 방법

참고사이트: http://whitesnows.blogspot.kr/2011/02/android-monkey-tool-script.html

==> Monkey Tool Script 를 이용


1. 이벤트를 정의한 txt 파일을 만들어서

2. txt 파일을 폰의 임의의 위치에 밀어 넣고  --> adb push a.txt /mnt/sdcard/

3. adb shell monkey -f /mnt/sdcard/a.txt [반복횟수]


-----------------------------------------------------------

<pre>

   type= raw data
   count=10    // count= 1 하면 잘 안되는 듯. 반복횟수가 1 이면 그냥 이 항목 지우길...
   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



-----------------------------------------------------------



[키코드]


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
public static final int KEYCODE_UNKNOWN         = 0;
/** Key code constant: Soft Left key.
 * Usually situated below the display on phones and used as a multi-function
 * feature key for selecting a software defined function shown on the bottom left
 * of the display. */
public static final int KEYCODE_SOFT_LEFT       = 1;
/** Key code constant: Soft Right key.
 * Usually situated below the display on phones and used as a multi-function
 * feature key for selecting a software defined function shown on the bottom right
 * of the display. */
public static final int KEYCODE_SOFT_RIGHT      = 2;
/** Key code constant: Home key.
 * This key is handled by the framework and is never delivered to applications. */
public static final int KEYCODE_HOME            = 3;
/** Key code constant: Back key. */
public static final int KEYCODE_BACK            = 4;
/** Key code constant: Call key. */
public static final int KEYCODE_CALL            = 5;
/** Key code constant: End Call key. */
public static final int KEYCODE_ENDCALL         = 6;
/** Key code constant: '0' key. */
public static final int KEYCODE_0               = 7;
/** Key code constant: '1' key. */
public static final int KEYCODE_1               = 8;
/** Key code constant: '2' key. */
public static final int KEYCODE_2               = 9;
/** Key code constant: '3' key. */
public static final int KEYCODE_3               = 10;
/** Key code constant: '4' key. */
public static final int KEYCODE_4               = 11;
/** Key code constant: '5' key. */
public static final int KEYCODE_5               = 12;
/** Key code constant: '6' key. */
public static final int KEYCODE_6               = 13;
/** Key code constant: '7' key. */
public static final int KEYCODE_7               = 14;
/** Key code constant: '8' key. */
public static final int KEYCODE_8               = 15;
/** Key code constant: '9' key. */
public static final int KEYCODE_9               = 16;
/** Key code constant: '*' key. */
public static final int KEYCODE_STAR            = 17;
/** Key code constant: '#' key. */
public static final int KEYCODE_POUND           = 18;
/** Key code constant: Directional Pad Up key.
 * May also be synthesized from trackball motions. */
public static final int KEYCODE_DPAD_UP         = 19;
/** Key code constant: Directional Pad Down key.
 * May also be synthesized from trackball motions. */
public static final int KEYCODE_DPAD_DOWN       = 20;
/** Key code constant: Directional Pad Left key.
 * May also be synthesized from trackball motions. */
public static final int KEYCODE_DPAD_LEFT       = 21;
/** Key code constant: Directional Pad Right key.
 * May also be synthesized from trackball motions. */
public static final int KEYCODE_DPAD_RIGHT      = 22;
/** Key code constant: Directional Pad Center key.
 * May also be synthesized from trackball motions. */
public static final int KEYCODE_DPAD_CENTER     = 23;
/** Key code constant: Volume Up key.
 * Adjusts the speaker volume up. */
public static final int KEYCODE_VOLUME_UP       = 24;
/** Key code constant: Volume Down key.
 * Adjusts the speaker volume down. */
public static final int KEYCODE_VOLUME_DOWN     = 25;
/** Key code constant: Power key. */
public static final int KEYCODE_POWER           = 26;
/** Key code constant: Camera key.
 * Used to launch a camera application or take pictures. */
public static final int KEYCODE_CAMERA          = 27;
/** Key code constant: Clear key. */
public static final int KEYCODE_CLEAR           = 28;
/** Key code constant: 'A' key. */
public static final int KEYCODE_A               = 29;
/** Key code constant: 'B' key. */
public static final int KEYCODE_B               = 30;
/** Key code constant: 'C' key. */
public static final int KEYCODE_C               = 31;
/** Key code constant: 'D' key. */
public static final int KEYCODE_D               = 32;
/** Key code constant: 'E' key. */
public static final int KEYCODE_E               = 33;
/** Key code constant: 'F' key. */
public static final int KEYCODE_F               = 34;
/** Key code constant: 'G' key. */
public static final int KEYCODE_G               = 35;
/** Key code constant: 'H' key. */
public static final int KEYCODE_H               = 36;
/** Key code constant: 'I' key. */
public static final int KEYCODE_I               = 37;
/** Key code constant: 'J' key. */
public static final int KEYCODE_J               = 38;
/** Key code constant: 'K' key. */
public static final int KEYCODE_K               = 39;
/** Key code constant: 'L' key. */
public static final int KEYCODE_L               = 40;
/** Key code constant: 'M' key. */
public static final int KEYCODE_M               = 41;
/** Key code constant: 'N' key. */
public static final int KEYCODE_N               = 42;
/** Key code constant: 'O' key. */
public static final int KEYCODE_O               = 43;
/** Key code constant: 'P' key. */
public static final int KEYCODE_P               = 44;
/** Key code constant: 'Q' key. */
public static final int KEYCODE_Q               = 45;
/** Key code constant: 'R' key. */
public static final int KEYCODE_R               = 46;
/** Key code constant: 'S' key. */
public static final int KEYCODE_S               = 47;
/** Key code constant: 'T' key. */
public static final int KEYCODE_T               = 48;
/** Key code constant: 'U' key. */
public static final int KEYCODE_U               = 49;
/** Key code constant: 'V' key. */
public static final int KEYCODE_V               = 50;
/** Key code constant: 'W' key. */
public static final int KEYCODE_W               = 51;
/** Key code constant: 'X' key. */
public static final int KEYCODE_X               = 52;
/** Key code constant: 'Y' key. */
public static final int KEYCODE_Y               = 53;
/** Key code constant: 'Z' key. */
public static final int KEYCODE_Z               = 54;
/** Key code constant: ',' key. */
public static final int KEYCODE_COMMA           = 55;
/** Key code constant: '.' key. */
public static final int KEYCODE_PERIOD          = 56;
/** Key code constant: Left Alt modifier key. */
public static final int KEYCODE_ALT_LEFT        = 57;
/** Key code constant: Right Alt modifier key. */
public static final int KEYCODE_ALT_RIGHT       = 58;
/** Key code constant: Left Shift modifier key. */
public static final int KEYCODE_SHIFT_LEFT      = 59;
/** Key code constant: Right Shift modifier key. */
public static final int KEYCODE_SHIFT_RIGHT     = 60;
/** Key code constant: Tab key. */
public static final int KEYCODE_TAB             = 61;
/** Key code constant: Space key. */
public static final int KEYCODE_SPACE           = 62;
/** Key code constant: Symbol modifier key.
 * Used to enter alternate symbols. */
public static final int KEYCODE_SYM             = 63;
/** Key code constant: Explorer special function key.
 * Used to launch a browser application. */
public static final int KEYCODE_EXPLORER        = 64;
/** Key code constant: Envelope special function key.
 * Used to launch a mail application. */
public static final int KEYCODE_ENVELOPE        = 65;
/** Key code constant: Enter key. */
public static final int KEYCODE_ENTER           = 66;
/** Key code constant: Backspace key.
 * Deletes characters before the insertion point, unlike {@link #KEYCODE_FORWARD_DEL}. */
public static final int KEYCODE_DEL             = 67;
/** Key code constant: '`' (backtick) key. */
public static final int KEYCODE_GRAVE           = 68;
/** Key code constant: '-'. */
public static final int KEYCODE_MINUS           = 69;
/** Key code constant: '=' key. */
public static final int KEYCODE_EQUALS          = 70;
/** Key code constant: '[' key. */
public static final int KEYCODE_LEFT_BRACKET    = 71;
/** Key code constant: ']' key. */
public static final int KEYCODE_RIGHT_BRACKET   = 72;
/** Key code constant: '\' key. */
public static final int KEYCODE_BACKSLASH       = 73;
/** Key code constant: ';' key. */
public static final int KEYCODE_SEMICOLON       = 74;
/** Key code constant: ''' (apostrophe) key. */
public static final int KEYCODE_APOSTROPHE      = 75;
/** Key code constant: '/' key. */
public static final int KEYCODE_SLASH           = 76;
/** Key code constant: '@' key. */
public static final int KEYCODE_AT              = 77;
/** Key code constant: Number modifier key.
 * Used to enter numeric symbols.
 * This key is not Num Lock; it is more like {@link #KEYCODE_ALT_LEFT} and is
 * interpreted as an ALT key by {@link android.text.method.MetaKeyKeyListener}. */
public static final int KEYCODE_NUM             = 78;
/** Key code constant: Headset Hook key.
 * Used to hang up calls and stop media. */
public static final int KEYCODE_HEADSETHOOK     = 79;
/** Key code constant: Camera Focus key.
 * Used to focus the camera. */
public static final int KEYCODE_FOCUS           = 80;   // *Camera* focus
/** Key code constant: '+' key. */
public static final int KEYCODE_PLUS            = 81;
/** Key code constant: Menu key. */
public static final int KEYCODE_MENU            = 82;
/** Key code constant: Notification key. */
public static final int KEYCODE_NOTIFICATION    = 83;
/** Key code constant: Search key. */
public static final int KEYCODE_SEARCH          = 84;
/** Key code constant: Play/Pause media key. */
public static final int KEYCODE_MEDIA_PLAY_PAUSE= 85;
/** Key code constant: Stop media key. */
public static final int KEYCODE_MEDIA_STOP      = 86;
/** Key code constant: Play Next media key. */
public static final int KEYCODE_MEDIA_NEXT      = 87;
/** Key code constant: Play Previous media key. */
public static final int KEYCODE_MEDIA_PREVIOUS  = 88;
/** Key code constant: Rewind media key. */
public static final int KEYCODE_MEDIA_REWIND    = 89;
/** Key code constant: Fast Forward media key. */
public static final int KEYCODE_MEDIA_FAST_FORWARD = 90;
/** Key code constant: Mute key.
 * Mutes the microphone, unlike {@link #KEYCODE_VOLUME_MUTE}. */
public static final int KEYCODE_MUTE            = 91;
/** Key code constant: Page Up key. */
public static final int KEYCODE_PAGE_UP         = 92;
/** Key code constant: Page Down key. */
public static final int KEYCODE_PAGE_DOWN       = 93;
/** Key code constant: Picture Symbols modifier key.
 * Used to switch symbol sets (Emoji, Kao-moji). */
public static final int KEYCODE_PICTSYMBOLS     = 94;   // switch symbol-sets (Emoji,Kao-moji)
/** Key code constant: Switch Charset modifier key.
 * Used to switch character sets (Kanji, Katakana). */
public static final int KEYCODE_SWITCH_CHARSET  = 95;   // switch char-sets (Kanji,Katakana)
/** Key code constant: A Button key.
 * On a game controller, the A button should be either the button labeled A
 * or the first button on the bottom row of controller buttons. */
public static final int KEYCODE_BUTTON_A        = 96;
/** Key code constant: B Button key.
 * On a game controller, the B button should be either the button labeled B
 * or the second button on the bottom row of controller buttons. */
public static final int KEYCODE_BUTTON_B        = 97;
/** Key code constant: C Button key.
 * On a game controller, the C button should be either the button labeled C
 * or the third button on the bottom row of controller buttons. */
public static final int KEYCODE_BUTTON_C        = 98;
/** Key code constant: X Button key.
 * On a game controller, the X button should be either the button labeled X
 * or the first button on the upper row of controller buttons. */
public static final int KEYCODE_BUTTON_X        = 99;
/** Key code constant: Y Button key.
 * On a game controller, the Y button should be either the button labeled Y
 * or the second button on the upper row of controller buttons. */
public static final int KEYCODE_BUTTON_Y        = 100;
/** Key code constant: Z Button key.
 * On a game controller, the Z button should be either the button labeled Z
 * or the third button on the upper row of controller buttons. */
public static final int KEYCODE_BUTTON_Z        = 101;
/** Key code constant: L1 Button key.
 * On a game controller, the L1 button should be either the button labeled L1 (or L)
 * or the top left trigger button. */
public static final int KEYCODE_BUTTON_L1       = 102;
/** Key code constant: R1 Button key.
 * On a game controller, the R1 button should be either the button labeled R1 (or R)
 * or the top right trigger button. */
public static final int KEYCODE_BUTTON_R1       = 103;
/** Key code constant: L2 Button key.
 * On a game controller, the L2 button should be either the button labeled L2
 * or the bottom left trigger button. */
public static final int KEYCODE_BUTTON_L2       = 104;
/** Key code constant: R2 Button key.
 * On a game controller, the R2 button should be either the button labeled R2
 * or the bottom right trigger button. */
public static final int KEYCODE_BUTTON_R2       = 105;
/** Key code constant: Left Thumb Button key.
 * On a game controller, the left thumb button indicates that the left (or only)
 * joystick is pressed. */
public static final int KEYCODE_BUTTON_THUMBL   = 106;
/** Key code constant: Right Thumb Button key.
 * On a game controller, the right thumb button indicates that the right
 * joystick is pressed. */
public static final int KEYCODE_BUTTON_THUMBR   = 107;
/** Key code constant: Start Button key.
 * On a game controller, the button labeled Start. */
public static final int KEYCODE_BUTTON_START    = 108;
/** Key code constant: Select Button key.
 * On a game controller, the button labeled Select. */
public static final int KEYCODE_BUTTON_SELECT   = 109;
/** Key code constant: Mode Button key.
 * On a game controller, the button labeled Mode. */
public static final int KEYCODE_BUTTON_MODE     = 110;
/** Key code constant: Escape key. */
public static final int KEYCODE_ESCAPE          = 111;
/** Key code constant: Forward Delete key.
 * Deletes characters ahead of the insertion point, unlike {@link #KEYCODE_DEL}. */
public static final int KEYCODE_FORWARD_DEL     = 112;
/** Key code constant: Left Control modifier key. */
public static final int KEYCODE_CTRL_LEFT       = 113;
/** Key code constant: Right Control modifier key. */
public static final int KEYCODE_CTRL_RIGHT      = 114;
/** Key code constant: Caps Lock key. */
public static final int KEYCODE_CAPS_LOCK       = 115;
/** Key code constant: Scroll Lock key. */
public static final int KEYCODE_SCROLL_LOCK     = 116;
/** Key code constant: Left Meta modifier key. */
public static final int KEYCODE_META_LEFT       = 117;
/** Key code constant: Right Meta modifier key. */
public static final int KEYCODE_META_RIGHT      = 118;
/** Key code constant: Function modifier key. */
public static final int KEYCODE_FUNCTION        = 119;
/** Key code constant: System Request / Print Screen key. */
public static final int KEYCODE_SYSRQ           = 120;
/** Key code constant: Break / Pause key. */
public static final int KEYCODE_BREAK           = 121;
/** Key code constant: Home Movement key.
 * Used for scrolling or moving the cursor around to the start of a line
 * or to the top of a list. */
public static final int KEYCODE_MOVE_HOME       = 122;
/** Key code constant: End Movement key.
 * Used for scrolling or moving the cursor around to the end of a line
 * or to the bottom of a list. */
public static final int KEYCODE_MOVE_END        = 123;
/** Key code constant: Insert key.
 * Toggles insert / overwrite edit mode. */
public static final int KEYCODE_INSERT          = 124;
/** Key code constant: Forward key.
 * Navigates forward in the history stack.  Complement of {@link #KEYCODE_BACK}. */
public static final int KEYCODE_FORWARD         = 125;
/** Key code constant: Play media key. */
public static final int KEYCODE_MEDIA_PLAY      = 126;
/** Key code constant: Pause media key. */
public static final int KEYCODE_MEDIA_PAUSE     = 127;
/** Key code constant: Close media key.
 * May be used to close a CD tray, for example. */
public static final int KEYCODE_MEDIA_CLOSE     = 128;
/** Key code constant: Eject media key.
 * May be used to eject a CD tray, for example. */
public static final int KEYCODE_MEDIA_EJECT     = 129;
/** Key code constant: Record media key. */
public static final int KEYCODE_MEDIA_RECORD    = 130;
/** Key code constant: F1 key. */
public static final int KEYCODE_F1              = 131;
/** Key code constant: F2 key. */
public static final int KEYCODE_F2              = 132;
/** Key code constant: F3 key. */
public static final int KEYCODE_F3              = 133;
/** Key code constant: F4 key. */
public static final int KEYCODE_F4              = 134;
/** Key code constant: F5 key. */
public static final int KEYCODE_F5              = 135;
/** Key code constant: F6 key. */
public static final int KEYCODE_F6              = 136;
/** Key code constant: F7 key. */
public static final int KEYCODE_F7              = 137;
/** Key code constant: F8 key. */
public static final int KEYCODE_F8              = 138;
/** Key code constant: F9 key. */
public static final int KEYCODE_F9              = 139;
/** Key code constant: F10 key. */
public static final int KEYCODE_F10             = 140;
/** Key code constant: F11 key. */
public static final int KEYCODE_F11             = 141;
/** Key code constant: F12 key. */
public static final int KEYCODE_F12             = 142;
/** Key code constant: Num Lock key.
 * This is the Num Lock key; it is different from {@link #KEYCODE_NUM}.
 * This key alters the behavior of other keys on the numeric keypad. */
public static final int KEYCODE_NUM_LOCK        = 143;
/** Key code constant: Numeric keypad '0' key. */
public static final int KEYCODE_NUMPAD_0        = 144;
/** Key code constant: Numeric keypad '1' key. */
public static final int KEYCODE_NUMPAD_1        = 145;
/** Key code constant: Numeric keypad '2' key. */
public static final int KEYCODE_NUMPAD_2        = 146;
/** Key code constant: Numeric keypad '3' key. */
public static final int KEYCODE_NUMPAD_3        = 147;
/** Key code constant: Numeric keypad '4' key. */
public static final int KEYCODE_NUMPAD_4        = 148;
/** Key code constant: Numeric keypad '5' key. */
public static final int KEYCODE_NUMPAD_5        = 149;
/** Key code constant: Numeric keypad '6' key. */
public static final int KEYCODE_NUMPAD_6        = 150;
/** Key code constant: Numeric keypad '7' key. */
public static final int KEYCODE_NUMPAD_7        = 151;
/** Key code constant: Numeric keypad '8' key. */
public static final int KEYCODE_NUMPAD_8        = 152;
/** Key code constant: Numeric keypad '9' key. */
public static final int KEYCODE_NUMPAD_9        = 153;
/** Key code constant: Numeric keypad '/' key (for division). */
public static final int KEYCODE_NUMPAD_DIVIDE   = 154;
/** Key code constant: Numeric keypad '*' key (for multiplication). */
public static final int KEYCODE_NUMPAD_MULTIPLY = 155;
/** Key code constant: Numeric keypad '-' key (for subtraction). */
public static final int KEYCODE_NUMPAD_SUBTRACT = 156;
/** Key code constant: Numeric keypad '+' key (for addition). */
public static final int KEYCODE_NUMPAD_ADD      = 157;
/** Key code constant: Numeric keypad '.' key (for decimals or digit grouping). */
public static final int KEYCODE_NUMPAD_DOT      = 158;
/** Key code constant: Numeric keypad ',' key (for decimals or digit grouping). */
public static final int KEYCODE_NUMPAD_COMMA    = 159;
/** Key code constant: Numeric keypad Enter key. */
public static final int KEYCODE_NUMPAD_ENTER    = 160;
/** Key code constant: Numeric keypad '=' key. */
public static final int KEYCODE_NUMPAD_EQUALS   = 161;
/** Key code constant: Numeric keypad '(' key. */
public static final int KEYCODE_NUMPAD_LEFT_PAREN = 162;
/** Key code constant: Numeric keypad ')' key. */
public static final int KEYCODE_NUMPAD_RIGHT_PAREN = 163;
/** Key code constant: Volume Mute key.
 * Mutes the speaker, unlike {@link #KEYCODE_MUTE}.
 * This key should normally be implemented as a toggle such that the first press
 * mutes the speaker and the second press restores the original volume. */
public static final int KEYCODE_VOLUME_MUTE     = 164;
/** Key code constant: Info key.
 * Common on TV remotes to show additional information related to what is
 * currently being viewed. */
public static final int KEYCODE_INFO            = 165;
/** Key code constant: Hot key.
 * Launch a special application and replace KEYCODE_QUICK_CLIP */
/** {@hide} */
public static final int KEYCODE_HOT_KEY         = 165;
/** Key code constant: Channel up key.
 * On TV remotes, increments the television channel. */
public static final int KEYCODE_CHANNEL_UP      = 166;
/** Key code constant: Switch SIM key.
 * Switches between multiple SIMs. */
/** {@hide} */
public static final int KEYCODE_SIM_SWITCH      = 166;
/** Key code constant: Channel down key.
 * On TV remotes, decrements the television channel. */
public static final int KEYCODE_CHANNEL_DOWN    = 167;
/** Key code constant: QSlide Key.
 * Used to launch a qslide. */
/** {@hide} */
public static final int KEYCODE_QSLIDE_KEY      = 167;
/** Key code constant: Zoom in key. */
public static final int KEYCODE_ZOOM_IN         = 168;
/** Key code constant: Zoom out key. */
public static final int KEYCODE_ZOOM_OUT        = 169;
/** Key code constant: TV key.
 * On TV remotes, switches to viewing live TV. */
public static final int KEYCODE_TV              = 170;
/** Key code constant: Window key.
 * On TV remotes, toggles picture-in-picture mode or other windowing functions. */
public static final int KEYCODE_WINDOW          = 171;
/** Key code constant: Guide key.
 * On TV remotes, shows a programming guide. */
public static final int KEYCODE_GUIDE           = 172;
/** Key code constant: DVR key.
 * On some TV remotes, switches to a DVR mode for recorded shows. */
public static final int KEYCODE_DVR             = 173;
/** Key code constant: Bookmark key.
 * On some TV remotes, bookmarks content or web pages. */
public static final int KEYCODE_BOOKMARK        = 174;
/** Key code constant: Toggle captions key.
 * Switches the mode for closed-captioning text, for example during television shows. */
public static final int KEYCODE_CAPTIONS        = 175;
/** Key code constant: Settings key.
 * Starts the system settings activity. */
public static final int KEYCODE_SETTINGS        = 176;
/** Key code constant: TV power key.
 * On TV remotes, toggles the power on a television screen. */
public static final int KEYCODE_TV_POWER        = 177;
/** Key code constant: TV input key.
 * On TV remotes, switches the input on a television screen. */
public static final int KEYCODE_TV_INPUT        = 178;
/** Key code constant: Set-top-box power key.
 * On TV remotes, toggles the power on an external Set-top-box. */
public static final int KEYCODE_STB_POWER       = 179;
/** Key code constant: Set-top-box input key.
 * On TV remotes, switches the input mode on an external Set-top-box. */
public static final int KEYCODE_STB_INPUT       = 180;
/** Key code constant: A/V Receiver power key.
 * On TV remotes, toggles the power on an external A/V Receiver. */
public static final int KEYCODE_AVR_POWER       = 181;
/** Key code constant: A/V Receiver input key.
 * On TV remotes, switches the input mode on an external A/V Receiver. */
public static final int KEYCODE_AVR_INPUT       = 182;
/** Key code constant: Red "programmable" key.
 * On TV remotes, acts as a contextual/programmable key. */
public static final int KEYCODE_PROG_RED        = 183;
/** Key code constant: Green "programmable" key.
 * On TV remotes, actsas a contextual/programmable key. */
public static final int KEYCODE_PROG_GREEN      = 184;
/** Key code constant: Yellow "programmable" key.
 * On TV remotes, acts as a contextual/programmable key. */
public static final int KEYCODE_PROG_YELLOW     = 185;
/** Key code constant: Blue "programmable" key.
 * On TV remotes, acts as a contextual/programmable key. */
public static final int KEYCODE_PROG_BLUE       = 186;
/** Key code constant: App switch key.
 * Should bring up the application switcher dialog. */
public static final int KEYCODE_APP_SWITCH      = 187;
/** Key code constant: Generic Game Pad Button #1.*/
public static final int KEYCODE_BUTTON_1        = 188;
/** Key code constant: Generic Game Pad Button #2.*/
public static final int KEYCODE_BUTTON_2        = 189;
/** Key code constant: Generic Game Pad Button #3.*/
public static final int KEYCODE_BUTTON_3        = 190;
/** Key code constant: Generic Game Pad Button #4.*/
public static final int KEYCODE_BUTTON_4        = 191;
/** Key code constant: Generic Game Pad Button #5.*/
public static final int KEYCODE_BUTTON_5        = 192;
/** Key code constant: Generic Game Pad Button #6.*/
public static final int KEYCODE_BUTTON_6        = 193;
/** Key code constant: Generic Game Pad Button #7.*/
public static final int KEYCODE_BUTTON_7        = 194;
/** Key code constant: Generic Game Pad Button #8.*/
public static final int KEYCODE_BUTTON_8        = 195;
/** Key code constant: Generic Game Pad Button #9.*/
public static final int KEYCODE_BUTTON_9        = 196;
/** Key code constant: Generic Game Pad Button #10.*/
public static final int KEYCODE_BUTTON_10       = 197;
/** Key code constant: Generic Game Pad Button #11.*/
public static final int KEYCODE_BUTTON_11       = 198;
/** Key code constant: Generic Game Pad Button #12.*/
public static final int KEYCODE_BUTTON_12       = 199;
/** Key code constant: Generic Game Pad Button #13.*/
public static final int KEYCODE_BUTTON_13       = 200;
/** Key code constant: Generic Game Pad Button #14.*/
public static final int KEYCODE_BUTTON_14       = 201;
/** Key code constant: Generic Game Pad Button #15.*/
public static final int KEYCODE_BUTTON_15       = 202;
/** Key code constant: Generic Game Pad Button #16.*/
public static final int KEYCODE_BUTTON_16       = 203;
/** Key code constant: Language Switch key.
 * Toggles the current input language such as switching between English and Japanese on
 * a QWERTY keyboard.  On some devices, the same function may be performed by
 * pressing Shift+Spacebar. */
public static final int KEYCODE_LANGUAGE_SWITCH = 204;
/** Key code constant: Manner Mode key.
 * Toggles silent or vibrate mode on and off to make the device behave more politely
 * in certain settings such as on a crowded train.  On some devices, the key may only
 * operate when long-pressed. */
public static final int KEYCODE_MANNER_MODE     = 205;
/** Key code constant: 3D Mode key.
 * Toggles the display between 2D and 3D mode. */
public static final int KEYCODE_3D_MODE         = 206;
/** Key code constant: Contacts special function key.
 * Used to launch an address book application. */
public static final int KEYCODE_CONTACTS        = 207;
/** Key code constant: Calendar special function key.
 * Used to launch a calendar application. */
public static final int KEYCODE_CALENDAR        = 208;
/** Key code constant: Music special function key.
 * Used to launch a music player application. */
public static final int KEYCODE_MUSIC           = 209;
/** Key code constant: Calculator special function key.
 * Used to launch a calculator application. */
public static final int KEYCODE_CALCULATOR      = 210;
/** Key code constant: Japanese full-width / half-width key. */
public static final int KEYCODE_ZENKAKU_HANKAKU = 211;
/** Key code constant: Japanese alphanumeric key. */
public static final int KEYCODE_EISU            = 212;
/** Key code constant: Japanese non-conversion key. */
public static final int KEYCODE_MUHENKAN        = 213;
/** Key code constant: Japanese conversion key. */
public static final int KEYCODE_HENKAN          = 214;
/** Key code constant: Japanese katakana / hiragana key. */
public static final int KEYCODE_KATAKANA_HIRAGANA = 215;
/** Key code constant: Japanese Yen key. */
public static final int KEYCODE_YEN             = 216;
/** Key code constant: Japanese Ro key. */
public static final int KEYCODE_RO              = 217;
/** Key code constant: Japanese kana key. */
public static final int KEYCODE_KANA            = 218;
/** Key code constant: Assist key.
 * Launches the global assist activity.  Not delivered to applications. */
public static final int KEYCODE_ASSIST          = 219;
/** Key code constant: Brightness Down key.
 * Adjusts the screen brightness down. */
public static final int KEYCODE_BRIGHTNESS_DOWN = 220;
/** Key code constant: Brightness Up key.
 * Adjusts the screen brightness up. */
public static final int KEYCODE_BRIGHTNESS_UP   = 221;
/** Key code constant: Audio Track key
 * Switches the audio tracks. */
public static final int KEYCODE_MEDIA_AUDIO_TRACK = 222;
 
private static final int LAST_KEYCODE           = KEYCODE_MEDIA_AUDIO_TRACK;


Dreamy의 코드 스크랩

내가 모으고 내가 보는

List of Articles
번호 분류 제목 날짜 조회 수 추천 수
271 LINUX [Shell Script] Shell 스크립트에서 매개변수 치환 2014.09.23 33857 0
270 LINUX [Shell Script] 쉘 스크립트 개요 2014.09.23 31549 0
269 LINUX [Shell Script] 리눅스 쉘(Shell) 스크립트 2014.09.23 91325 0
268 LINUX [Shell Script] 글자 속성, 색깔 지정 2014.09.23 36499 0
267 Android tag 없이 repo sync 후 특정 tag 만 당겨오기 2014.09.18 14638 0
266 C# Download Files from Web [C#] 2014.09.11 13047 0
265 Android JNI에서 가변 인수(varargs) 쓰기 2014.08.04 11013 0
264 C++ Cast. 캐스팅. 형변환 2014.08.04 12558 0
263 Android adb monkey script 2014.07.30 18170 0
262 Android adb shell monkey - Monkey 사용하기 2014.07.30 30776 0
» Android adb 를 이용한 터치 이벤트 보내기 2014.07.30 12978 0
260 Android Android Framework 분석을 위한 C++ 강의노트 secret 2014.07.25 0 0
259 LINUX CR, LF, ^M - vi로 DOS<->UNIX 줄바꿈 전환 2014.07.14 41132 0
258 PHP Simple GD example 2014.07.10 10829 0
257 PHP GD 및 이미지 함수 정리 2014.07.09 15794 0
목록
Board Pagination ‹ Prev 1 ... 12 13 14 15 16 17 18 19 20 21 ... 35 Next ›
/ 35

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

불러오는 중···