Hello Erel,
As I tested the timer as services in my location tracker apps. This message [ "Service is not responding Would you like to close it ?" ask for two options "Wait" and Ok ] is displaying when the (2G) data connection or Cell phone tower connectivity not found its works better on Wifi . with data connectivity It is stuck up at initial stage at requesting location before starting the MSSQL transaction.
I have used the below syntax also.
StartServiceAt and Service.StartForeground(1,nNotify) also.
I want to show my b4a program for your reference. Pls. have a look and Advise me if you find any thing wrong in syntax or programming.
I need to run only timer service to record location without activity module and that gives notification after specific time interval also saves the battery and phone resources like processor capacity & memory space.
Regards
Nitin