Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Re: Intent

Claro que tem.

Primeiro, aconselho que você estude mais sobre JAVA. 

E segundo, faz assim:

Fora do onCreate, declara a variável link_feed:
private String link_feed;

No onCreate, você faz:
link_feed = i.getStringExtra("link");

--
Atenciosamente,

Lucas Xavier


Em 5 de fevereiro de 2013 09:06, Felipe Cauê Legal Benedito <felipecaue.lb@gmail.com> escreveu:
Uma parte funcionou, o problema era esse mesmo.

O Intent i = getIntent(); não estava no método OnCreate.

Porem existe outro problema

String link_feed = i.getStringExtra("link");

Eu precisava que que a variável link_feed pudesse ser encontrada por um outro método que está nessa mesma classe.
Teria como fazer isso?

--
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.
 
 

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

0 comentários:

Postar um comentário