Chronometer widget starts from 01.00.00

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Chronometer widget starts from 01.00.00



when I launch my app from the emulator the Chronometer starts at 00.00.00, but when I launch it from a smartphone it starts one hour ahead (01.00.00).
This is my code for starting the chronometer:


chronometer.setBase(SystemClock.elapsedRealtime());
chronometer.start();



Of course the problem is when I get the SystemClock.elapsedRealtime(), I've read the documentation but cannot find something to face this problem.




1 Answer
1



I solved manually adding the time in my chronometer, as suggested here:



Chronometer with H:MM:SS






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived