Você precisa do resultado?
Não entendi ao certo.
Não seria somente colocar um finish() no result da task2?
--
Carlos Eduardo Simões Pelegrin
Em 29 de agosto de 2014 11:58, Willian do Amor <willsazon@gmail.com> escreveu:
Bom dia Felipe,Vi seu exemplo aqui mas o q acontece é o seguinte.Eu tenho uma Activity que chama o Asynctask 1 e esse por sua vez chama o Asysnctask 2 no caso a minha Activity seria fechada ao terminar a execução da Task 2.--2014-08-28 9:08 GMT-03:00 Felipe Aron <felipearon@gmail.com>:Creio que te ajude:2014-08-27 20:34 GMT-03:00 Bayron Thiengo Quinelato <bayrontq@gmail.com>:Utilize um Listener ou um ResultReceiver para comunicar a Activity o fim da task
Em 27/08/2014 16:14, "Willian do Amor" <willsazon@gmail.com> escreveu:Boa tarde,--alguém poderia me dizer se há algum modo de fechar uma activity após o final da execução do task?
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.






0 comentários:
Postar um comentário