How to send message from my PC as Server to Android Client

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

How to send message from my PC as Server to Android Client

Postby hadja » Mon Jul 21, 2008 7:59 pm

I have TCP-Communication my Desktop PC as Server and Android Client with example from qamerfarooq.

Please help me.
(sorry for mistake I am not very good in English
hadja
Freshman
Freshman
 
Posts: 7
Joined: Sun Jul 20, 2008 2:37 pm

Top

Postby plusminus » Wed Aug 13, 2008 1:18 pm

:?:
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby cgreen » Thu Aug 14, 2008 10:10 am

this is probably a question about tcp/ip connection between emulator and pc....again :lol:

the emulator is a virtual machine emulating an android-os, and is not sharing any network configuration with your pc. the emulator's localhost is the emulator, not the PC starting the emulator. if you want to establish any tcp/ip connection between emulator and pc, don't use localhost! localhost is bad :)

the android emulator has an virtual ip-address. afaik it's 10.0.2.15
User avatar
cgreen
Experienced Developer
Experienced Developer
 
Posts: 56
Joined: Wed Jul 16, 2008 10:16 am

Top

Return to General

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests