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?
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?
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