I am new to Java and Android Studio. I am trying to create an app, which gives the number of Screen unlocks. This task was tried here: Trying to count number of times the phone is unlocked.
Now, I am trying to understand the code and get this code to work. Unfortunately my problem starts at this line: ticker.setText(String.valueOf(Tick.tick));
I guess this is something like setting the text in a TextView in Android Studio. But here we set the Ticker. But I do not know what the ticker is and why you use Tick.tick.
Furthermore, hhen I execute the code I get the following error:
error: cannot find symbol ticker.setText(String.valueOf(Tick.tick));
My guess is that you have to create a class of Tick, but as I said I do not know what it is and I do not know what to write in it.
Sorry for disturbing you and thank you in advance!