This simple page works and only displays a counter every 5 seconds in the logcat window.
This counter is displayed by a hybrid service.
The create button is used to create the user only the first time (see Constants file).
The final goal is for the service to write to the realm and be displayed by the UI.
I'm having trouble when I want to use the same realm from the UI and service. I opened a message Stackoverflow.
If I disable the use of the realm by the service everything works fine.
The service only displays in the logcat window.
But UI can't display couter.
On the other hand, if I disable the display by the UI, the service successfully writes in the realm.
But I do not have a display :(