<?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 Did You Win Yet?</title>
	<atom:link href="http://www.c99.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.c99.org</link>
	<description>Workin&#039; on it…</description>
	<lastBuildDate>Wed, 10 Mar 2010 10:24:30 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on About by Thumas Miilumäki</title>
		<link>http://www.c99.org/about/comment-page-1/#comment-846</link>
		<dc:creator>Thumas Miilumäki</dc:creator>
		<pubDate>Wed, 10 Mar 2010 10:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/blog/?page_id=2#comment-846</guid>
		<description>Dear Sam,

I found some websites describing MobileScrobbler for iPhone you&#039;ve developed. I just wondered if it was possible to get a copy of it? I&#039;m aware of the Last.fm application for iPhone, but unfortunately it is not available in Finland yet. Moreover, I&#039;m more interested in that scrobbling feature and not so interested in having Last.fm radio in my iPhone.

Anyway, in case of possibility to get a copy of MobileScrobbler, please, feel free to contact me via email (Thumas_Miilumaki@hotmail.com).

Thanks.

Kind regards,
Thumas</description>
		<content:encoded><![CDATA[<p>Dear Sam,</p>
<p>I found some websites describing MobileScrobbler for iPhone you&#8217;ve developed. I just wondered if it was possible to get a copy of it? I&#8217;m aware of the Last.fm application for iPhone, but unfortunately it is not available in Finland yet. Moreover, I&#8217;m more interested in that scrobbling feature and not so interested in having Last.fm radio in my iPhone.</p>
<p>Anyway, in case of possibility to get a copy of MobileScrobbler, please, feel free to contact me via email (Thumas_Miilumaki@hotmail.com).</p>
<p>Thanks.</p>
<p>Kind regards,<br />
Thumas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by ronem</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-842</link>
		<dc:creator>ronem</dc:creator>
		<pubDate>Fri, 05 Mar 2010 11:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-842</guid>
		<description>Works great! Thank you very much!</description>
		<content:encoded><![CDATA[<p>Works great! Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by ronem</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-841</link>
		<dc:creator>ronem</dc:creator>
		<pubDate>Thu, 04 Mar 2010 21:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-841</guid>
		<description>&lt;a href=&quot;#comment-840&quot; rel=&quot;nofollow&quot;&gt;@Sam Steele &lt;/a&gt; 

Oh, I suspected something like that in the manifest :) Anyway, thanks for confirming my thoughts. I&#039;ll give this a try tomorrow and report if get any progress :)</description>
		<content:encoded><![CDATA[<p><a href="#comment-840" rel="nofollow">@Sam Steele </a> </p>
<p>Oh, I suspected something like that in the manifest <img src='http://www.c99.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Anyway, thanks for confirming my thoughts. I&#8217;ll give this a try tomorrow and report if get any progress <img src='http://www.c99.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sam Steele</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-840</link>
		<dc:creator>Sam Steele</dc:creator>
		<pubDate>Thu, 04 Mar 2010 15:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-840</guid>
		<description>&lt;a href=&quot;#comment-839&quot; rel=&quot;nofollow&quot;&gt;@ronem &lt;/a&gt; You define your activity in your AndroidManifest.xml to handle your MIME type like so:

&lt;pre&gt;
&lt;activity android:name=&quot;.activity.Profile&quot; android:label=&quot;@string/profile_label&quot;&gt;
	&lt;intent-filter&gt;
		&lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
		&lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
		&lt;data android:mimeType=&quot;vnd.android.cursor.item/vnd.fm.last.android.profile&quot; /&gt;
	&lt;/intent-filter&gt;
&lt;/activity&gt;
&lt;/pre&gt;

You can then read the data that gets passed to your activity through getIntent().getData() like so (I store the username in the DATA1 field of my contacts data row):

&lt;pre&gt;
if(getIntent().getData() != null) {
	Cursor cursor = managedQuery(getIntent().getData(), null, null, null, null);
	if(cursor.moveToNext()) {
		mUsername = cursor.getString(cursor.getColumnIndex(&quot;DATA1&quot;));
	}
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-839" rel="nofollow">@ronem </a> You define your activity in your AndroidManifest.xml to handle your MIME type like so:</p>
<pre>
&lt;activity android:name=".activity.Profile" android:label="@string/profile_label"&gt;
	&lt;intent-filter&gt;
		&lt;action android:name="android.intent.action.VIEW" /&gt;
		&lt;category android:name="android.intent.category.DEFAULT" /&gt;
		&lt;data android:mimeType="vnd.android.cursor.item/vnd.fm.last.android.profile" /&gt;
	&lt;/intent-filter&gt;
&lt;/activity&gt;
</pre>
<p>You can then read the data that gets passed to your activity through getIntent().getData() like so (I store the username in the DATA1 field of my contacts data row):</p>
<pre>
if(getIntent().getData() != null) {
	Cursor cursor = managedQuery(getIntent().getData(), null, null, null, null);
	if(cursor.moveToNext()) {
		mUsername = cursor.getString(cursor.getColumnIndex("DATA1"));
	}
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by ronem</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-839</link>
		<dc:creator>ronem</dc:creator>
		<pubDate>Thu, 04 Mar 2010 15:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-839</guid>
		<description>What a great guide! Thanks for this. This is really helpful because there is very little or no documentation in the Android resources about this issue. 

However, I am still struggling with defining the activity that could be launched when a custom field/contact item is clicked. Also a QuickContact item is what I&#039;m trying to implement. Could you shortly describe how the intent and activity should be defined? Should it be in the AndroidManifest.xml? Thank you very much. I currently just getting the log output describing that no activity for the custom contact item was found:

I/ActivityManager(   53): Starting activity: Intent { act=android.intent.action.VIEW dat=content://com.android.contacts/data/22 }
E/ViewContact(  103): No activity found for intent: Intent { act=android.intent.action.VIEW dat=content://com.android.contacts/data/22 }</description>
		<content:encoded><![CDATA[<p>What a great guide! Thanks for this. This is really helpful because there is very little or no documentation in the Android resources about this issue. </p>
<p>However, I am still struggling with defining the activity that could be launched when a custom field/contact item is clicked. Also a QuickContact item is what I&#8217;m trying to implement. Could you shortly describe how the intent and activity should be defined? Should it be in the AndroidManifest.xml? Thank you very much. I currently just getting the log output describing that no activity for the custom contact item was found:</p>
<p>I/ActivityManager(   53): Starting activity: Intent { act=android.intent.action.VIEW dat=content://com.android.contacts/data/22 }<br />
E/ViewContact(  103): No activity found for intent: Intent { act=android.intent.action.VIEW dat=content://com.android.contacts/data/22 }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sharad</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-838</link>
		<dc:creator>Sharad</dc:creator>
		<pubDate>Wed, 03 Mar 2010 22:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-838</guid>
		<description>You are awesome.....Thanks it worked :-)</description>
		<content:encoded><![CDATA[<p>You are awesome&#8230;..Thanks it worked <img src='http://www.c99.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sam Steele</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-835</link>
		<dc:creator>Sam Steele</dc:creator>
		<pubDate>Wed, 03 Mar 2010 01:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-835</guid>
		<description>&lt;a href=&quot;#comment-834&quot; rel=&quot;nofollow&quot;&gt;@Sharad &lt;/a&gt; You can enable syncing with ContentResolver.setSyncAutomatically(), an example is below:

AccountManager am = AccountManager.get(this);
Account[] accounts = am.getAccountsByType(getString(R.string.ACCOUNT_TYPE));
ContentResolver.setIsSyncable(accounts[0], ContactsContract.AUTHORITY, 1);
ContentResolver.setSyncAutomatically(accounts[0], ContactsContract.AUTHORITY, true);</description>
		<content:encoded><![CDATA[<p><a href="#comment-834" rel="nofollow">@Sharad </a> You can enable syncing with ContentResolver.setSyncAutomatically(), an example is below:</p>
<p>AccountManager am = AccountManager.get(this);<br />
Account[] accounts = am.getAccountsByType(getString(R.string.ACCOUNT_TYPE));<br />
ContentResolver.setIsSyncable(accounts[0], ContactsContract.AUTHORITY, 1);<br />
ContentResolver.setSyncAutomatically(accounts[0], ContactsContract.AUTHORITY, true);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sharad</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-834</link>
		<dc:creator>Sharad</dc:creator>
		<pubDate>Wed, 03 Mar 2010 00:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-834</guid>
		<description>How do we enable the Sync by default. When i goto Accounts &amp; Sync and in Manage Accounts i see that for my Application by default the the Sync service is off &quot;Sync is OFF&quot; i want this to be on by default.</description>
		<content:encoded><![CDATA[<p>How do we enable the Sync by default. When i goto Accounts &amp; Sync and in Manage Accounts i see that for my Application by default the the Sync service is off &#8220;Sync is OFF&#8221; i want this to be on by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Brian</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-833</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 02 Mar 2010 00:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-833</guid>
		<description>Hi.  Thanks again for a great writeup.

Two questions:
1) Any idea how to set presence indicator?  I&#039;ve tried http://developer.android.com/reference/android/provider/ContactsContract.StatusColumns.html#PRESENCE, but no luck.

2) Any idea how to change the menu for the &quot;Long Tap&quot; menu?  I can get the quick contact to work, I was hoping the long tap menu would inherit.</description>
		<content:encoded><![CDATA[<p>Hi.  Thanks again for a great writeup.</p>
<p>Two questions:<br />
1) Any idea how to set presence indicator?  I&#8217;ve tried <a href="http://developer.android.com/reference/android/provider/ContactsContract.StatusColumns.html#PRESENCE" rel="nofollow">http://developer.android.com/reference/android/provider/ContactsContract.StatusColumns.html#PRESENCE</a>, but no luck.</p>
<p>2) Any idea how to change the menu for the &#8220;Long Tap&#8221; menu?  I can get the quick contact to work, I was hoping the long tap menu would inherit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sam Steele</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-828</link>
		<dc:creator>Sam Steele</dc:creator>
		<pubDate>Wed, 24 Feb 2010 17:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-828</guid>
		<description>It&#039;s probably unnecessary then, I hadn&#039;t tried it without that.</description>
		<content:encoded><![CDATA[<p>It&#8217;s probably unnecessary then, I hadn&#8217;t tried it without that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Berto</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-827</link>
		<dc:creator>Berto</dc:creator>
		<pubDate>Wed, 24 Feb 2010 17:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-827</guid>
		<description>Hey Sam,

I&#039;m a little curious why you explicitly perform:

#
builder = ContentProviderOperation.newUpdate(ContactsContract.Data.CONTENT_URI);
#
     builder.withSelection(BaseColumns._ID + &quot; = &#039;&quot; + c.getLong(1) + &quot;&#039;&quot;, null);
#
     builder.withValue(ContactsContract.Data.DATA3, status);
#
     operationList.add(builder.build());

in your updateContactStatus method.  When I was playing around with statuses, it automatically did that for me because of the association with the data row.</description>
		<content:encoded><![CDATA[<p>Hey Sam,</p>
<p>I&#8217;m a little curious why you explicitly perform:</p>
<p>#<br />
builder = ContentProviderOperation.newUpdate(ContactsContract.Data.CONTENT_URI);<br />
#<br />
     builder.withSelection(BaseColumns._ID + &#8221; = &#8216;&#8221; + c.getLong(1) + &#8220;&#8216;&#8221;, null);<br />
#<br />
     builder.withValue(ContactsContract.Data.DATA3, status);<br />
#<br />
     operationList.add(builder.build());</p>
<p>in your updateContactStatus method.  When I was playing around with statuses, it automatically did that for me because of the association with the data row.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sam Steele</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-825</link>
		<dc:creator>Sam Steele</dc:creator>
		<pubDate>Sun, 21 Feb 2010 04:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-825</guid>
		<description>The QuickContact list is built from the MIME-types associated with the contacts Data records, so as far as I know there&#039;s no way for your app to appear in the QC list without having added a record to the data table using a sync provider.  I suppose it may be possible to insert records into that table inside your app, but it still needs to be associated with your own account type.</description>
		<content:encoded><![CDATA[<p>The QuickContact list is built from the MIME-types associated with the contacts Data records, so as far as I know there&#8217;s no way for your app to appear in the QC list without having added a record to the data table using a sync provider.  I suppose it may be possible to insert records into that table inside your app, but it still needs to be associated with your own account type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Paul</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-824</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 21 Feb 2010 02:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-824</guid>
		<description>Thanks for this great tutorial.

I am wondering if creating a sync provider is the only way to include ones app in the Quick Contact widget. If my application has nothing to sync, but would benefit the user being in the QC list, must I create a phantom sync service (authenticate and the &quot;whole-nine&quot;)?

I&#039;m wondering if its possible to simply include my app on the QC list and, if so, how?

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Thanks for this great tutorial.</p>
<p>I am wondering if creating a sync provider is the only way to include ones app in the Quick Contact widget. If my application has nothing to sync, but would benefit the user being in the QC list, must I create a phantom sync service (authenticate and the &#8220;whole-nine&#8221;)?</p>
<p>I&#8217;m wondering if its possible to simply include my app on the QC list and, if so, how?</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 1 by Berto</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/comment-page-1/#comment-823</link>
		<dc:creator>Berto</dc:creator>
		<pubDate>Fri, 19 Feb 2010 21:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1249#comment-823</guid>
		<description>That usually means that you are passing in the wrong context when you&#039;re calling AccountManager.get(this).addAccountExplicitly.  You need to make sure that you&#039;re using the same context every time you call AccountManaget.get().  This is to prevent other things from messing with accounts your service has created.</description>
		<content:encoded><![CDATA[<p>That usually means that you are passing in the wrong context when you&#8217;re calling AccountManager.get(this).addAccountExplicitly.  You need to make sure that you&#8217;re using the same context every time you call AccountManaget.get().  This is to prevent other things from messing with accounts your service has created.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 1 by Joe</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/comment-page-1/#comment-822</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 18 Feb 2010 17:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1249#comment-822</guid>
		<description>&lt;a href=&quot;#comment-793&quot; rel=&quot;nofollow&quot;&gt;@Hi &lt;/a&gt; 
Having the same problem here;  anyone know what causes it?  Everything works fine up until the login is complete and the authenticator response is sent, and that&#039;s when it crashes with:

W/AccountManagerService(   52): caller uid 10026 is different than the authenticator&#039;s uid
E/AndroidRuntime(  348): java.lang.SecurityException: caller uid 10026 is different than the authenticator&#039;s uid
E/AndroidRuntime(  348):        at android.os.Parcel.readException(Parcel.java:1218)
E/AndroidRuntime(  348):        at android.os.Parcel.readException(Parcel.java:1206)
E/AndroidRuntime(  348):        at android.accounts.IAccountManager$Stub$Proxy.addAccount(IAccountManager.java:506)
E/AndroidRuntime(  348):        at android.accounts.AccountManager.addAccountExplicitly(AccountManager.java:246)

android:proc=&quot;:auth&quot; is set in AndroidManifest (and can be seen in logcat when the service starts up).  What could be causing this?</description>
		<content:encoded><![CDATA[<p><a href="#comment-793" rel="nofollow">@Hi </a><br />
Having the same problem here;  anyone know what causes it?  Everything works fine up until the login is complete and the authenticator response is sent, and that&#8217;s when it crashes with:</p>
<p>W/AccountManagerService(   52): caller uid 10026 is different than the authenticator&#8217;s uid<br />
E/AndroidRuntime(  348): java.lang.SecurityException: caller uid 10026 is different than the authenticator&#8217;s uid<br />
E/AndroidRuntime(  348):        at android.os.Parcel.readException(Parcel.java:1218)<br />
E/AndroidRuntime(  348):        at android.os.Parcel.readException(Parcel.java:1206)<br />
E/AndroidRuntime(  348):        at android.accounts.IAccountManager$Stub$Proxy.addAccount(IAccountManager.java:506)<br />
E/AndroidRuntime(  348):        at android.accounts.AccountManager.addAccountExplicitly(AccountManager.java:246)</p>
<p>android:proc=&#8221;:auth&#8221; is set in AndroidManifest (and can be seen in logcat when the service starts up).  What could be causing this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sharad</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-808</link>
		<dc:creator>Sharad</dc:creator>
		<pubDate>Thu, 11 Feb 2010 17:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-808</guid>
		<description>Worked thanks for the help</description>
		<content:encoded><![CDATA[<p>Worked thanks for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sam Steele</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-807</link>
		<dc:creator>Sam Steele</dc:creator>
		<pubDate>Thu, 11 Feb 2010 02:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-807</guid>
		<description>&lt;a href=&quot;#comment-806&quot; rel=&quot;nofollow&quot;&gt;@Sharad &lt;/a&gt; add android:supportsUploading=&quot;false&quot; to your contact provider xml (sync_contacts.xml in my example) to disable creation of new contacts</description>
		<content:encoded><![CDATA[<p><a href="#comment-806" rel="nofollow">@Sharad </a> add android:supportsUploading=&#8221;false&#8221; to your contact provider xml (sync_contacts.xml in my example) to disable creation of new contacts</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Sharad</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-806</link>
		<dc:creator>Sharad</dc:creator>
		<pubDate>Thu, 11 Feb 2010 00:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-806</guid>
		<description>Thanks for the reply...i got that after some investigation, i have one more question, when i try to add a new contact it gives a list and gives me the name of my application. I don&#039;t want that. User should not create contacts under my application. How is this possible.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply&#8230;i got that after some investigation, i have one more question, when i try to add a new contact it gives a list and gives me the name of my application. I don&#8217;t want that. User should not create contacts under my application. How is this possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 1 by Brian</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/comment-page-1/#comment-805</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 09 Feb 2010 21:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1249#comment-805</guid>
		<description>Discovered the answer:
- the AndroidSyncProviderDemo  ships with android:supportsUploading=&quot;false&quot; in sync_contacts.xml

- set it to android:supportsUploading=&quot;true&quot; and re-install the app

Then all contacts created will be assigned to the demo provider</description>
		<content:encoded><![CDATA[<p>Discovered the answer:<br />
- the AndroidSyncProviderDemo  ships with android:supportsUploading=&#8221;false&#8221; in sync_contacts.xml</p>
<p>- set it to android:supportsUploading=&#8221;true&#8221; and re-install the app</p>
<p>Then all contacts created will be assigned to the demo provider</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 1 by Brian</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/comment-page-1/#comment-804</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 09 Feb 2010 20:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1249#comment-804</guid>
		<description>Thanks very much for a great post.

One question.  I&#039;ve installed  the AndroidSyncProviderDemo in the emulator and configured the account &quot;efudd&quot; now shows up on my &quot;Account and sync Settings&quot; settings page.

However, I was expecting that when I create a new contact that it would either default to the new sync provider or prompt me for a choice.

sqlite&gt; select _id, account_name, account_type, display_name from raw_contacts;
select _id, account_name, account_type, display_name from raw_contacts;
_id&#124;account_name&#124;account_type&#124;display_name
1&#124;efudd&#124;org.c99.SyncProviderDemo.account&#124;Elmer Fudd
2&#124;&#124;&#124;Test1
3&#124;&#124;&#124;Test2
4&#124;&#124;&#124;Test3

How can I make efudd&#124;org.c99.SyncProviderDemo.account the account for all new contacts?

Thanks again</description>
		<content:encoded><![CDATA[<p>Thanks very much for a great post.</p>
<p>One question.  I&#8217;ve installed  the AndroidSyncProviderDemo in the emulator and configured the account &#8220;efudd&#8221; now shows up on my &#8220;Account and sync Settings&#8221; settings page.</p>
<p>However, I was expecting that when I create a new contact that it would either default to the new sync provider or prompt me for a choice.</p>
<p>sqlite&gt; select _id, account_name, account_type, display_name from raw_contacts;<br />
select _id, account_name, account_type, display_name from raw_contacts;<br />
_id|account_name|account_type|display_name<br />
1|efudd|org.c99.SyncProviderDemo.account|Elmer Fudd<br />
2|||Test1<br />
3|||Test2<br />
4|||Test3</p>
<p>How can I make efudd|org.c99.SyncProviderDemo.account the account for all new contacts?</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 1 by Sam Steele</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/comment-page-1/#comment-801</link>
		<dc:creator>Sam Steele</dc:creator>
		<pubDate>Sat, 06 Feb 2010 19:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1249#comment-801</guid>
		<description>&lt;a href=&quot;#comment-798&quot; rel=&quot;nofollow&quot;&gt;@Hmm &lt;/a&gt; if your account doesn&#039;t appear in the Accounts &amp; Sync add screen, then you haven&#039;t defined it properly in the various xml files, including your android manifest.</description>
		<content:encoded><![CDATA[<p><a href="#comment-798" rel="nofollow">@Hmm </a> if your account doesn&#8217;t appear in the Accounts &#038; Sync add screen, then you haven&#8217;t defined it properly in the various xml files, including your android manifest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 1 by Sam Steele</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/comment-page-1/#comment-800</link>
		<dc:creator>Sam Steele</dc:creator>
		<pubDate>Sat, 06 Feb 2010 18:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1249#comment-800</guid>
		<description>I&#039;ve posted a standalone sync provider demo project to GitHub that should make it easier to understand: http://github.com/c99koder/AndroidSyncProviderDemo</description>
		<content:encoded><![CDATA[<p>I&#8217;ve posted a standalone sync provider demo project to GitHub that should make it easier to understand: <a href="http://github.com/c99koder/AndroidSyncProviderDemo" rel="nofollow">http://github.com/c99koder/AndroidSyncProviderDemo</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 2 by Did You Win Yet? &#187; Writing an Android Sync Provider: Part 1</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/comment-page-1/#comment-799</link>
		<dc:creator>Did You Win Yet? &#187; Writing an Android Sync Provider: Part 1</dc:creator>
		<pubDate>Sat, 06 Feb 2010 18:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1262#comment-799</guid>
		<description>[...] Ready to fill in that section below &#8220;Data &amp; synchronization&#8221;? Let&#8217;s move on to part 2! [...]</description>
		<content:encoded><![CDATA[<p>[...] Ready to fill in that section below &#8220;Data &amp; synchronization&#8221;? Let&#8217;s move on to part 2! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 1 by Hmm</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/comment-page-1/#comment-798</link>
		<dc:creator>Hmm</dc:creator>
		<pubDate>Fri, 05 Feb 2010 01:09:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1249#comment-798</guid>
		<description>Thanks for the code and explanation.

However, when I click on Add Account in &quot;Accounts &amp; Sync&quot; it takes me to the default Exchange screen. My service isnt getting fired at all. I don&#039;t see Account Authenticator intent being raised either.</description>
		<content:encoded><![CDATA[<p>Thanks for the code and explanation.</p>
<p>However, when I click on Add Account in &#8220;Accounts &amp; Sync&#8221; it takes me to the default Exchange screen. My service isnt getting fired at all. I don&#8217;t see Account Authenticator intent being raised either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing an Android Sync Provider: Part 1 by Hi</title>
		<link>http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/comment-page-1/#comment-797</link>
		<dc:creator>Hi</dc:creator>
		<pubDate>Wed, 03 Feb 2010 23:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.c99.org/?p=1249#comment-797</guid>
		<description>Yes. But I&#039;m guessing its got something to with my not using the correct context to call the service from.</description>
		<content:encoded><![CDATA[<p>Yes. But I&#8217;m guessing its got something to with my not using the correct context to call the service from.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
