Bom, nao sei direito o que vc quer... MAS uma maneira simples é ler o /proc/net/dev a cada 1 segundo e fazer a conta da diferenca de tempo.
fiz uma vez uma lib em NDK que fazia isso.
2014-09-08 17:04 GMT-03:00 Rebert Tomaz Aquino <reberttomaz@gmail.com>:
baixa um pacote e calcula tempo x tamanho2014-09-08 13:48 GMT-06:00 Thiago Silva <thiagodd.silva@gmail.com>:Pessoal,--Alguém já viu alguma forma de mensurar a velocidade da conexão 3G ativa no aparelho?--Att.Thiago SilvaDesenvolvedor - Rerum Engenharia de Sistemas.
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.
--
Rebert Tomaz
--
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.
0 comentários:
Postar um comentário