B4X FEED How to keep BLE running in the foreground.

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: How to keep BLE running in the foreground. است. این موضوع تا کنون 24 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع How to keep BLE running in the foreground.
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
24
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hello friends,
Does anyone know how it is possible to keep bluetooth running when the app goes in the background?
So far it is that it stops scanning when the ap goes into the background.

I use this program to try:
[H3] [/H3]
Simple example of a foreground service that keeps the process running in the background. The current location is shown in the persistent notification. The app starts at boot and theoretically should run all the time. It also schedules itself to run with StartServiceAt. This can help in cases...
برای دیدن تصاویر باید ثبت نام کنید


The GPS continues to run in the background, but the BLE scanning just stops.
So only the Bluetooth does not continue.

Attached is my project file to try out.

 

عقب
بالا