ruben wrote:
> I want to write a row into a server database table with android.

How is your "server database table" connected to the Internet? REST 
interface? SOAP? XML-RPC? RMI? IIOP? JDBC? something else?

If the answer is REST, use any of the built-in HTTP clients, such as the 
Apache Jakarta Commons HttpClient classes.

If the answer is SOAP or XML-RPC, try to find an existing third-party 
JAR that supports those protocols and sits atop one of Android's 
built-in HTTP clients, like the aforementioned HttpClient. On the 
XML-RPC side, the Apache one looks like it can sit atop HttpClient:

http://ws.apache.org/xmlrpc/client.html

If the answer is RMI or IIOP, you might be able to find a third-party 
JAR that supports those protocols and uses raw sockets in a way that is 
Android-friendly, but I'm skeptical.

If the answer is JDBC, you will probably need to add a Web service layer 
to your server, then have mobile devices (Android, et. al.) use that. 
Android does not have JDBC built in, and I would not recommend using 
JDBC over any Android transport other than WiFi in any case.

If the answer is "something else", write back with specifics!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: All titles, revisions, & ebook formats, just $35/year

--~--~---------~--~----~------------~-------~--~----~
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