Start Service from service

monki

Active Member
Licensed User
Longtime User
hi, it is possible to start from a service another service.

The following example does not work unfortunately

service1 is started from the main activity

Why?

Code: Copy
'Service module Service1
Sub Process_Globals
   'These global variables will be declared once when the application starts.
   'These variables can be accessed from all modules.

End Sub
Sub Service_Create

End Sub

Sub Service_Start (StartingIntent As Intent)
StartService(service2)
End Sub

Sub Service_Destroy

End Sub
 
Back
Top