[PyQt] [pyqtdeploy] Qt Android Extras

Phil Thompson phil at riverbankcomputing.com
Sun Aug 9 18:09:12 BST 2015


On 05/08/2015 8:38 am, S├ębastien RAMAGE wrote:
> What I would like to do is enable FLAG_KEEP_SCREEN_ON on my app
> 
> http://stackoverflow.com/questions/27758499/how-to-keep-the-screen-on-in-qt-for-android
> 
> Apparently to do this, I need Qt Android Extras or (I suppose) pyjnius
> 
> it looks like I could modify the QtActivity.java generated by
> QtCreator, but each time I compile my app, QtCreator rewrite it...

Having looked at this a bit more it is *not* possible to wrap the Qt 
Android Extras API for Python. I've submitted a (fairyl trivial) feature 
request to fix this.

For the moment that leaves the (Python v2 only) pyjnius.

Phil


More information about the PyQt mailing list