Jump to content

Serial numbers displaying


Marcel7355
 Share

Recommended Posts

It shows the serial number that the device manufacturer (in your case: Samsung) has encoded in the Android profile of the device. Only Samsung knows what it may refer to :) It could be the actual device serial number, IMEI number, or even the MAC address of the WiFi or GSM adapter, etc.

Regards,

Fiery

Link to comment
Share on other sites

~

 

It shows the serial number that the device manufacturer (in your case: Samsung) has encoded in the Android profile of the device. Only Samsung knows what it may refer to :) It could be the actual device serial number, IMEI number, or even the MAC address of the WiFi or GSM adapter, etc.


Regards,
Fiery

 

Yes. But manufacturer report me something like this: "We do not have any idea , what information is displayed by the other vendor's apps and where it had been taken". I think, this is serial for motherboard, not device itself.

Link to comment
Share on other sites

It was taken from Build.SERIAL, directly, there's no magic there at all. You can read more about that Android value at:

http://developer.android.com/reference/android/os/Build.html#SERIAL

It refers to it as hardware serial number, but as I've mentioned above, it's simply a value that the manufacturer of the device encoded there. It could refer to basically anything that the manufacturer chooses, or could even be a bogus value that is the same in every device.

Link to comment
Share on other sites

It was taken from Build.SERIAL, directly, there's no magic there at all. You can read more about that Android value at:

http://developer.android.com/reference/android/os/Build.html#SERIAL

It refers to it as hardware serial number, but as I've mentioned above, it's simply a value that the manufacturer of the device encoded there. It could refer to basically anything that the manufacturer chooses, or could even be a bogus value that is the same in every device.

I got it. Thank you.

Link to comment
Share on other sites

It was taken from Build.SERIAL, directly, there's no magic there at all. You can read more about that Android value at:

http://developer.android.com/reference/android/os/Build.html#SERIAL

It refers to it as hardware serial number, but as I've mentioned above, it's simply a value that the manufacturer of the device encoded there. It could refer to basically anything that the manufacturer chooses, or could even be a bogus value that is the same in every device.

I got the method for Samsung Galaxy Ace to get serial number:

String serial = null;

try if {

Class<?> c = Class.forName("android.os.SystemProperties");

Method get = c.getMethod("get", String.class);

serial = (String) get.invoke(c, "ril.serialnumber");

} catch (Exception ignored) {

}

Please, rewrite code for Samsung Galaxy Ace Smartphone in your next updates. Thank you so much. By the way, in ASUS MEMO HD7 tablet is everything OK. Serial is OK.

PS. As I understood this method is for devices with Radio Interface Layer ("ril.*"). So that it's for you to think how check if the device supports telephony. And if so, display this method, but else dislpay another ("ro.*" or "sys.*") I tried make that in my project, and I had success.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...