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 是否会广播操作系统更新的意图?
不,但您不能在需要时检查它吗?这是一个非常简单的过程:
int sdk = android.os.Build.VERSION.SDK_INT;