Hi,
all my apps show some cpu usage in the taskmanager while suspended. Around 0.5 - 1.5 %. OnSuspend() is getting called, and OnUpdate() not, like it should be.
Using Monkey V66. Tested on Galaxy Tab 7 and Galaxy Note 10.1.
Can someone confirm this behaviour?
Example:
Import mojo
Class MyApp Extends App
Field test:int
Field count:int
Method OnCreate()
SetUpdateRate 15
End Method
Method OnUpdate()
count += 1
End
Method OnRender()
Cls
DrawText("Suspend called:" + test + " count:" + count, 100, 100)
End
Method OnSuspend()
' Error("on suspend called")
test = 1
End Method
End
Function Main()
New MyApp
End
|