Dear All,
I'm buidling an app with a service for alarming. The service is scheduled to run at 7am every day. I installed the app to my phone to test it. I run the app, and the service started fine. The service also runs as schedule. My problem is, after I closed my app and let the service in the background, I randomly get the error msg "Unfortunately (app) has stopped". Press OK and my service is stopped. I have to open my main app to re-start the service again. I have no ideas what is going wrong. Is there any way to capture the error which cause the app to stop?? Thanks.