Android Question Dual core device = run services twice?

Facilauto Juan

Member
Licensed User
Longtime User
Hello there!

I have a simple app (attached to this message). This app has a service that logs a message each 3 seconds.

What's the problem?

If you run this app in a mono-core device, you end up having one message each 3 seconds in the log.

BUT... if you run this app in a dual core device, you end up having 2 messages each 3 seconds.

It seems that the service runs once per core.

How can I avoid this behavior?

Thanks for the responses.
 

Attachments

  • prueba_servicio.zip
    448.3 KB · Views: 211
Top