PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Power off/on when using PocketHAL freezes on 1910,1940

Whenever I turn off then on my device while running my PocketHAL based game it freezes the device on a completely black screen. Just did a search, and couldn't find anyone else who has reported this so maybe it's just the way I'm using PocketHAL. I have tested on an iPaq 1910 and 1940.

I just had a quick look and it seems you can detect power on by having a dummy serial connection open (which wastes battery), or by using a notification thing that relaunches your app on restart (which you could then send a message to the actual running app). I was thinking that perhaps if you could detect power on then you could re-initialise etc.
No need to worry! I just downloaded 0.6.4 and it works perfectly. Previously I had been using 0.6.0.
Yes, this is most probably related to loosing/gaining focus. And that got fixed in 0.6.1 or 0.6.2.