由网友(ツ夏小沫ツ)分享简介:如何获得Android设备的名字吗?我使用HTC渴望。当我通过HTC同步连接它的软件显示名称HTC史密斯。我想通过获取code这个名字。How to get android device name? I am using HTC desire. When I connected it via HTC Sync the...
如何获得Android设备的名字吗?我使用HTC渴望。当我通过HTC同步连接它的软件显示名称HTC史密斯。我想通过获取code这个名字。
How to get android device name? I am using HTC desire. When I connected it via HTC Sync the software is displaying the Name 'HTC Smith' . I would like to fetch this name via code.
这是如何实现的机器人?
How is this possible in android?
感谢
推荐答案
为了让Android设备的名称必须添加的code只有一行:
In order to get android device name you have to add only a single line of code:
android.os.Build.MODEL;
在这里找到:getting-android-device-name
相关推荐
最新文章