Web service access in Android

by nena joy » Tue, 26 Oct 2010 01:45:10 GMT

Sponsored Links
I am new in android development.
I want to get data from a web service in android application.But the
application is  in  html5.
Now it uses the data from a local xml file.how it get data from a web
Please help me ......


Web service access in Android

by Miguel Morales » Tue, 26 Oct 2010 01:51:21 GMT

 Well, we won't do the whole project for you.
If you own or wrote that web services all you need to do is write a
script to output data to JSON or XML.
Then from Android simply load the script and collect the information
and display it in your app.  Simple.

Sounds like you don't have much development experience, so this might
not be your service.  In which case you'll need to scrape the hml


Sponsored Links

Other Threads

1. SpriteText and coloured surfaces

I've tried to modify the SpriteText sample code, so that it doesn't
use textures on the shapes, but instead colour the shapes. For
example, modify the sample so that it's a coloured triangle instead of
one with the android image. But is doesn't work, and I can't see why.
I tried replacing the triangle completey with the Cube object (also
from the sample code), as this is a coloured object, but still no
luck! What I always end up getting is black objects! When I remove/
comment out the labels and the labelmaker from the code then all of a
suddent the objects are coloured as they are supposed to be.

Does anyone know how to get coloured objects/surfaces working with the
SpriteText sample?


2. Parsing Dates in other Locales

I need to parse a date using a flexible date format (like "MM/dd/yyyy"
or "dd-MMM"), and so far I've always used SimpleDateFormat for that
(since unfortunately, android.text.format.Time.parse doesn't support
date format strings). This works fine in an US environment, but as
soon as I switch to any other locale, MMM translates into the number
of the month (i.e. it's "6" instead of "Jun"). This seems like a
problem that's new to Cupcake, although I'm not sure.

Is there any way to parse date strings in another locale other than
writing my own parser? android.text.format.DateFormat.format is great
for converting from date to string, but I can't find anything going
the other way around.



3. Help with Services

4. Screen Brightness

5. emulator rotation on 1.5 with no keyboard on the device

6. xmlbeans support in 1.5

7. Toast without light up