B4A Tutorial Service Modules - Erel    Feb 07, 2023   (6 reactions) This is an old tutorial. Most of the information here is no longer correct. 255402345 Basic4android v1.2 adds support for Service modules. Service modules play an important role in the application and process life cycle. Start with this tutorial if you haven't read it before: Android Process and B4A Question Create a app with no GUI - imbault (first post)    Sep 17, 2016 You should have a look on this Service tutorial : Service B4A Question Make service run automatically - Erel (first post)    Sep 17, 2015   (3 reactions) Go over the services tutorial. There is nothing really special with services. B4J Tutorial [GCE] For Noobs, Part 10 - Running Your B4J App As A Service and Automatically Starting At Boot - Ed Brown    Nov 05, 2017   (20 reactions) Note: The process outlined in this tutorial assumes that your Linux distribution is using systemd. If you have chosen Debian or Ubuntu as your Linux distribution when creating the VM then you should be good to go. Otherwise, you may try the process outlined here but I will not guarantee any success. B4A Tutorial Android Bluetooth / BluetoothAdmin Tutorial - Erel    Aug 31, 2020   (17 reactions) Better implementation based on B4XPages: https://www.b4x.-bluetooth-chat-example.119014/#content
Tutorial was rewritten in April 2018.
We will create a chat example between two Android devices.
All the non-UI code is implemented in a class named BluetoothManager. It is initialized in Service_Creat B4A Question [Solved] Save ASCII file stopped by Standby mode? - Erel (first post)    Nov 08, 2016 See the services tutorial. It is very simple. B4A Question AutomaticForegroundMode without vibrating and notification sound - Erel (first post)    Apr 22, 2018   (1 reaction) The relevant tutorial is this one: https://www.b4x.-foreground-mode.90546/ You need to create a notification and set it in Service_Create: Service. = YourNotification It doesn't matter how you build the notification. B4A Tutorial Android FTP tutorial - Erel    Aug 25, 2021   (6 reactions) Old and irrelevant tutorial. Follow this one instead: Net library (FTP, SMTP, POP) with Wait For This tutorial covers the FTP object which is part of the Net library. The Net library is based on Apache Commons Net. Android OS doesn't allow us, the developers, to block the main thread for more t B4A Question Running (almost) all code from a service module? - Widget (first post)    Apr 25, 2017   (1 reaction) I don't think most developers think of this when they first start writing B4X apps and a tutorial would help developers organize their applications properly. The tutorial could describe taking an existing app written the old fashioned way and changing it to be more service module centric so they can B4A Tutorial GPS tutorial - Erel    Dec 13, 2019   (22 reactions) This example shows how to work with the GPS library.
45297
The GPS object is declared in the Starter service. It is easier to put the GPS in a service and not in an Activity as the services life cycle is simpler.
When the program starts we check whether the location features are enabled:
Sub Act Page: 1   2   3   4   5   6   7   Powered by ColBERT |