I was thinking about that. Yes, that is a good idea.
On Mar 24, 2013 7:03 PM, "James Chen" <notifications@github.com> wrote:

> In cocos2dx/platform/blackberry/CCEGLView.cpp:
>
> > @@ -391,6 +391,13 @@ bool CCEGLView::initGL()
> >          return false;
> >      }
> >
> > +    int idle_mode = SCREEN_IDLE_MODE_KEEP_AWAKE;
> > +    rc = screen_set_window_property_iv(m_screenWindow, SCREEN_PROPERTY_IDLE_MODE, &idle_mode);
> > +    if (rc)
> > +    {
> > +        perror("screen_set_window_property_iv(SCREEN_PROPERTY_IDLE_MODE)");
> > +        return false;
> > +    }
>
> Do we need to provide an interface for developer to support this
> functionality or not?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cocos2d/cocos2d-x/pull/2249/files#r3506065>
> .
>