If your intent is to get updates independent of the current activity - then yes, use a service (with a worker thread to do the actual checks).

-- Kostya

22.07.2010 23:54, KG пишет:
That's what I was thinking.  Would this best be done from a background
service running on the phone or would I use a different structure?

On Jul 21, 11:36 pm, jeffro<[email protected]>  wrote:
I'd just send a simple HTTP Get Request periodically and process the
response.

URL url = new URL("http://xxxx";);

url.openStream()  //process the stream

Jeff
Visit Trackaroo.com!
Trackmaster - Motorsports Lap Timer
Dynomaster - Performance Dyno

On Jul 21, 2:22 pm, KG<[email protected]>  wrote:>  Hi Everyone,

I want to make a background process/service which will listen for
updates from a web server and then notify the user of those updates.
I've done some research into several approaches but can't decide which
one is simplest/best.
Anyone have any suggestions?
Thanks,
KG


--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to