<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[I need to get a serial number of device]]></title><description><![CDATA[<p dir="auto">Good day for all. Sorry any error on my english, but, my natural language is spanish. I have started to program in qt target to android early, then I have a personal project that need to get a serial number of the device, any cell or table. The problem is that I don't have idea about how to do that. Thanks any suggestion or advise.</p>
]]></description><link>https://forum.qt.io/topic/75670/i-need-to-get-a-serial-number-of-device</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 17:36:33 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/75670.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Jan 2017 13:00:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I need to get a serial number of device on Thu, 20 Dec 2018 14:43:08 GMT]]></title><description><![CDATA[<p dir="auto">@Aleksey_K-0 you may want to take a look at <a href="http://doc.qt.io/qt-5/qandroidjniobject.html" target="_blank" rel="noopener noreferrer nofollow ugc">QAndroidJniObject class</a>, and also check this <a href="https://stackoverflow.com/questions/21652263/calling-java-method-from-c-in-qt" target="_blank" rel="noopener noreferrer nofollow ugc">question in stackoverflow</a></p>
]]></description><link>https://forum.qt.io/post/500614</link><guid isPermaLink="true">https://forum.qt.io/post/500614</guid><dc:creator><![CDATA[Pablo J. Rogina]]></dc:creator><pubDate>Thu, 20 Dec 2018 14:43:08 GMT</pubDate></item><item><title><![CDATA[Reply to I need to get a serial number of device on Thu, 20 Dec 2018 10:31:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pablo-j.-rogina">@<bdi>Pablo-J.-Rogina</bdi></a> how to call this from Qt C++ application?</p>
]]></description><link>https://forum.qt.io/post/500540</link><guid isPermaLink="true">https://forum.qt.io/post/500540</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 20 Dec 2018 10:31:47 GMT</pubDate></item><item><title><![CDATA[Reply to I need to get a serial number of device on Mon, 13 Feb 2017 14:47:56 GMT]]></title><description><![CDATA[<p dir="auto">You can also have a look at <a href="https://v-play.net/qt-app-developers/" target="_blank" rel="noopener noreferrer nofollow ugc">V-Play Engine</a>, which offers to access device information such as <a href="https://v-play.net/doc/nativeutils/#deviceModel-method" target="_blank" rel="noopener noreferrer nofollow ugc">model identifier</a> or a unique device id.</p>
]]></description><link>https://forum.qt.io/post/375451</link><guid isPermaLink="true">https://forum.qt.io/post/375451</guid><dc:creator><![CDATA[GTDev]]></dc:creator><pubDate>Mon, 13 Feb 2017 14:47:56 GMT</pubDate></item><item><title><![CDATA[Reply to I need to get a serial number of device on Tue, 31 Jan 2017 15:18:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zealot2">@<bdi>zealot2</bdi></a> what about this? Please note this is Java code (place it in your Android activity)::</p>
<pre><code> public static String getDeviceId(Context context) {
    final String deviceId = ((TelephonyManager)
context.getSystemService(Context.TELEPHONY_SERVICE)).getDeviceId();
    if (deviceId != null) {
        return deviceId;
    } else {
        return android.os.Build.SERIAL;
    }
}
</code></pre>
<p dir="auto">taken from <a href="http://stackoverflow.com/questions/33079734/android-get-serial-number" target="_blank" rel="noopener noreferrer nofollow ugc">here</a></p>
]]></description><link>https://forum.qt.io/post/372655</link><guid isPermaLink="true">https://forum.qt.io/post/372655</guid><dc:creator><![CDATA[Pablo J. Rogina]]></dc:creator><pubDate>Tue, 31 Jan 2017 15:18:05 GMT</pubDate></item></channel></rss>