I have a Linux application written in ANSI C that I am porting to
Android that reads input from a user using fgets() and forwards this
information over an already-established socket connection.  However,
when using the adb shell, upon attempting to read from stdin fgets()
immediately returns NULL.

An additional test I performed using getc shows that stdin is
constantly being spammed with NULLs, but anything typed by the user
within the adb shell is never picked up.

This is a text-based application intended to be run from the adb shell
only.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to