Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Enviar e-mail com imagem

Então tentei isso tb e nao foi...

Quando vou dar um startActivity e uso createChooser tenho esse erro
02-25 09:24:18.766: E/AndroidRuntime(29023): FATAL EXCEPTION: Thread-2393
02-25 09:24:18.766: E/AndroidRuntime(29023): java.lang.NullPointerException

agora se eu uso apenas startActivity rola, mas nao anexa a image..

abs e obrigado a todos.

Em sexta-feira, 22 de fevereiro de 2013 18h40min41s UTC-3, Jade Costa escreveu:
Acho que tem que ser "file://" em vez de "file:/" .

Abs,

2013/2/22 thiagolopes silva <thiago...@gmail.com>

Amigo, boa noite.

Você já verificou se o caminho da imagem está correto?

Em 22/02/2013 18:31, "luiszacheu" <luisz...@gmail.com> escreveu:

Olá pessoal tá tentei de diversas formas mas estou tentando assim agora e não vai.

intent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file:/"+Environment.getExternalStorageDirectory().toString()+"/ebook/er.png
intent.setType("image/png");

Alguem sabe o que estou fazendo de errado. obrigado!

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



--
Jade Moreira da Costa

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