F Facilauto Juan Member Licensed User Longtime User Jan 22, 2014 #1 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
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.
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2014 #2 There isn't any relation between the number of cores and the services. Note that you should use File - Export as zip when uploading projects. You are probably seeing this logging issue: http://www.b4x.com/android/forum/threads/bridge-log-duplicates-output.21656/#post-162648 Upvote 0
There isn't any relation between the number of cores and the services. Note that you should use File - Export as zip when uploading projects. You are probably seeing this logging issue: http://www.b4x.com/android/forum/threads/bridge-log-duplicates-output.21656/#post-162648
F Facilauto Juan Member Licensed User Longtime User Jan 23, 2014 #3 Thanks! I'll check that! Upvote 0