My onPostExecute () isn't called .. so I cant show nothing. :S 2012/8/28 vivek singh <vivek.r...@gmail.com>
> ok > > > On Wednesday, August 29, 2012 1:39:06 AM UTC+5:30, anaOliveira wrote: > >> I will try! , and then I tell something! >> >> 2012/8/28 vivek singh <vivek...@gmail.com> >> >> try to add code for displaying a toast notification in onPostExecute >>> method and display the value of String result in that notification see what >>> happens >>> >>> >>> On Wednesday, August 29, 2012 1:21:53 AM UTC+5:30, anaOliveira wrote: >>> >>>> As you can see on the picture.. I have all the results but when I get >>>> back to the call the result is NULL. I have been put a log in onPostExecute >>>> and that log is not executed.. so the method is not called. >>>> >>>> 2012/8/28 vivek singh <vivek...@gmail.com> >>>> >>>> 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 <har...@gmail.com> >>>>>> >>>>>>> >>>>>>> On Aug 28, 2012, at 9:33 PM, anaOliveira <oliveir...@gmail.com> >>>>>>> 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 android-d...@**googlegroups.com >>>>>>> >>>>>>> To unsubscribe from this group, send email to >>>>>>> android-developers+**unsubscribe****@googlegroups.com >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/**group****/android-developers?hl=en<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 android-d...@**googlegroups.com >>>>> To unsubscribe from this group, send email to >>>>> android-developers+**unsubscribe**@googlegroups.com >>>>> For more options, visit this group at >>>>> http://groups.google.com/**group**/android-developers?hl=en<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 android-d...@**googlegroups.com >>> To unsubscribe from this group, send email to >>> android-developers+**unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/**group/android-developers?hl=en<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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en