services

  1. walterf25

    Android Question Receivers vs Services (Which one?)

    Hi all, I'm working on a small app that connects to a power usb meter via BLE, I need to log voltage and current values vs Time to a csv file, my question is, since I haven't used Services in a long time, I'm not sure of which one to use, I now see that there are Receivers, as if our lives are...
  2. MegatenFreak

    Android Question Play azan (call to prayer) daily at specific times: can't get it to work

    Hey guys. As the title says, I wanna build an app that does one simple thing: I'll give it the prayer timetable with specific times of the day, and it will play the azan audio during those exact minutes. I've dug everywhere in the forums and tried all the following without success: * Using...
  3. M

    iOS Question [B4X] BLE refresh available Services and Characteristics - Missing Feature?

    Hi everyone, I noticed an important missing feature in the BLE library. It seems to not be possibile to refresh the ServiceList, given the fact that the only place where you can get it is in the "Connected" event.... I'have a BLE Device that exposes a Service only after you complete a...
  4. james_sgp

    Android Question Callsub2 from a service with B4xpages

    Hi, i`m stuck on figuring out how to call a Sub on my B4xmainpage from a running service (i`m running FCM)? Any advice would be appreciated... Thanks, James
  5. red30

    iOS Question Lack of services in ios

    I wrote an application for Android and used services there for compressing photos and uploading photos to the server. Compressing a photo seems like a long enough time, especially if it is 100 photos, so I implemented it in the service so that at this moment the user can minimize the application...
  6. M

    iOS Question Open Localization Services Setting programmatically

    Hi everyone, how can I open the localization services settings page? or better, open directly the section relevant to one of that apps? it is possibile? I already tried out this: App.OpenURL("app-settings:") But will open only the main page of the settings app Thanks in advance
  7. vfafou

    Android Question [B4XPages] B4XPages questions

    Hello! I have written a taxi calling app with custom web socket push framework. The app has a starter service for global objects declaration and a pushservice service for handling the communication between server and mobile device. The pushservice also handles the Location and GPS...
  8. A

    Android Question Activity recognition stops working when closing the app

    Hi there! I tried to build a sample app that notifies (using nb6) when the current user physical activity changes (using physical-activity-recognition-detection library). It worked, but after closing the app with the user's 'task manager' (where you 'swipe' apps to stop them), I stopped...
  9. LucaMs

    Android Question How to get services infos

    From Stackoverflow: You can enumerate all packages and retrieve their services: List<PackageInfo> pkgs = getPackageManager().getInstalledPackages(PackageManager.GET_SERVICES); for(PackageInfo pkg : pkgs) { // You can now use pkg.services } How to do it with b4a?
  10. L

    Android Question Advice about Services

    Hi All, I have looked at the forums regarding services but I am a little confused, especially with the changes with Android 8. What I am trying to accomplish to create a service that runs in the background (and has to start on boot) and scans for BLE beacons every 5 minutes. I am happy with...
  11. walterf25

    Android Question Services (Can't keep it alive)

    Hello all, i've been noticing this problem for a very long time, i have read all the threads that talk about Services, I stopped working on an app almost a year ago because i could not figure out why my Services were being killed and not re-started. Basically i was working on an Email Client...
  12. A

    Android Question How to rediscover services with BLE2 library

    Hi to everybody, I'm developing an android application that communicate with my own hardware board. I'm using the latest version of B4A and BLE2 library. The app have to connect to the board, which is configured with its GATT. Then it sends a reboot command to the board, which restarts with...
Top