Android: How to detect electronic ink screen?

I would like to make my application more friendly for electronic ink screens, i.e. reduce gradients, remove animations, etc. Before I can add separate layouts for these types of screens, I first need a way to detect them. Has anyone found a good way to do this?

The Display class is not like a way to detect a display type ...

Edit: by using an electronic ink screen, I mean a screen that works with electronic paper technology .

+5
source share
1 answer

Current ePaper displays have a very slow refresh rate compared to LCDs and OLED displays, so they can be detected using the value provided by Display.getRefreshRate () .

boolean isEInk() { 
  return getWindowManager().getDefaultDisplay().getRefreshRate() < 5.0; 
}

However, prototypes for displaying ePaper prototypes have already been demonstrated at some exhibitions. Therefore, I assume that the refresh rate may increase next time above the value 5.0 selected in the sample code.

+4
source

All Articles