Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
作为标题,我想获取 android 手机的刷新率然后显示给用户。有什么办法吗?
更新:什么是刷新率? http://en.m.wikipedia.org/wiki/Refresh_rate
解决方案是:
Display display = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(); float refreshRating = display.getRefreshRate();
感谢帮助者。