<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for APP-SOLUT Application Solutions - Blog</title>
	<atom:link href="http://app-solut.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://app-solut.com/blog</link>
	<description>Application - Solutions</description>
	<lastBuildDate>Mon, 06 Feb 2012 11:54:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Custom UITableViewCells with round corners by Sabine Antritter</title>
		<link>http://app-solut.com/blog/2011/04/custom-uitableviewcells-with-round-corners/#comment-1239</link>
		<dc:creator>Sabine Antritter</dc:creator>
		<pubDate>Mon, 06 Feb 2012 11:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://app-solut.com/?p=398#comment-1239</guid>
		<description>Hallo Paul,

endlich mal wieder etwas Zeit hierfür...
Das zip-File liegt nun auf einem neuen repo und kann heruntergeladen werden.</description>
		<content:encoded><![CDATA[<p>Hallo Paul,</p>
<p>endlich mal wieder etwas Zeit hierfür&#8230;<br />
Das zip-File liegt nun auf einem neuen repo und kann heruntergeladen werden.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Working with the “ContactsContract” to query contacts in Android by Kevin Kratzer</title>
		<link>http://app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/#comment-1228</link>
		<dc:creator>Kevin Kratzer</dc:creator>
		<pubDate>Fri, 18 Nov 2011 08:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.app-solut.com/?p=12#comment-1228</guid>
		<description>Retrieving notes works just about the same as the other examples shown in this post. Please refer to the API documentation at http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Note.html for the necessary information on notes!</description>
		<content:encoded><![CDATA[<p>Retrieving notes works just about the same as the other examples shown in this post. Please refer to the API documentation at <a href="http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Note.html" rel="nofollow">http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Note.html</a> for the necessary information on notes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using self-defined Parcelable objects during an Android AIDL RPC / IPC call by Kiran</title>
		<link>http://app-solut.com/blog/2011/05/using-self-defined-parcelable-objects-during-an-android-aidl-rpc-ipc-call/#comment-1189</link>
		<dc:creator>Kiran</dc:creator>
		<pubDate>Wed, 16 Nov 2011 13:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://app-solut.com/?p=830#comment-1189</guid>
		<description>Very good article !!! Thanks a lot !!</description>
		<content:encoded><![CDATA[<p>Very good article !!! Thanks a lot !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Combining Interactive Video and WebView Control into a Powerful iOS App by Rich</title>
		<link>http://app-solut.com/blog/2011/05/combining-interactive-video-and-webview-control-into-a-powerful-ios-app/#comment-1106</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 10 Nov 2011 20:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.app-solut.com/?p=289#comment-1106</guid>
		<description>Is this supposed to play the video in the webview, or the mediaplayer? It pops out and plays the video in the mediaplayer (hence no overlays)</description>
		<content:encoded><![CDATA[<p>Is this supposed to play the video in the webview, or the mediaplayer? It pops out and plays the video in the mediaplayer (hence no overlays)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Bag of Words model in OpenCV 2.2 by Al</title>
		<link>http://app-solut.com/blog/2011/07/the-bag-of-words-model-in-opencv-2-2/#comment-1104</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Thu, 10 Nov 2011 17:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://app-solut.com/?p=1091#comment-1104</guid>
		<description>Do you have sample code available somewhere w/ some data? That would be tremendously useful. Tnx!</description>
		<content:encoded><![CDATA[<p>Do you have sample code available somewhere w/ some data? That would be tremendously useful. Tnx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Working with the “ContactsContract” to query contacts in Android by TeamTJ</title>
		<link>http://app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/#comment-1098</link>
		<dc:creator>TeamTJ</dc:creator>
		<pubDate>Thu, 10 Nov 2011 04:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.app-solut.com/?p=12#comment-1098</guid>
		<description>Any code snippets on how to display the notes for the contacts?</description>
		<content:encoded><![CDATA[<p>Any code snippets on how to display the notes for the contacts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Working with the “ContactsContract” to query contacts in Android by Kevin Kratzer</title>
		<link>http://app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/#comment-1011</link>
		<dc:creator>Kevin Kratzer</dc:creator>
		<pubDate>Wed, 02 Nov 2011 10:53:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.app-solut.com/?p=12#comment-1011</guid>
		<description>Hey,

this can be done by the SQLite like operator. It supports wildcards _ for a single character and % for multiple characters. You can see http://www.w3schools.com/sql/sql_like.asp and http://www.sqlite.org/lang_expr.html#like for more information.

As I was also interested if this works I&#039;ve implemented such a method:

	private void searchContacts(String searchName) {
		final String[] projection = new String[] {
				Contacts.DISPLAY_NAME,
		};

		final Cursor contact = managedQuery(
				Contacts.CONTENT_URI,
				projection,
				Contacts.DISPLAY_NAME + &quot; like ?&quot;,
				new String[]{ &quot;%&quot; + searchName + &quot;%&quot;},
				null);

		if(contact.moveToFirst()) {
			while(!contact.isAfterLast()) {
				final String name = contact.getString(
						contact.getColumnIndex(Contacts.DISPLAY_NAME));
				Log.d(getClass().getCanonicalName(), &quot;Searched for name: + &quot; + searchName + &quot;, found: &quot; + name);
				contact.moveToNext();
			}
		}
		contact.close();
	}

For my example setup this will produce the following output:

D/com.appsolut.example.queryContacts.MainActivity(  382): Searched for name: + kevin, found: Akevin
D/com.appsolut.example.queryContacts.MainActivity(  382): Searched for name: + kevin, found: kevin
D/com.appsolut.example.queryContacts.MainActivity(  382): Searched for name: + kevin, found: Akevinb
D/com.appsolut.example.queryContacts.MainActivity(  382): Searched for name: + kevin, found: Aaakevinbbbbb

I hope this helps!</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>this can be done by the SQLite like operator. It supports wildcards _ for a single character and % for multiple characters. You can see <a href="http://www.w3schools.com/sql/sql_like.asp" rel="nofollow">http://www.w3schools.com/sql/sql_like.asp</a> and <a href="http://www.sqlite.org/lang_expr.html#like" rel="nofollow">http://www.sqlite.org/lang_expr.html#like</a> for more information.</p>
<p>As I was also interested if this works I&#8217;ve implemented such a method:</p>
<p>	private void searchContacts(String searchName) {<br />
		final String[] projection = new String[] {<br />
				Contacts.DISPLAY_NAME,<br />
		};</p>
<p>		final Cursor contact = managedQuery(<br />
				Contacts.CONTENT_URI,<br />
				projection,<br />
				Contacts.DISPLAY_NAME + &#8221; like ?&#8221;,<br />
				new String[]{ &#8220;%&#8221; + searchName + &#8220;%&#8221;},<br />
				null);</p>
<p>		if(contact.moveToFirst()) {<br />
			while(!contact.isAfterLast()) {<br />
				final String name = contact.getString(<br />
						contact.getColumnIndex(Contacts.DISPLAY_NAME));<br />
				Log.d(getClass().getCanonicalName(), &#8220;Searched for name: + &#8221; + searchName + &#8220;, found: &#8221; + name);<br />
				contact.moveToNext();<br />
			}<br />
		}<br />
		contact.close();<br />
	}</p>
<p>For my example setup this will produce the following output:</p>
<p>D/com.appsolut.example.queryContacts.MainActivity(  382): Searched for name: + kevin, found: Akevin<br />
D/com.appsolut.example.queryContacts.MainActivity(  382): Searched for name: + kevin, found: kevin<br />
D/com.appsolut.example.queryContacts.MainActivity(  382): Searched for name: + kevin, found: Akevinb<br />
D/com.appsolut.example.queryContacts.MainActivity(  382): Searched for name: + kevin, found: Aaakevinbbbbb</p>
<p>I hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Working with the “ContactsContract” to query contacts in Android by Kevin Kratzer</title>
		<link>http://app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/#comment-1010</link>
		<dc:creator>Kevin Kratzer</dc:creator>
		<pubDate>Wed, 02 Nov 2011 09:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.app-solut.com/?p=12#comment-1010</guid>
		<description>Hey,

sorry I&#039;m not able to tell you why this does not work on your phone (I don&#039;t own a HTC phone at all). Maybe HTC implemented something differently. In a 2.3.3 emulator this code works just fine.

Maybe someone else knows why the code does not run on that phone. You could also try to look at the HTC developer site http://htcdev.com/</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>sorry I&#8217;m not able to tell you why this does not work on your phone (I don&#8217;t own a HTC phone at all). Maybe HTC implemented something differently. In a 2.3.3 emulator this code works just fine.</p>
<p>Maybe someone else knows why the code does not run on that phone. You could also try to look at the HTC developer site <a href="http://htcdev.com/" rel="nofollow">http://htcdev.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Working with the “ContactsContract” to query contacts in Android by Kevin Kratzer</title>
		<link>http://app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/#comment-1009</link>
		<dc:creator>Kevin Kratzer</dc:creator>
		<pubDate>Wed, 02 Nov 2011 08:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.app-solut.com/?p=12#comment-1009</guid>
		<description>Hey,

just as I&#039;ve stated in a previous comment you can change your selection and projection parameter in the way you need it. It&#039;s pretty much just like SQL so if you are having trouble with the format of these parameters look up some basic SQL syntax.

For your task you can modify the provided query for &quot;Querying all phone numbers of a contact&quot; so that the projection returns the Data.CONTACT_ID which identifies a contact uniquely. You can then just reuse the query stated at &quot;Querying basic information of a specific contact&quot; with that contact id.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>just as I&#8217;ve stated in a previous comment you can change your selection and projection parameter in the way you need it. It&#8217;s pretty much just like SQL so if you are having trouble with the format of these parameters look up some basic SQL syntax.</p>
<p>For your task you can modify the provided query for &#8220;Querying all phone numbers of a contact&#8221; so that the projection returns the Data.CONTACT_ID which identifies a contact uniquely. You can then just reuse the query stated at &#8220;Querying basic information of a specific contact&#8221; with that contact id.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Working with the “ContactsContract” to query contacts in Android by redhaze</title>
		<link>http://app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/#comment-1008</link>
		<dc:creator>redhaze</dc:creator>
		<pubDate>Wed, 02 Nov 2011 07:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.app-solut.com/?p=12#comment-1008</guid>
		<description>hey! first of all great tutorial! well my query is, is it possible to retrieve the names and phone numbers of contacts based on a substring? what im effectively asking is is it possible to implement a search function using the managed query?
example if i need to search the contacts for a name kevin whose name is stored as akevinb and also there is another contact with the name aakevinb.. i need to retrieve both of these along with their respective phone numbers.. kindly guide me in this regard..

thanks</description>
		<content:encoded><![CDATA[<p>hey! first of all great tutorial! well my query is, is it possible to retrieve the names and phone numbers of contacts based on a substring? what im effectively asking is is it possible to implement a search function using the managed query?<br />
example if i need to search the contacts for a name kevin whose name is stored as akevinb and also there is another contact with the name aakevinb.. i need to retrieve both of these along with their respective phone numbers.. kindly guide me in this regard..</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
