Any help/tutorial with creating web services that access a database

by benjamin schultz » Fri, 28 May 2010 03:52:12 GMT


Sponsored Links
 I'm currently developing an application that needs to pull certain
data from a remote server (same server my website pulls from). After a
lot of research I see the best way to do this is to create a web
service, then call upon that service from my application.

If anyone could point me in the right direction on how to create a web
service such as this (ex. pulling certain fields and displaying them
in a listview), and how to access it via android (I've seen people
suggest SOAP, HTTPclient, REST, etc). Really in need for a simple
walkthrough, if possible. Any help is greatly appreciated!

--



Other Threads

1. Regular Expressions and Eclipse

Ok...so I need to do some pattern matching.

I'm no regular expressions genius but it shouldn't be too hard right?

so I'm using:

string.matches("");

in order to evaluate the string.  My problem is that Eclipse doesn't
seem to like any of my regular expressions I'm putting in there.

According to the information found here:http://developer.android.com/
reference/java/util/regex/package-descr.html
I should be able to use "string.matches("\D");" to describe a string
where the first character has to be a number but Eclipse says that \D
is an "Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \
\ )".

Any thoughts?  Have I completely messed up how matches is supposed to
work or am I the victim of some heinous crime?
--~--~---------~--~----~------------~-------~--~----~

2. Displaying real time information during the execution of an activity

Hi all,

      I want to display the status of the activity execution on the
screen using the TextView while activity is executing. I am appending
the String messages at different stages of execution in the TextView,
which is  defined in the Layout main.xml (e.g. TextView.append("Server
started..").

   For e.g. I am running socket communication application in which my
android application is the server and it is receiving the messages
from the local desktop. So in this application I want to show "Server
started.." message when socket server on android started , then a
messge "waiting for message.." and then "message receivied.." when
message received by android server.All 3 steps are the part of a
single activity.

   But in my case, I am getting all 3 messages at a time after
activity execution completed. Is there any API available, using which
I can show the status during the execution also.

Please help... Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~

3. Problem with Currency/Locale and German Locale

4. How to add service to platform

5. Problem with Rotate3dAnimation using WebView

6. Will prices of mac vs. pc's encourage devs over to Android?

7. Handler and MessageQueue question