I have not explained properly
I have an option in the settings of the app that allows me to enable auto-launch the application when it is in the car
I've the following problems:
1) If i call a CallSub(Main, "..") to connect the activityrecognition object into main activity, doesn't works properly and the Main sub do not called
2) If i call a CallSubDelayed(Main, "..."), it open the Main activity but this behaviour it's not correct for the app's operativity
2) If i try to force the Connect() into Activity_Resume, the connect event works, but the RecognitionService do not start
Simply needs to activate the background service when it is in the car
the ActivityRecognition sample project works properly