All Questions

Filter by
Sorted by
Tagged with
5 votes
1 answer
3k views

How to make a BLE connection that is connected using service to use across the activities without stopping the service or disconnecting ble?

I have 3 components. Activity1 has button for connecting and disconnecting the BLE Connection Activity2 Needs to Get the data from the BLE Device. Service All the connection logic (like ...
Dinesh Ravi's user avatar
  • 1,225
2 votes
0 answers
945 views

BLE scan in sleep mode

I'm developing a android app using ble. I want schedule a scan every 10 second. It work but when my device is in background, it doesn't work. in Oncreate() i call StartHandler(); public class ...
0x00's user avatar
  • 129
0 votes
1 answer
150 views

service and three activity, start service is the right way?

I developed a Ble Android App composed from three activity and one service: - the first one to scan the device - the second one to connect to device - the third one to write communication result on ...
aeroxr1's user avatar
  • 1,064
0 votes
1 answer
701 views

Android: BLE device is sending packet time is slow and get only max 20 byte at a time

I am developing health application so use BLE device(Hardware). From BLE Device send 25 byte at one packet but on mobile(Android) side we receive 20 byte. (I am refer this link) When receiving each ...
Amit's user avatar
  • 51