Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Paused on Hold Mode — Gideros Forum

Paused on Hold Mode

yubaroyubaro Member
edited April 2014 in General questions
Samsung always giving me a headache! 8-} :-))

Samsung rejects application by "Application is not paused on Hold mode"

Does anyone know how to make a pause when the device enters this state?

@r2rsawseen any idea?

Thanks!

Comments

  • ar2rsawseenar2rsawseen Maintainer
    Interesting
    they are actually the best at testing usability. Apple published app, Google Play published app, but only on Samsung market they noticed there was a bug saving a highscore. Awesome people there :)

    But to answer your question, listen to Event.APPLICATION_BACKGROUND and pause your game/show menu or something when it is dispatched ;)
  • Do you get another event to say resumed?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • @ar2rsawseen, thanks for your response!

    You always extinguish the fire! :D

    Now I'll try your suggestion!
  • @ar2rsawseen, actually Apple is interested in checking for malicious code (despite Flashlight apps that were more sinister), Google does not check at all (Maybe these days they might for malicious code) and yes I will agree with you Samsung have a very good checking system they even send you screenshots to explain the issue and provide feedback on the issue and how they came to that.

    Likes: ar2rsawseen

    twitter: @ozapps | http://www.oz-apps.com | http://howto.oz-apps.com | http://reviewme.oz-apps.com
    Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
    Cool Vizify Profile at https://www.vizify.com/oz-apps
    +1 -1 (+1 / -0 )Share on Facebook
  • ar2rsawseenar2rsawseen Maintainer
    @SinisterSoft sure there is:
    Event.APPLICATION_FOREGROUND
    http://docs.giderosmobile.com/reference/gideros/EventDispatcher#EventDispatcher

    @OZApps thats true, but you would think larger corporations would dedicate more resources to keeping quality control :)

    Oh I think OUYA also did a great job providing feedback on improvements, etc
  • yubaroyubaro Member
    edited April 2014
    I have tried this and not working.
    self:addEventListener(Event.APPLICATION_BACKGROUND, self.onApplicationBackground, self)
    also
    self:addEventListener("applicationBackground", self.onApplicationBackground, self)
    function nivelArcade:onApplicationBackground()		
    	print("nivelArcade - onApplicationBackground")		
    	self:openMenu()  --> show menu paused all
    end
    @ar2rsawseen, there is something wrong?
  • ar2rsawseenar2rsawseen Maintainer
    hmm, then try Event.APPLICATION_SUSPEND
    I always mix those two, one is when app loses focus, other when it is completely hidden
  • @ar2rsawseen , now if it works .... thanks again for all the great help!
Sign In or Register to comment.