posted 13 years ago
A couple of points: Firstly, you can't communicate with a DB, you need an intermediate server that is accessible via HTTP. That server in turn will communicate with the DB.
Secondly, why do you want to use SOAP? For a mobile device, it would be much more common to use REST. Android has the excellent HttpClient library built in which makes that pretty easy. You can use a library such as Jersey on the server.
It's pretty easy to find example code of Android apps using REST to communicate with servers on the web. Just ask Google :-)