问题
I am targeting Android with Delphi XE7. I would like to obtain the model number of the phone. That is, I would like to obtain the information highlighted in this image:

How can I achieve this?
回答1:
You can use
DeviceType := JStringToString(TJBuild.JavaClass.MODEL);
OSName := GetCodename(JStringToString(TJBuild_VERSION.JavaClass.RELEASE));
OSVersion := JStringToString(TJBuild_VERSION.JavaClass.RELEASE);
There is a sample here. I hope it'll be useful
来源:https://stackoverflow.com/questions/30591698/how-to-get-model-number-of-the-phone