Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Fechar a app chamando um método fora da main activity

Uma vez precisei disso e fiz assim "((Activity) context).finish();"



Em 1 de outubro de 2013 12:39, Carlos Eduardo <carloseduardopelegrin@gmail.com> escreveu:
Da para ser feito por contexto também, mas não sei ao certo qual a melhor forma!


--
Carlos Eduardo Simões Pelegrin


Em 1 de outubro de 2013 12:37, Thiago Soares <thiagosf88@gmail.com> escreveu:

Vlw Carlos.

Foi isso mesmo que fiz :)

Em terça-feira, 1 de outubro de 2013 12h29min33s UTC-3, Carlos Pelegrin escreveu:
Passa um objeto Activity como parâmetro e chama activity.finish();

:)


--
Carlos Eduardo Simões Pelegrin


2013/10/1 Thiago Soares <thiag...@gmail.com>
Pessoal,

gostaria de saber como posso fechar uma app após um dados passo mas 
esse passo ocorre em uma classe fora da activity. Como poderia chamar o
finish()?

Att.


--
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-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/groups/opt_out.

--
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/groups/opt_out.



--
Rudson Lima ( live-O )
Desenvolvedor Android - Web Service C# - SQL Server - Delphi
+55 85 87050560

--
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/groups/opt_out.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário