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






0 comentários:
Postar um comentário