S sorex Expert Licensed User Longtime User Jan 3, 2019 #1 Hello, In an app (hallway sound monitoring) I sometimes have a crash that causes the app to close. I read that some of the crashes can be captured by using the extra starter service. Now I was wondering how I should implement this. My app has: 1 autostart networking/stayinfront service 2 extra services (broadcaster/receiver of which only 1 is running depending on what the device is) Should I add the extra starter service or should I just copy that application_error sub to my main autostart service?
Hello, In an app (hallway sound monitoring) I sometimes have a crash that causes the app to close. I read that some of the crashes can be captured by using the extra starter service. Now I was wondering how I should implement this. My app has: 1 autostart networking/stayinfront service 2 extra services (broadcaster/receiver of which only 1 is running depending on what the device is) Should I add the extra starter service or should I just copy that application_error sub to my main autostart service?
DonManfred Expert Licensed User Longtime User Jan 3, 2019 #2 sorex said: 1 autostart networking/stayinfront service 2 extra services (broadcaster/receiver of which only 1 is running depending on what the device is) Click to expand... 1. Let it be the extra service 2. Same as 1. 3. Implement the starter service too. Do not use the Starter service as Foreground service and also do not set startatboot on it too. Use any other service for this. Last edited: Jan 3, 2019 Upvote 0
sorex said: 1 autostart networking/stayinfront service 2 extra services (broadcaster/receiver of which only 1 is running depending on what the device is) Click to expand... 1. Let it be the extra service 2. Same as 1. 3. Implement the starter service too. Do not use the Starter service as Foreground service and also do not set startatboot on it too. Use any other service for this.
S sorex Expert Licensed User Longtime User Jan 3, 2019 #3 those numbers in my post were just values, not steps Upvote 0
S sorex Expert Licensed User Longtime User Jan 3, 2019 #4 interesting... when using the false return code the app doesn't even close but just goes on while I received a mail with the crash info. this rox. Upvote 0
interesting... when using the false return code the app doesn't even close but just goes on while I received a mail with the crash info. this rox.