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.
如果它是 Galaxy Note 2,我希望我的应用程序特别知道这一点,我试图查看一些文档,但找不到任何东西。我能找到的最接近的是屏幕尺寸。
答案是,你必须混合一些已经存在的属性:android.os.Build.MANUFACTURER、android.os.Build.MODEL;和android.os.Build.PRODUCT
android.os.Build.MANUFACTURER
android.os.Build.MODEL;
android.os.Build.PRODUCT
我希望,属性本身是非常具有声明性的。:D