简体   繁体   中英

How to get an Android phones's IMEI and color via USB

I am planning to write an application for my job. I just need to get IMEI numbers of Android devices when they are connected to my PC. It would be great if it shows the color of the device together. Because I want to recongnize each phones when pluging many at once.

With these IMEI numbers, I am going to print out labels for inventory managing. Now there are many phones comming to my office everyday. I open back covers and write down manually. Later on, I put the data into excel. I think this is a wasting of my much time.

I do not know where I need to start to write this application. I do not know if this is possible or not. Any comments will be welcome. Anyone have tried this kind of job? Thank you.

Setup an ADB on your PC Turn on USB Debugging on your Android Devices Connect it to PC via usb cable Use Terminal to adb folder and type

adb shell dumpsys iphonesubinfo

It can show you IMEI But about the color, i think it's not possible right now

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM