This app is analog clock but also showing time in digital plus every hour chimes for number of current hour times so when current time is 3 a clock then you will hear chime sound for 3 times.
Great But Every phone's width and height it's not the same.
You can use the Canvas width and the Canvas height block for x1 and x2 value So The User Interface To Be Responsive for every phone.
I calculate the x2 value with a calculator but it doesn't give the correct result. What is the order of priority of these blocks?
label8 and label10 are fragmented blocks of the x2 block. I try to get the values ββand do it with a calculator but it doesn't come out the same.
1 snapshot information is as follows.
label8=-0.80799 this result should come out.
label 8 gives this result.
since global minute=51.01667.
how can we calculate label8?
This will also give the X2 Value in the canvas draw line block.
This number should give the value 101.20101.
MAy be sin(6)global minute, may be sin(65101667)
both were tried but label8 did not give the value.
I know it's a simple question but I couldn't figure it out.
Maybe I'm missing something.
Can you try it and tell me the order of priority?
Thanks Regards.
Problem SOLVED.
It was my mistake. The calculator is stuck in the RADIANS section. It is calculating the sine incorrectly.
I have tried many times but I have not been able to see this. I am VERY VERY sorry.
I am using your clock program. I saw that there was a slight shift in the MINUTE drawing, not on the exact axis. I made an addition for this. In the program I will give (in the aia file), minute lines are drawn when the text button1 is pressed. All minute lines are drawn in a loop. In this way, an error appears in the minute line. I also watched your videos but I did not know if I am doing it right.
My aim is to draw my own hour circle and at the same time draw the minute lines myself by drawing a smaller circle when the phone is turned 90 degrees. Let the user create a clock only by giving the center x y and radius. No matter what size it is. However, since the minute short lines are shifted, it will look wrong. I can use a picture like you did, but I cannot adjust the size as I want. Now, when it is turned 90 degrees, it draws a smaller clock.
I hope I could explain the problem.
Thanks chime_clock_modif.aia (8.6 KB)