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
Vibrate (import the library "iPhone")
Hi everyone, i'm taking a look to @Erel example on Geofence
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...
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)