You may want to look at using an asynctask Here are some research notes on async task (This is not a tutorial but could point you to do some work) http://www.satyakomatineni.com/item/3536
On Fri, Sep 2, 2011 at 5:23 PM, Jared Kass <[email protected]> wrote: > Hi, > I'm working on an app that records information for a study and posts > it to a database. An alert dialog prompts the user with a question and > the answer is recorded and sent. I'm successfully updating the > database using httpclient and httppost, however it takes a varying > amount of time, usually several seconds. This is unacceptable, and I > was wondering how to go about having this run in the background. Any > advice you could give me would be great, thanks! > > -Jared > > -- > 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 -- Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.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

