84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我在做一个蓝牙控制设备的App,有个倒计时的需求,倒计时最长15分钟,当时间到了给设备发消息,控制设备关闭。现在发现问题,在App进入后台三四分钟后就会被杀掉,代码逻辑自然也就不会执行了,导致设备一直开启状态,请问这种问题怎么解决?
另外,我的app并非属于 音乐,通话,地图类的设备,就是简单的控制一个设备开关啊,抖动啊什么的这些。求思路
光阴似箭催人老,日月如移越少年。
It has been solved, use the Bluetooth mode, and then continue to exchange data with the device through Bluetooth, so that the app will keep running in the background while it is connected to Bluetooth
The app always plays a blank audio loop in the background. The mode is mixed and not exclusive. It should be OK
It has been solved, use the Bluetooth mode, and then continue to exchange data with the device through Bluetooth, so that the app will keep running in the background while it is connected to Bluetooth
The app always plays a blank audio loop in the background. The mode is mixed and not exclusive. It should be OK