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...
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...
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")
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...
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)...
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.