are you sure that String result is not *blank* in* onPostExecute* method.? try to make a toast notification in onPostExecute method and display String result in message.See what happens.
On Wednesday, August 29, 2012 12:52:47 AM UTC+5:30, anaOliveira wrote: > > I tried.. but with only one ore more URL the method doInBackground works > and I can go to the service and got the result but when I try to do the > onPostExecute.. that dind't work. > > 2012/8/28 Harri Smått <[email protected] <javascript:>> > >> >> On Aug 28, 2012, at 9:33 PM, anaOliveira <[email protected]<javascript:>> >> wrote: >> > ... >> > s.execute(new String [] {URL+param}); >> > … >> > >> > to call the task. Someone can help me to understand which is the >> problem? >> >> I'm guessing your problem lies in how you call AsyncTask.execute(…). >> Switching this call to; >> >> s.execute(URL + param); >> >> might fix it. I'm not too familiar with AsyncTask though… >> >> -- >> H >> >> -- >> 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]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > Com os melhores cumprimentos, > Ana Rita Brito Oliveira > > -- 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

