- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If Yes, how it could be configured?
- Tags:
- Android* OS
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Android Emulator usage: emulator [options] [-qemu args]
options:
...
-gps
...
and my question is what is a "character device"? Did they mean COM1, COM2, etc,or LPT1, LPT2, etc?
If Yes, this isexactly what I need!
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
character device is a term used in the Linux*/Unix* world. A serial port will work.
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Android Emulator usage: emulator [options] [-qemu args]
options:
...
-gps
...
and my question is what is a "character device"? Did they mean COM1, COM2, etc,or LPT1, LPT2, etc?
Resolved: Please take a look at a command line option '-help-char-devices'
..\tools>emulator-x86.exe -help-char-devices
various emulation options take a
specify something to hook to an emulated device or communication channel.
here is the list of supported
stdio
standard input/output. this may be subject to character
translation (e.g. LN <=> CR/LF)
COM
where
pipe:
named pipe
file:
write output to
pty [Linux only]
pseudo TTY (a new PTY is automatically allocated)
/dev/
host char device file, e.g. /dev/ttyS0. may require root access
/dev/parport
use host parallel port. may require root access
unix:
use a Unix domain socket. if you use the 'server' option, then
the emulator will create the socket and wait for a client to
connect before continuing, unless you also use 'nowait'
tcp:[
use a TCP socket. 'host' is set to localhost by default. if you
use the 'server' option will bind the port and wait for a client
to connect before continuing, unless you also use 'nowait'. the
'nodelay' option disables the TCP Nagle algorithm
telnet:[
similar to 'tcp:' but uses the telnet protocol instead of raw TCP
udp:[
send output to a remote UDP server. if 'remote_host' is no
specified it will default to '0.0.0.0'. you can also receive input
through UDP by specifying a source address after the optional '@'.
fdpair:
redirection input and output to a pair of pre-opened file
descriptors. this is mostly useful for scripts and other
programmatic launches of the emulator.
none
no device connected
null
the null device (a.k.a /dev/null on Unix, or NUL on Win32)
NOTE: these correspond to the
as described on http://bellard.org/qemu/qemu-doc.html#SEC10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. When a GPS device is connected to a host-computeryou need to use Windows Device Manager to see a
COM-port number:

2. When Android Emulator started from a command line with option '-gps COM6'it shows adialog box to
confirm COM-port settings:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's an open source that allow android application to connect GPS bluetooh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi serge i tried your solution and it didn't work can you help me please????

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page