I'd like to make my app more friendly for e-ink screens, i.e. reducing gradients, removing animations etc. Before I can add separate layouts for those screen types, I first need a way to detect them. Did somebody find a good way to do this?
The Display class doesn't look like it's providing a way to detect the display type...
Edit: By e-ink screen, I mean a screen that works with the e-paper technology.
E Ink displays are referred to as "reflective displays." In an LCD, or "emissive display", light from a backlight is projected through the display towards your eyes. In an E Ink display, no backlight is used; rather, ambient light from the environment is reflected from the surface of the display back to your eyes.
-The e-ink display has a working lifespan of about 50,000 hours, which translates to about 90,000,000 refreshes at 2 seconds each. -While the button is not engaged, the electronic circuit shuts down completely.
What is E-Ink Screen. E-Ink screen, also referred as “Electronic Paper Display”, is a display technology that looks like paper with high visibility and contrast. Nowadays It is commonly used in eReaders due to its unique attributes: no glare (paper-like), low power consumption, easy on eyes.
E Ink Carta, announced in January 2013 at International CES, features 768 by 1024 resolution on 6-inch displays, with 212 ppi pixel density. Named Carta, it is used in the Kindle Paperwhite 1st (2012) and 2nd (2013) generations, the Pocketbook Touch Lux 3 (2015), and the Kobo Nia (2020).
Current ePaper displays have a very slow refresh speed compared to LCD and OLED displays, therefore it should be possible to detect them using the value provided by Display.getRefreshRate().
boolean isEInk() {
return getWindowManager().getDefaultDisplay().getRefreshRate() < 5.0;
}
However on some fairs video capable ePaper display prototypes has already been shown. Therefore I assume that the refresh rate may increase in the next time above the 5.0 value selected in the example code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With