LongPolling Android - Timeout executing service

Put your problem here if it does not fit any of the other categories.

LongPolling Android - Timeout executing service

Postby Quelle » Fri Apr 08, 2011 6:14 pm

Hi Guys,
i have a Problem with longpolling.
I posted the Problem @stackoverflow. If anybody can help me to resolve the problem, i will get very happy.

http://stackoverflow.com/questions/5598333/android-long-polling-timeout-executing-service

Regards Quelle
Quelle
Developer
Developer
 
Posts: 34
Joined: Thu Mar 11, 2010 10:53 am

Top

Re: LongPolling Android - Timeout executing service

Postby imbroken » Sat Apr 09, 2011 8:38 am

As already mentioned you should call the AsyncTask like this:

new makePolling.execute(yourString);

Didn't even know that you can call doInBackground() directly :)
imbroken
Senior Developer
Senior Developer
 
Posts: 131
Joined: Thu Jan 06, 2011 6:57 pm
Location: Germnay

Re: LongPolling Android - Timeout executing service

Postby Quelle » Mon Apr 11, 2011 9:36 am

Thank you!! Now Asnyc is working correctly.
Quelle
Developer
Developer
 
Posts: 34
Joined: Thu Mar 11, 2010 10:53 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests