B4A Tutorial B4A Change Log (versions history) - Erel    Aug 26, 2024   (12 reactions) Receivers: https://www.b4x.-and-services-in-2023.145370/#content Home screen widgets and firebase notifications updated to work with receivers. StartReceiver, StartReceiverAt methods. Run without ADB - when B4A-Bridge is connected, the compiler will not fail if ADB is missing or throwing an error. C B4A Example Intents and receivers - Star-Dust (first post)    Feb 02, 2023   (14 reactions) Now that the services are killed it has been suggested to use StartReceiverAt rather than StartServiceAtExact. Here is an example of how to use it B4A Tutorial Receivers and Services in 2023+ - Erel (first post)    Jan 15, 2023   (2 reactions) StartServiceAt / StartServiceAtExact will not work on Android 12+. This is related to new Android restrictions.
You need to use StartReceiverAt instead.
It has nothing to do with Google. This is a permission that the user grants your app. B4A-Bridge uses it for example.
With push notifications y Other B4A v12.2 is available for download - Erel    Jan 23, 2023   (43 reactions) I'm happy to release a new version of B4A. This update adds an important new feature - Receiver modules. https://www.b4x.-png.137937/ Receivers: https://www.b4x.-and-services-in-2023.145370/#content Home screen widgets and firebase notifications updated to work with receivers. StartReceiver, Star B4A Question How can I stop a service from within itself? - Erel (first post)    Apr 04, 2023 Search for StartReceiverAt B4A Question How to use next scheduled time with StartReceiverAt? - Erel (first post)    Jan 16, 2023   (2 reactions) 1.
StartServiceAtExact will work with receivers. The problem with this method is that Google made it more difficult to acquire the SCHEDULE_EXACT_ALARM on Android 13+. It is not a regular permission.
If exact scheduling isn't needed then simply use StartReceiverAt and remove the SCHEDULE_EXACT perm B4A Code Snippet Start receiver at exact time - Erel    May 28, 2023   (16 reactions) The standard StartReceiverAt is inexact, in order to allow the OS to make optimizations. Worth reading: https://developer.android. Exact scheduling: 1. AddPermission(android.permission.SCHEDULE_EXACT_ALARM) 2. Private ion As Object - class global 3. Private Sub Button1_Click Wait For () Co B4A Tutorial [B4X] Features that Erel recommends to avoid - Erel    Dec 06, 2023   (89 reactions) Downloading / making http requests with any other library or source other than OkHttpUtils2 (=iHttpUtils2) -> OkHttpUtils2
OkHttpUtils2 is very powerful and can be extended in many ways, without modifying the source. It is also very simple to use.
Shared modules folder -> referenced modules
The s B4A Question StartReceiverAt OkHttpUtils2 during phone sleep - Erel (first post)    Aug 20, 2023   (1 reaction) This error means that the device isn't connected to the internet. First thing to try is to wait for a few seconds and make another attempt. Bug? StartReceiverAt typo - yiankos1    Apr 03, 2023   (3 reactions) Not a bug, just a typo...
140918 Page: 1   2   3   4   5   6   7   Powered by ColBERT |