Hi!

I have a similar problem. I have a php page running on apache server
in my computer. I´m trying to send data from the emulator to the php
page to do some work. The problem is that it doesn´t do any work! I don
´t know if the problem is from the emulator or from my page... the
code in the emulator is this:

                    String get="?
name=myname&surname=mysurname&address=myaddress";
                    URL url = new URL("http://10.0.2.2/myfolder/index.php"+get);
                    URLConnection urlconn = url.openConnection();

In the php page i read the data send by get and do some work. But it
doesn´t do anything... i don´t know if the connection is well made or
the problem is from the server...

any ideas??

thanks!!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to