I have a program that works in the background, like "MyLocation". During development, I constantly (around the clock) test it for background operation. The background mode worked stably, when suddenly, for a completely inexplicable reason, the internal timer stopped.
It makes no...
I noticed one curious thing about the MyLocation type of application.
It started with the fact that I decided to write an application that runs in the background like MyLocation.
Let's say we have the following lines in a test program.
1. Module "Main".
Hi everyone, i'm completing an app, but i really wish to solve those problems that i always had in these years using B4A.
I'm in Activity "A", i press a button to go to Activity "B".
Before showing the Activity "B" layout there is this ugly white screen in between, and then the layout...
Estoy usando el siguiente código para redondear las esquinas de un Label y funciona bien excepto en Android 10, en A10 no las redondea, quedan como por defecto
Dim l_din_redondeocolor(2) As Int
Hello. Sorry for my english.
I'm using the next code for "roundering the corner" of a Label and it works fine but in Android 10 does not work, the corner is flat
Dim l_din_redondeocolor(2) As Int
Can you look at this small linked B4A project?
It's a simple project that has a ticking timer that ticks in the background once every second. This works only when the phone is connected to my computer and I watch the logs so the ticks in B4A with or without the phones screen turned...
I'm experimenting a bit with geofences on iOS (related thread) and have encountered something unexpected.
When starting the app, the OS asks me (something like):
"Do you want to allow this app to use positioning"
With these options for the user to select from:
I'm trying to change the background colour of a B4XDialog I started to use but the app crashes with this error in the logs. It crashes on the comented out line.
java.lang.NumberFormatException: For input string: "(GradientDrawableWithCorners)...
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...
If my app does an automatic backup to the cloud, what's the best timing to run the backup process?
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).
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...
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:
'================= Appcompat library App colors can be set here =============
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...
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:
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...