Author Topic: Behaviour after sleep / stand by - iPhone.  (Read 3301 times)

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Hi all,

I comment that behaviour on some post before, but i have done a complete set of test now.
Behavious
When i left an GLBasic application on iPhone running and set iPod / iPhone to stand by (pressing shutdown button for a second), when i come to iPod / iPhone again, and wake up, my application seems to reload, but i found previous 'thread' running on background.
In my case, my game menu load again (like first time), but in the background i can play the game i was playing previously, so its like i have 2 'threads' running at once (yep i know i can't play 2 same app on iPhone), but only respond to touch first.

I have tested and found the same behaviour on iPod 1G (jailbreaked), iPod 2G (not jailbreaked), iPhone 3G (not jailbreaked).
Rest of applications works without problems after sleep (starting on the point they were sleeped), all app i have tested (about 30), have this behaviour, so i can say this must be the 'standar' behaviour.

I am really worried about this, cause in about 1 week, i will send my app to Apple Reviews, and i am worried they rejected my app cause this.

Thanks in advance,

fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: Behaviour after sleep / stand by - iPhone.
« Reply #1 on: 2009-Sep-11 »
Does anybody know if ScribbleMP was accepted successfully by Apple???  :|
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

Offline freshworks

  • Mc. Print
  • *
  • Posts: 31
    • View Profile
Re: Behaviour after sleep / stand by - iPhone.
« Reply #2 on: 2009-Sep-11 »
Yes, just searched scribblemp in the AppStore and it is there! So it looks like it's aproved :) yeeeeeeesssss! Great news

cheers jespar

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: Behaviour after sleep / stand by - iPhone.
« Reply #3 on: 2009-Sep-11 »
Yes, just searched scribblemp in the AppStore and it is there! So it looks like it's aproved :) yeeeeeeesssss! Great news

cheers jespar

Excellent news!!!!!  :good:
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Re: Behaviour after sleep / stand by - iPhone.
« Reply #4 on: 2009-Sep-11 »
Yep, whithout a doubt, that its really great news!

Best Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10760
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Re: Behaviour after sleep / stand by - iPhone.
« Reply #6 on: 2009-Sep-18 »
Hi there.
Behaviour since last update (v 7.115) , has change, now after sleep, the app is shutdown, and i can tap on it to launch (as normal). I dont know if that behaviour was done intentionally, but i think that is the best behaviour that app can take.
I only want let you know.
Best regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10760
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Behaviour after sleep / stand by - iPhone.
« Reply #7 on: 2009-Sep-18 »
Yes, I changed that, and I think it's the safest thing to do. Because it might hog SPU power when in the background otherwise.

Offline fjsantosb

  • Dr. Type
  • ****
  • Posts: 258
    • View Profile
    • Tip Tap Games - iPhone, iPad and iPod Touch Games
Re: Behaviour after sleep / stand by - iPhone.
« Reply #8 on: 2009-Sep-18 »
Yep, is the best solution indeed.
Only one question, its calls gbl_on_quit before exit?

Best regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10760
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Behaviour after sleep / stand by - iPhone.
« Reply #9 on: 2009-Sep-18 »
yes, of course.