<?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[Regarding get a data from Android default Contacts provider]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I have one question about Android development with QT enviroment.</p>
<p dir="auto">Can I get Android Contacts data(through the Contacts provider) using QTWidget or QML base auto-generated Android app?</p>
<p dir="auto">If not, I had to directly modify auto generated this Android source. But not wants. Because it will huge jobs.</p>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.qt.io/topic/33460/regarding-get-a-data-from-android-default-contacts-provider</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 05:52:45 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/33460.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Oct 2013 09:12:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Regarding get a data from Android default Contacts provider on Tue, 12 Sep 2017 12:57:00 GMT]]></title><description><![CDATA[<p dir="auto">You can query the android contacts with the V-Play API like this:</p>
<pre><code>import VPlayApps 1.0

App {
  AppListView {
    anchors.fill: parent
    model: nativeUtils.getContacts()

    delegate: SimpleRow {
      text: modelData.name
      detailText: modelData.phoneNumber
    }
  }
}
</code></pre>
<p dir="auto">More info is here:<br />
<a href="https://v-play.net/updates/release-2-13-0-free-rewarded-videos-native-ads-for-google-admob-qt#get-contact-list-ios-android" target="_blank" rel="noopener noreferrer nofollow ugc">https://v-play.net/updates/release-2-13-0-free-rewarded-videos-native-ads-for-google-admob-qt#get-contact-list-ios-android</a></p>
<p dir="auto">Cheers, Chris</p>
]]></description><link>https://forum.qt.io/post/414920</link><guid isPermaLink="true">https://forum.qt.io/post/414920</guid><dc:creator><![CDATA[feldifux]]></dc:creator><pubDate>Tue, 12 Sep 2017 12:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to Regarding get a data from Android default Contacts provider on Thu, 31 Oct 2013 09:26:10 GMT]]></title><description><![CDATA[<p dir="auto">Thank you raven-worx! Will review on QT 5.2<br />
[quote author="raven-worx" date="1382707866"]Qt 5.2 comes with QtAndroidExtras module which lets you "call JNI":<a href="http://doc-snapshot.qt-project.org/qt5-stable/qandroidjniobject.html#details" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc-snapshot.qt-project.org/qt5-stable/qandroidjniobject.html#details</a> and also get it's return code.[/quote]</p>
]]></description><link>https://forum.qt.io/post/202437</link><guid isPermaLink="true">https://forum.qt.io/post/202437</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 31 Oct 2013 09:26:10 GMT</pubDate></item><item><title><![CDATA[Reply to Regarding get a data from Android default Contacts provider on Fri, 25 Oct 2013 13:31:06 GMT]]></title><description><![CDATA[<p dir="auto">Qt 5.2 comes with QtAndroidExtras module which lets you "call JNI":<a href="http://doc-snapshot.qt-project.org/qt5-stable/qandroidjniobject.html#details" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc-snapshot.qt-project.org/qt5-stable/qandroidjniobject.html#details</a> and also get it's return code.</p>
]]></description><link>https://forum.qt.io/post/201895</link><guid isPermaLink="true">https://forum.qt.io/post/201895</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Fri, 25 Oct 2013 13:31:06 GMT</pubDate></item><item><title><![CDATA[Reply to Regarding get a data from Android default Contacts provider on Fri, 25 Oct 2013 09:21:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I'm not strong in Android Java development, but If Qt doesn't provide such functionality you should use jni. If fetching contacts require a lot of logic it will be better to implement it in Java and put it for example  into QtActivity.java. And then provide one/several convenient function to invoke from C++.</p>
]]></description><link>https://forum.qt.io/post/201872</link><guid isPermaLink="true">https://forum.qt.io/post/201872</guid><dc:creator><![CDATA[MontezooM]]></dc:creator><pubDate>Fri, 25 Oct 2013 09:21:01 GMT</pubDate></item><item><title><![CDATA[Reply to Regarding get a data from Android default Contacts provider on Fri, 25 Oct 2013 05:17:24 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your answer ManotrezooM.</p>
<p dir="auto">One more question about your answer.</p>
<p dir="auto">I can make a Contact provider request through JNI interfcae.<br />
But How can I get or fetch Contacts provider's respone(result).</p>
<p dir="auto">I can't imagine how can I fetch data from JNI interface between QT(qml/qtWidget)  and JNI.</p>
]]></description><link>https://forum.qt.io/post/201840</link><guid isPermaLink="true">https://forum.qt.io/post/201840</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 25 Oct 2013 05:17:24 GMT</pubDate></item><item><title><![CDATA[Reply to Regarding get a data from Android default Contacts provider on Thu, 24 Oct 2013 12:22:23 GMT]]></title><description><![CDATA[<p dir="auto">You could try get it using  JNI in C++ code.</p>
]]></description><link>https://forum.qt.io/post/201795</link><guid isPermaLink="true">https://forum.qt.io/post/201795</guid><dc:creator><![CDATA[MontezooM]]></dc:creator><pubDate>Thu, 24 Oct 2013 12:22:23 GMT</pubDate></item></channel></rss>