Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev]

  1. // le o arquivo com 8k buffer
  2.                 input = new BufferedInputStream(url.openStream()10 * 1024);
  3.  
  4.                 // Output stream to write file in SD card
  5.                 output = new FileOutputStream(mFile);

Atenciosamente

Gorio
(www.gorio.eng.br)

 


Em 11 de maio de 2015 11:57, Jade Costa <jademcosta@gmail.com> escreveu:

Não li seu código pq to no cel, mas provavelmente vc deve estar usando um inputstream q não salva em disco, e sim na memória...

Abs,

Em 11/05/2015 11:51, "Gorio" <goriofab@gmail.com> escreveu:
Bom dia,

Estou com um dilema em uma classe que criei para efetuar download de arquivos via App.

A classe está no link abaixo


O problema esta ocorrendo sempre quando tento baixar um vídeo, chega em uma determinada porcentagem ele fecha o app e da o seguinte erro..

Caused by: java.lang.OutOfMemoryError

--
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/d/optout.

--
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/d/optout.

--
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/d/optout.

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

0 comentários:

Postar um comentário