Open Feint throws my app into chaos

I’m having a similar problem to the one described here:

http://developer.anscamobile.com/forum/2010/09/01/logged-out-open-feint-and-now-all-screens-are-blank

I can play my game and everything is fine, well mostly. But things get really weird - on device only - when I load the game in, say, flight mode and OF can’t access it’s server. I had been play testing on the train the other day, dropping in and out of the game etc, and it was only when I had to put it into flight mode to get on a plane that the game showed the warning alert in the initial OF display that the game came up with just a black screen. After that nothing I did with the device could get rid of it, until I removed the game and reinstalled.

I’m wondering:

  1. Is there a standard best practice for dealing with Open Feint - other than that in the docs - which maybe some of us miss?
  2. Is there perhaps a more complete API we need in order to get information from the OF binary?
  3. Does using OF affect the “system” event?
  4. What does OF do to our code when our app starts up? (I don’t see anything in the docs to say that our code is suspended, frozen, or simply runs as normal in the background - but it seems to be doing something!)

Thanks,

Matt. [import]uid: 8271 topic_id: 6591 reply_id: 306591[/import]

Don’t know if it helps this issue, but I’ve noticed that the error window OF puts up, to show that it is not connected, definitely lets the app run behind it. If I start my app in the middle of a previous game, while in flight mode, the OF window comes up and the game will eventually come to an end because it’s been running behind the OF window/panel/thing.

Here’s a shot of the OF error display:

http://www.screencast.com/users/HoraceBury/folders/Jing/media/7d68027f-3d08-4630-bb2a-677606e79ca6

Can anyone say if we should definitely start games in a paused state to avoid this or is the OF binary whatsit supposed to avoid this behaviour?

[EDIT] Further evidence shows that, while the OF window is on screen, my code can show it’s own native alerts. This screenshot is of a timer set to repeat 3 times, every 10 seconds, which is kicked off some way down the code after the OF init(): http://www.screencast.com/t/dizXhAli

Thanks,

Matt. [import]uid: 8271 topic_id: 6591 reply_id: 22910[/import]