Greetings,
Android is killing (putting to sleep) my radio streaming app.
Originally, I placed all of the app code in the main module. It works fine for long periods of time only if I stay in the app. If I exit the app or turn the phone screen off, Android was killing it after about 3 or 4...
Hi all,
If my app does an automatic backup to the cloud, what's the best timing to run the backup process?
Long version:
I'm adding an automatic backup to some of my apps (so that users can restore later if data gets corrupted or if they just want to revert to an earlier state).
The backup...
Hi everyone, after a long period of no programming, I met again a problem that I never solved before.
I want my ImageView Background continue under the status bar too.
I Wish to make transparent the part that now is gray the picture.
I tried to follow this post, without success.
Is it possible...
Hello everyone!
how can I make a border on a panel and then remove a top part of the border to put a label with a transparent background.
note that the background color of the panel is transparent.
I need the background to be transparent because there are screens for apps that contain gradients.
Hi so i've been using this piece of code in my manifest:
SetApplicationAttribute(android:theme, "@style/Theme.AppCompat")
SetApplicationAttribute(android:theme, "@style/my_blue_theme")
'================= Appcompat library App colors can be set here =============
CreateResource(values...
Hi everyone.
I was wondering if it's possibile to set up a geofence that when you enter (or exit), triggers an event catchable with the app closed.
(like Apple "Find My" app, that can send a notification to you when a friend leave/arrive a place).
I'm not knowledge about this things , so I'm...
Greetings,
I have a simple question. Is the starter service protected against Android putting it to sleep?
I just want to make sure a user can't put my app to sleep by messing around with "Device care" under "Settings" on their devices. If it's possible Android will do that, then I will update...
Hi everyone, i've an app with the Main activity used as Login form.
When i user log in i wrote:
StartActivity("Home")
But if the user put the app in background and then opens it up from the homescreen (not from the recent apps) starts the Main activity instead of the Home activity (that is the...
Hi everyone, i'm coding an app for quite a whille (before the update), and i quitted beacuse the SO kill my foreground process while the app is in background, so after an random period of time it stop working.
I wish to know if there is a way with the new update to prevent the OS to kill my...
I have a php web server that happily sends Firebase Push Notifications when a new record is created for a particular customer. These appear when the Android app has been started manually, allowing clients to know when there is something demanding their attention, as the clicking of the...
Hi everyone, i implemented this code in my app to track the position in background:
https://www.b4x.com/android/forum/threads/background-location-tracking.99873/
But after 4 hours it stopped working... what could be the problem? in the "Service_Create" of the tracking i have...
Hi all,
I have an app which uses sockets (from the iNetwork library) to communicate with another device over WiFi. Some of the messages received from the other device can cause local notifications to be raised on the iPhone running the app, or the app to send responses back to the other device...
Hi,
please. Could you help. I.ve been looking the problem and 1 or 2minutes after application in background, the application break.
In the log, I can see that message.
Can't end BackgroundTask: no background task exists with identifier 1027 (0x403), or it may have already been ended. Break in...
I am programming a Point Of Sale application using B4J which also communicates with remote devices via direct socket connection (using jNetwork and opening/using a ServerSocket connection). I want to use the open socket connection like a serial port, receiving queries from remote devices and...
Hello.
My app has a main window which shows all the options and submenus and covers most of the screen. It is "undecorated". The problem is, when I open other forms from that main form, they don't show as separate "tabs" in Windows, so as soon as I click on another part of the screen, the...
I use a spinner on an android layout and have changed the background color. It works, but only on (some) huawei phones i get the effect, that only the with text filled part has this color, the rest is in white. On all other mobiles i have checked the whole control is filled with the back color...
I need the service HttpUtils2Service in starter service, because use method JOBDONE(Job as HTTPJO)
All service are destroyed in ANDROID8+ (ok) when app is in BACKGROUND (this is a big problem).
I write the code (access to a Web Service) in starter service, and with B4A 8.3+ the Starte Service...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.