Android Question Application Stopped

marcel

Active Member
Licensed User
Longtime User
Hi,

Even though I have implemented the Starter Service I got sometimes the error message dialog "<name application> Stopped" The normal error handler seems to work correctly but in the case the dialog appears it doesn't work. How can I find the error causing this? It is not reproducible and I get this also from users. Often when they play with another application and my app is running in the background.

Could this be a Service? I have a Location Monitor Service and a Update Servers that pushes the GPS location to a server.

Any suggestions?
 

marcel

Active Member
Licensed User
Longtime User
No, there is no logging in the play store?!? I hoped the general error handler picked it up.
 
Upvote 0

marcel

Active Member
Licensed User
Longtime User
Yes, but i didn't check the unfiltered one. Will do that, but it is hard to reproduce. It just happend sometimes...
 
Upvote 0

marcel

Active Member
Licensed User
Longtime User
This is the error I found in the logging:

Timeout executing service: ServiceRecord{3273b309 u0 com.yazula.android/.update}
Crashing app skipping ANR: ProcessRecord{d97cba9 24224:com.yazula.android/u0a217} Executing service com.yazula.android/.update

The only thing I understand that the Service Timeout?
 
Upvote 0

marcel

Active Member
Licensed User
Longtime User
Yeah and I also find the code that causes the problem and fixed it. I had a relation to another activity the already closed was. I should move some code to the starter service as this one is always active correct? If all activities and services will close then the starter will closed as last?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I should move some code to the starter service as this one is always active correct?
Yes.

If all activities and services will close then the starter will closed as last?
The process with the service will be killed at some point when your app is in the background.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…