How to read serial number on a Samsung device (from within app / on the device)?
<p>How to read the device <strong>serial number</strong> (not IMEI) of a <strong>Samsung Android phone</strong> (same value that you get when you call 'adb devices') but from within an app or from the device; not using PC/USB/adb.</p>

<p>I found a solution for HTC and other devices, which is - to call </p>

<pre><code>getprop ro.serialno
</code></pre>

<p>in a terminal</p>

<p>as described here, </p>

<p><a href="http://groups.google.com/group/android-developers/browse_thread/thread/3d57b1a214cdf928" rel="nofollow">http://groups.google.com/group/android-developers/browse_thread/thread/3d57b1a214cdf928</a></p>

<p>but it doesn't work on a Samsung Galaxy S.</p>
