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:检测耳机和耳机?
java 有一个简单的方法,但是,因为我们正在做一个库,所以我们想跳过 jni 部分。