I am trying to solve the following problem.
The application is aimed to provide customized backup for a phone connected through the USB. When the phone is connected to the system, the application should be launched.
I already wrote the components as follows. 1. A Daemon that detects when the specific USB is connected and then launches the application. 2. The Application that performs the backup.
I need to bind these two things together. I went through the documentation for Launch Agents. But there are more about making the main backup application launch during login/logout or system startup/shutdown.
Can you please help me in solving this?
I really appreciate your help.
Thanks, Kishore