I was trying to do a B4i version of a B4A compass. There is no animation library so I used a canvas to make the compass.
I have two problems I can't work out.
1. The compass seems to move pretty slowly around. Is there a way to make it more responsive? I appreciate it might be because of how the heading updates quite slowly, but perhaps there's a way to change that too?
2. When I open the panel/canvas from a second page, the image doesn't refresh properly. It seems to start small, resize itself, but the smaller image doesn't get removed.
I've attached a code I have used. Any help and tips are much appreciated!
I have two problems I can't work out.
1. The compass seems to move pretty slowly around. Is there a way to make it more responsive? I appreciate it might be because of how the heading updates quite slowly, but perhaps there's a way to change that too?
2. When I open the panel/canvas from a second page, the image doesn't refresh properly. It seems to start small, resize itself, but the smaller image doesn't get removed.
I've attached a code I have used. Any help and tips are much appreciated!