Android Question STARTING service - disable sound

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear friends,

please. I am starting some Services in my App (SDK 26)
If services are started then each time is here sound. It is possible to disable this sound?

What is standard way for checking if service is started (or running)?
For example:
B4X:
If IsPaused(myservice)=false then startservice(myservice)
Is that good way for checking if the service is running or not? And if not , then the service is started? I am asking because of SOUND after each STARRTING of service.

Thank you very much
p4ppc
 
Last edited:

KMatle

Expert
Licensed User
Longtime User
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
KMATLE-
yes. I have services in foreground mode. There is no other way how to stop the sound? I need this services in foreground mode. Or it is possible to recognize if the service is running in foreground mode and in this case the service will not start again?

Thank you very much
p4ppc
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…