I have a Bluetooth implemented in a fragment to send data but, my connection fail while I'm in another fragment. How can i keep Bluetooth alive in another fragment ?
Asked
Active
Viewed 196 times
0
-
have look [this](https://stackoverflow.com/a/25271928/5110595) – Hemant Parmar Jul 24 '18 at 11:21
-
I tried with service but i have a lot of problem https://stackoverflow.com/questions/51493431/fragment-bluetooth-service-and-fragment-connection here – CKocar Jul 24 '18 at 11:26
-
you probably are doing something wrong in your code. – Vladyslav Matviienko Jul 24 '18 at 11:28
-
There is my code: https://stackoverflow.com/questions/51493431/fragment-bluetooth-service-and-fragment-connection – CKocar Jul 24 '18 at 11:29
-
1but anybody answer to me – CKocar Jul 24 '18 at 11:29
-
so you havew already asked this question 3 hours ago. You know that you are not allowed to re-ask the question, right? – Vladyslav Matviienko Jul 24 '18 at 11:32
-
Possible duplicate of [Fragment: Bluetooth Service and Fragment Connection](https://stackoverflow.com/questions/51493431/fragment-bluetooth-service-and-fragment-connection) – Vladyslav Matviienko Jul 24 '18 at 11:33
-
1This is different question but you said have look this. I already look but i am looking different answer old question is what is the mistake but this is different. – CKocar Jul 24 '18 at 11:38