Skip to content Skip to sidebar Skip to footer

How To Get Model Number Of The Phone?

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

Solution 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

Post a Comment for "How To Get Model Number Of The Phone?"