Hi.
My project consist of two parts.
First part is a background service module that capture incoming SMS and store them in a file. This service must be always running, I can't loose any incoming SMS.
Second part is an application that read the file created by the service and do other things. The application, as any other application, can be running or not, never mind.
Actualy I do this with two different packages, one for the service and one for the application.
I would like to distribute just one pachage, that include the service also. So that, once the user start the application the first time after installing it, the service is started and never die, also if the application is closed.
Is it possible ?
Marco
My project consist of two parts.
First part is a background service module that capture incoming SMS and store them in a file. This service must be always running, I can't loose any incoming SMS.
Second part is an application that read the file created by the service and do other things. The application, as any other application, can be running or not, never mind.
Actualy I do this with two different packages, one for the service and one for the application.
I would like to distribute just one pachage, that include the service also. So that, once the user start the application the first time after installing it, the service is started and never die, also if the application is closed.
Is it possible ?
Marco