Retrieving Famoco ID programmaticallyΒΆ
It can be interesting for an application to retrieve the Famoco ID programmatically to use it as a unique ID of the device and send it on an application server for instance. The Famoco ID is reliable because it uniquely identifies a device and survives a factory reset.
For Android 8+, if you declare READ_PHONE_STATE permission:
return Build.getSerial();
Note: it is not possible for PX series.