As the title, i want to get the refresh rate of android phone then show to user. Is there any way?
Updated: what is refresh rate? http://en.m.wikipedia.org/wiki/Refresh_rate
The refresh rate can be calculated from the horizontal scan rate by dividing the scanning frequency by the number of horizontal lines, plus some amount of time to allow for the beam to return to the top. By convention, this is a 1.05x multiplier.
The solution is:
Display display = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
float refreshRating = display.getRefreshRate();
Thanks to THelper.
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