foreground

  1. 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...
  2. 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...
  3. M

    B4i Library [class] Foreground Notifications

    Hi, for my personal need, i had to write a small class in order receive notification when the app is showing (foreground). Maybe it can be useful to someone. You can set: Custom Text Color Custom Background Color The showing time An icon Vibrate (import the library "iPhone")
  4. M

    Android Question Geofence foreground doesn't Work

    Hi everyone, i'm taking a look to @Erel example on Geofence (https://www.b4x.com/android/forum/threads/geofence-monitoring-a-region-in-the-background.84767/#content). I'm trying to change it in order to implement it as foreground service, in this way TEORICALLY the OS can't kill my process...
  5. Yunus Ă–Z

    Android Question FirebaseMessaging - preventing show notification when app is running

    Hi, I look all example and try all of them, but always notification is coming when app is running. I only want to show message when notification is coming if app is running 'B4A version 8.30 'Target SDK: 26 Sub Service_Start (StartingIntent As Intent) FM.HandleIntent(StartingIntent)...
Top