How can I embed a telnet session into my app?

  • Replies:2
  • OpenNot stickiedUnanswered

Jul 30, 2010 1:17:04 PM

Hi,

I have now published my first app on market:

http://www.androidpit.com/en/android/forum/thread/401068/Chess-for-All-LITE-My-first-Android-Application

The next feature I am trying to install is a connection to a chess server.
The Free Internet Chess Server (FICS) offers a connection with telnet.
I was trying that with a simple Command Promt window on my PC:

*********************************************************************************
C:\>telnet freechess.org


_ __ __ __
| | / /__ / /________ ____ ___ ___ / /_____
| | /| / / _ \/ / ___/ __ \/ __ `__ \/ _ \ / __/ __ \
| |/ |/ / __/ / /__/ /_/ / / / / / / __/ / /_/ /_/ /
|__/|__/\___/_/\___/\____/_/ /_/ /_/\___/ \__/\____/
^^__ _____________________ _ _ _
/ - \_ / ____/ _/ ____/ ___/ _ | || || |
<| __< / /_ / // / \__ \ (_) |_______|
<| \ / __/ _/ // /___ ___/ / _ \__ ___ /
<| \ /_/ /___/\____//____/ (_) |___|_|
<|______\ |_|___|
_|____|_ ====================================== |___|_|
(________) freechess.org ---- (_______)
/________\ ====================================== /_______\
(Login screen designed by Alefith)

****** Welcome to the Free Internet Chess Server at freechess.org ******

Webpage: http://www.freechess.org
Head admin : Chessty Complaints to : complaints@freechess.org
Server location: freechess.org Server version : 1.25.17

If you are not a registered player, enter guest or a unique ID.
(If your return key does not work, use cntrl-J)

login: guest

Logging you in as "GuestVGMZ"; you may use this name to play unrated games.
(After logging in, do "help register" for more info on how to register.)

Press return to enter the server as "GuestVGMZ":

*******************************************************************************

How can I get a telnet connection to FICS in my chess app?

Thanks for your help,
Karl