background

  1. A

    Android Question Web View - need webview die continue

    I have a web vision, I get out of the application and, when the loaded page passes 20 minutes, the page does not continue, the page stops!
  2. M

    Bug? [B4A] Intent Based Camera stops working in certain conditions šŸ¤Æ

    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...
  3. A

    Android Question Strange behavior of Canvas

    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)...
  4. Guenter Becker

    Android Question CustomView Background

    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...
  5. red30

    Wish Upload and download files in the background

    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...
  6. red30

    iOS Question The upload of files in the background

    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...
  7. toby

    Android Question Unable to bring a B4XPage app to foreground

    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...
  8. S

    iOS Question Run a Sub in background thread without blocking the UI (Asynchronous)

    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...
  9. A

    Android Question The reasons for the crash of the process in the background.

    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...
  10. A

    Android Question About the MyLocation app

    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...
  11. M

    Android Question Android ugly glitches (White screen before loading layout and more)

    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...
  12. M

    Spanish [SOLUCIONADO] Android 10 gradientdrawable

    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...
  13. M

    Android Question [SOLVED] gradientdrawable android 10 b4a

    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...
  14. rleiman

    Android Question [SOLVED] - Timer is paused randomly when phone is not connected to our computer to display the logs

    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...
  15. Sandman

    iOS Question How to make it simple for user to pick "Always allow" when using geofences?

    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...
  16. A

    Android Question Image Background Eraser

    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
  17. rleiman

    Android Question [SOLVED] - Changing background colour of B4XDialog

    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)...
  18. P

    B4J Question Random picture background

    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.
  19. rleiman

    Android Question [SOLVED] - Running a streaming app without it being put to sleep by Android

    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...
  20. Dave O

    Android Question Automatic backup - timing?

    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...
Top