Update Rate changing

Monkey Targets Forums/Android/Update Rate changing

Raz(Posted 2011) [#1]
Hi,

I am running my Monkey app on my Android phone, a HTC Desire. The OnCreate function includes the code

SetUpdateRate 60


To start with the app seems to be at this rate. But every time I change the phone from portrait to landscape mode and back again, the update rate seems to increase.

Has anyone else noticed this?

http://chrismingay.co.uk/monkey/Dodgem.zip for the source of what I am doing (not much at this time!)


BigAnd(Posted 2011) [#2]
Yeah, I think someone else pointed out that the app seems to get restarted when you change orientation, so all the code appears to get recalled again. If you keep flipping the orientation of the phone it will get faster and faster. Its as though the OnUpdate keeps getting added to a queue on each flip and its getting called multiple times.

I am sure it will get sorted soon enough and not tried it since v31.


Raz(Posted 2011) [#3]
Ahh good, glad to see it's not just me!