Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Bluetooth low energy BLE

Há algumas formas de manter um serviço ativo, eu aconselho vc dar uma lida aqui: https://developer.android.com/guide/components/services.html

Eu não vejo problema em manter uma conexão aberta por um tempo maior, lógico que depende de aplicação para aplicação.

2016-08-09 11:56 GMT-03:00 Marcelo Alves <marcelo.alves@gmail.com>:
O motivo de jogar LE pra um serviço é que em API Level 19-21 (acho) a stack é suficientemente instável pra dar erros aleatórios no seu app, incluindo kernel panics em alguns dispositivos.

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