foreground

  1. 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...
  2. 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")
  3. 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...
  4. 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