Hi all, I'm working on a small app that connects to a power usb meter via BLE, I need to log voltage and current values vs Time to a csv file, my question is, since I haven't used Services in a long time, I'm not sure of which one to use, I now see that there are Receivers, as if our lives are...
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...
Hi everyone, I'm using this method by @Erel to take a picture from Android in my app released months ago.
Since some days, some customers told me that the "take picture" button is not working anymore, randomly.
After some investigation in my code, I could not find the problem... the only thing...
I need to make a background for the views so that only part of the image is visible.
For example, the top half.
Standard code. imvForeground is already built into the Activity.
Dim cvs As Canvas
Dim img As Bitmap
Dim Rect1 As Rect
Dim Rect2 As Rect
cvs.Initialize(imvForeground)...
Hello I like to set the Background of the Custom View to a GradiendDrawable by code like it is done by the Designer Properties.
Dim ColorArray(2) As Int
ColorArray(0) = DisabledColor
ColorArray(1) = xui.Color_White...
I think this is an important feature and I would like b4i to support it. Since there are no services in ios like in android, it turns out that the application cannot work in the background at all, although ios itself supports the function of background uploading or downloading files. And now...
I've asked a similar question before but never found an answer. I need to upload a lot of files to the server and ios really lacks background uploads for this ... I have to wait and not minimize or lock the phone until all the files are uploaded. This is very inconvenient ... In android, this...
When my app is in the background, I use a timer to play a sound and bring the B4XMainPage to the foreground when certain conditions are met. The sound was played and B4XPage.ShowPage("MainPage") was called, but the page didn't appear and no log entry either.
I tried put the timer first in...
Hello everyone.
Maybe someone can help with advice. I am developing a chat. I want that when the application starts, a request is sent and received a JSON file with all messages in order to update all chats. But while this function is being executed, the interface stops responding to clicks. I...
Good day!
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...
Hello!
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".
Sub Activity_Resume...
Hi everyone, i'm completing an app, but i really wish to solve those problems that i always had in these years using B4A.
Glitch 1:
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...
Hola
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
l_din_redondeocolor(0)=Colors.Transparent
l_din_redondeocolor(1)=Colors.Transparent
Dim...
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
l_din_redondeocolor(0)=Colors.Transparent
l_din_redondeocolor(1)=Colors.Transparent
Dim...
Greetings,
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:
Don't allow
Allow once
Allow...
Hi, how can I delete the image background with the eraser? And this can be done by touching and having undo capability. And the image can be recreated by touching
Greetings,
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)...
Hello,
Is it possible to pick a random picture from uploaded files and set it as the form's background? Seems simple but I have searched and didn't find anything. Help is appreciated.
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.