how to communicate with a web server

by aamir » Tue, 14 Apr 2009 06:02:11 GMT

Sponsored Links
 Hi all,
            I would like to build a basic application that would
communicated with a web server running on my computer ( )
.My computer runs apache.Any help will be greatly appreciated.


how to communicate with a web server

by Arnaud Weber » Tue, 14 Apr 2009 06:14:14 GMT

 Emulator run on a VM so it has it's own network. your loopback
is not going to work.
There is a bridge between the network of your emulator and your own loopback
at the adress

Try this address and that should work.

Hope it helps

2009/4/14 aamir <>


Sponsored Links

Other Threads

1. Confusion on latest SDK vs android 1.0

I have the most recent sdk as provided from the android website, and I
have exported the Contacts application from 1.0 head repository.

My aim is to make modifications to the Contacts List and implement it
as an application with the neccessary intents to replace it.

Unfortunately, it seems that a few resources cannot be resolved from
the jar in the sdk - most notably those related to Presence in the
contacts provider.

Can someone shed some light on why this would be? A simple
mislabelling of the repository, maybe?



2. using ident to send an sms with a custom function

Hi there

I'm planning to write some code that allows to send sms over a http service. 
So basically I need to achieve that the current messaging application calls a 
function from my class of my appliction. Then I need to get the text and 
establish a connection and so on. Furthermore I need to be able to exit my app 
if there is no internet connection - in such a case the sms should be sent 
using the normal method.

For me developing on android is totally new. (I'm now at ex2 of the notepad 
tutorial, and read the basic docs).

So how can I do what I would like to? Maybe someone can help me with the 
basics: Lets say that a popUp is generated when an sms is sent. Will I use an 
Indent on the method of sendTextMessage ?

Thanks a lot for your help.

Cyrill Helg


3. Launch Voice Dial From Bluetooth Headset Button

4. Merry Christmas and a Happy New Year!

5. vnc server problem - remote display not the same with monitor

6. Menu appears in middle of screen when using Dialog theme.

7. DB read notification?