Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Android Development
Previous Page Home Next Page

Hardware Events Emulation

You can use the event command to send various events to the emulator.The usage for the command is:

event <send|types|codes|text>

The event command supports the subcommands listed in the table below.

Subcommand Description Comments
send <type>:<code>:<value> [...] Send one or more events to the Android kernel. You can use text names or integers for <type> and <value>.
types List all <type> string aliases supported by the event subcommands.  
codes <type> List all <codes> string aliases supported by the event subcommands for the specified <type>.  
event text <message> Simulate keypresses to send the specified string of characters as a message, The message must be a UTF-8 string. Unicode posts will be reverse-mapped according to the current device keyboard. Unsupported characters will be discarded silently.
Android Development
Previous Page Home Next Page

 
 
  Published under the terms fo the Apache 2.0 License Design by Interspire