Foi o que eu disse, você tem que colocar um receiver pra ACTION_ACL_DISCONNECT_REQUESTED, não ACTION_STATE_CHANGED. E olhar EXTRA_DEVICE pra ver se é o seu dispositivo.
(Nope, não vou mandar código)
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