Tecnologia do Blogger.
RSS

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

Obrigado leonardo, vou testar essa forma tb..


abs/

Em terça-feira, 26 de fevereiro de 2013 20h53min14s UTC-3, leonardo escreveu:
Faça isso que resolve:

public static File getDir() {
   File sdDir = Environment
     .getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
   return new File(sdDir, "ebook");
 }


2013/2/25 luiszacheu <luisz...@gmail.com>
Opa.. então realmente o caminho estava errado, estou usando um galaxy tab e está sem sdcard dai o caminho ficava assim.


"file://" + "/storage/sdcard0/ebook/er.png


Obrigado ;)



Em segunda-feira, 25 de fevereiro de 2013 11h31min36s UTC-3, Felippe dos Santos Ferreira escreveu:
"file://" + "/mnt/sdcard/ebook/er.png"

ou

"file://" + "/mnt/ebook/er.png


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

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

0 comentários:

Postar um comentário