Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

How to simulate screen off?

New Here ,
Mar 01, 2011 Mar 01, 2011

Hi guys, I'm trying to figure out how it is the best way to provide users the possibility to use my app with the screen off to save battery. I know that in native way, you can set the processing parte to be active and the screen to be inactive, but using Air we cant do that right?

So I need the processing to be active ( saving bitmaps ) but I don't need the screen to be turned on for that. I read in the adobe headman document, that black pixers use less battery then color pixels, that is true? So I thoght that I can put a black square that fill the stage to simulate the screen off, do you guys think that would work? It would worth and save something?

Thanks.

TOPICS
Development
404
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 01, 2011 Mar 01, 2011
LATEST

In OLED type screens setting pixels to black turns the pixels off. I

don't know how you would keep a process running but you may be able to

hide the screen by setting the alpha on the application to 0 and

setting the application visible properties to false in the xml

descriptor file. Please let us know if this works.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines