B4i Library AS Alarm - Alarm clock or keep app active in the background - Alexander Stolte    Oct 17, 2024   (16 reactions) I needed a way to play a sound at a certain time even though the app is in the background. The problem is that the app is paused as soon as it goes into the background, you can delay this by 30 seconds, but if you take longer, the app is stopped and no more code is executed. Now I have found a way t B4i Question The upload of files in the background - Semen Matusovskiy (first post)    Jan 24, 2022   (4 reactions) My app uploads files in background. It's relatively simple. You need to change NSURLSession and then you can use standard httpjob.
I attached a sample, which I used before adding a code to my real app. This sample downloads files, but upload will work also.
Click any button, switch to another app, B4i Tutorial Background playback - Erel    May 17, 2020   (9 reactions) This tutorial explains how you can play local audio files or stream audio while your app is in the background.
Standard applications are killed when moved to the background. However you can add the following attribute to your project to mark it as an application that plays audio in the background:
B4i Question Background Task in Debug Mode - Erel (first post)    Mar 02, 2021   (1 reaction) There are very specific and limited things that you can do in the background.
You can download in the background:
Background Fetch (Downloads)
Search for silent push notifications and do note that they aren't very reliable. B4i Question Periodic background Bluetooth connections - JordiCP (first post)    May 10, 2024   (1 reaction) I think it's not possible to do precise timely scheduled tasks in the background with iOS
With location and the appropiate background bluetooth usage declarations in plist, if you make sure to leave the ble scanning for certain services when going to background, this task is transfered to coreBluet B4i Question Background Uploads - Erel (first post)    Mar 13, 2023   (1 reaction) You can do whatever you like while the app runs.
You cannot extend the running period. B4i Question Wireless Connect/Disconnect notification? - Erel (first post)    Oct 01, 2020   (1 reaction) Most of these things are not possible. Running your app in the background in iOS is difficult. You can prevent the app from being killed by implementing the background location tracking feature (you will not be able to submit your app to the store). You can periodically check the ip address with S B4i Question How to set a background image on a B4XPages - Semen Matusovskiy (first post)    Jul 16, 2020   (1 reaction) If you want to set 'solid' background, you need ImageView (with lowest z-order).
But if you need a pattern (repeated image), you can set it like color.
Dim nativeObjectPattern As NativeObject
nativeObjectPattern = nativeObjectPattern.Initialize ("UIColor").RunMethod ("colorWithPatternImage:", Arra B4i Question [PENDING SOLVED] BLE Background - Erel (first post)    May 20, 2021   (1 reaction) Are you sure that the connection is still valid when the app quits?
It will not add much, but you can ask the OS to give you more time: https://www.b4x.-of-services-in-ios.130536/#post-821810 Wish Upload and download files in the background - Erel (first post)    Jan 24, 2022 Background fetch will allow your app to run in the background from time to time. With some work, and assuming that you control the server, you can implement a "resumable upload" feature. Page: 1   2   3   4   5   6   7   Powered by ColBERT |