Hello John,
Please forgive me if I don't know how to really thank you for your idea and the amount of useful information you provided. I am a bit stressed with that issue.
Your idea is more than useful but doesn't fix my problem : in fact I wonder if any code is executed. I mean that Writelog() works pretty well but, believe it or not, from the service I was talking about, nothing is... logged. OF course, other parts are logged correctly...
Ok. We will start at the beginning.
Create a module(mod_functions) and put the write log function into it.
In each service you you put the following code
Sub Service_Create
mod_functions.writelog("your_service_name(),Service_Create")
End Sub
Sub Service_Start (StartingIntent As Intent)
mod_functions.writelog("your_service_name(),Service_Start")
StopService("")
End Sub
Sub Service_Destroy
mod_functions.writelog("your_service_name(),Service_Destroy")
End Sub
you will notice in the start service I stop the service. By doing this you can trace the operation on the service call without having any other code written. If you can do this for all your services and let me know how you get on please.
J.