Posting data using HTTP POST to a Servlet

by arun » Wed, 20 Jan 2010 02:06:33 GMT


Sponsored Links
 Hi,

I am trying to use the below to post my data to a servlet but seems
like not working.

 http://www.androidsnippets.org/snippets/36/ 

I am posting to a servlet in Tomcat in my local machine using host:
192.168.0.1:80

Basically I am posting the data to,

1. Save into database using servlet
2. Then I need to get that data back from DB using HTTPGET via another
Servlet.

Please help.

Thanks,
Arun



Other Threads

1. Emulator not coming up.

Hi,

I have built the Android Master source code on Ubuntu 6.06. And the
emulator was working fine with all apps.
Suddenly the emulator is not booting up at all and gives the following
error.

*** buffer overflow detected ***: emulator terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7d34558]
/lib/tls/i686/cmov/libc.so.6[0xb7d32680]
/lib/tls/i686/cmov/libc.so.6[0xb7d31d68]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0xb7ca7a18]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0xf4a)[0xb7c7a8da]
/lib/tls/i686/cmov/libc.so.6(/lib/tls/i686/cmov/libc.so.6(__sprintf_chk
+0x2d)[0x
b7d31d5d]
emulator[0x8091f79]

Please help.

--~--~---------~--~----~------------~-------~--~----~

2. Modifying the user interface of Android...possible?

Hi,

I am looking for some answers from some of the experts here. I have a
project in mind that I want to start. It is about using HTC's Touch HD
phone as a device in a museum with rich media/video about the art and
the artists on it. Besides the videos and animation, I also want to
show some content from a web browser. Now my biggestest issue. I do
not want that the museum guest who pick up the phone for the tour get
to see the standard Android user interface. Is there a way to develop
a new user interface that would start up directly once the phone is
turned on? It should then automatically start the app with the museum
infos. Later I may want to add some GPS functions and even sms and
photo taking, etc....

What do you think, how flexible is Android to allow that?

Any ideas highly appreciated.

Thanks
Matt

--~--~---------~--~----~------------~-------~--~----~

3. How to set my SMS application is default to read sms?

4. Weired bug when saving picture to file system!?

5. Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

6. Handler posts and threads after onDestroy

7. HTTPS connections through the browser, from within applications