<?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 on: Push on the iPhone</title>
	<atom:link href="http://leecutsco.de/2009/07/14/push-on-the-iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/</link>
	<description>Lee Packham&#039;s blog about software, engineering and life</description>
	<lastBuildDate>Wed, 06 Jul 2011 00:09:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Luis</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-1459</link>
		<dc:creator>Luis</dc:creator>
		<pubDate>Wed, 06 Jul 2011 00:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-1459</guid>
		<description>Hi this code is perfect for me, I was developed it on php but our deliveries is up 1000 000 and we need some more fast.

Thanks!!</description>
		<content:encoded><![CDATA[<p>Hi this code is perfect for me, I was developed it on php but our deliveries is up 1000 000 and we need some more fast.</p>
<p>Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 使用 python/django 发送iPhone push消息 &#171; FALLHUNTER</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-643</link>
		<dc:creator>使用 python/django 发送iPhone push消息 &#171; FALLHUNTER</dc:creator>
		<pubDate>Thu, 28 Oct 2010 14:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-643</guid>
		<description>[...] http://leenux.org.uk/2009/07/14/push-on-the-iphone/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://leenux.org.uk/2009/07/14/push-on-the-iphone/" rel="nofollow">http://leenux.org.uk/2009/07/14/push-on-the-iphone/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-401</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Fri, 22 Jan 2010 06:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-401</guid>
		<description>self.registered is an NSString on the class and is in the .h file - the code assumes the reader and make that themselves.

You pasted your code, but I&#039;m not sure you&#039;re even calling it? The code has to be in the application instance for your app - otherwise it will not work.

You also have to make sure you set up your provisioning properly - this probably the most common error on the phone side. The app requires it&#039;s own provisioning profile and development certificate from Apple - to even test.</description>
		<content:encoded><![CDATA[<p>self.registered is an NSString on the class and is in the .h file &#8211; the code assumes the reader and make that themselves.</p>
<p>You pasted your code, but I&#8217;m not sure you&#8217;re even calling it? The code has to be in the application instance for your app &#8211; otherwise it will not work.</p>
<p>You also have to make sure you set up your provisioning properly &#8211; this probably the most common error on the phone side. The app requires it&#8217;s own provisioning profile and development certificate from Apple &#8211; to even test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ozgurv</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-400</link>
		<dc:creator>ozgurv</dc:creator>
		<pubDate>Fri, 22 Jan 2010 00:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-400</guid>
		<description>And I did not get any error message from console. I successfully create my certificate and provisioning profile and btw I am testing on the phone.</description>
		<content:encoded><![CDATA[<p>And I did not get any error message from console. I successfully create my certificate and provisioning profile and btw I am testing on the phone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ozgurv</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-399</link>
		<dc:creator>ozgurv</dc:creator>
		<pubDate>Fri, 22 Jan 2010 00:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-399</guid>
		<description>The callback methods never gets executed. Here is my code.

- (void)applicationDidFinishLaunching:(UIApplication *)application {
	NSLog(@&quot;Registering Remote Notications&quot;);
	
	[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge &#124; UIRemoteNotificationTypeSound &#124; UIRemoteNotificationTypeAlert)];
	
	// Override point for customization after app launch
	[window makeKeyAndVisible];
}


// Delegation methods
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken {
	const void *devTokenBytes = [devToken bytes];
	// self.registered = YES;
	NSLog(@&quot;deviceToken: %@&quot;, devToken);
	// [self sendProviderDeviceToken:devTokenBytes]; // custom method
}

- (void)application:(UIApplication *)app didFailToRegisterForRemoteNotificationsWithError:(NSError *)err {
	NSLog(@&quot;Error in registration. Error: %@&quot;, err);
}</description>
		<content:encoded><![CDATA[<p>The callback methods never gets executed. Here is my code.</p>
<p>- (void)applicationDidFinishLaunching:(UIApplication *)application {<br />
	NSLog(@&#8221;Registering Remote Notications&#8221;);</p>
<p>	[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];</p>
<p>	// Override point for customization after app launch<br />
	[window makeKeyAndVisible];<br />
}</p>
<p>// Delegation methods<br />
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken {<br />
	const void *devTokenBytes = [devToken bytes];<br />
	// self.registered = YES;<br />
	NSLog(@&#8221;deviceToken: %@&#8221;, devToken);<br />
	// [self sendProviderDeviceToken:devTokenBytes]; // custom method<br />
}</p>
<p>- (void)application:(UIApplication *)app didFailToRegisterForRemoteNotificationsWithError:(NSError *)err {<br />
	NSLog(@&#8221;Error in registration. Error: %@&#8221;, err);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ozgurv</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-398</link>
		<dc:creator>ozgurv</dc:creator>
		<pubDate>Fri, 22 Jan 2010 00:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-398</guid>
		<description>Hi,

what is &quot;self.registered = YES&quot; ?

it causes an error.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>what is &#8220;self.registered = YES&#8221; ?</p>
<p>it causes an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 使用 python/django 发送iphone push消息 &#171; 不落不乖</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-376</link>
		<dc:creator>使用 python/django 发送iphone push消息 &#171; 不落不乖</dc:creator>
		<pubDate>Thu, 10 Dec 2009 07:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-376</guid>
		<description>[...] http://leenux.org.uk/2009/07/14/push-on-the-iphone/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://leenux.org.uk/2009/07/14/push-on-the-iphone/" rel="nofollow">http://leenux.org.uk/2009/07/14/push-on-the-iphone/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-217</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Fri, 25 Sep 2009 12:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-217</guid>
		<description>Ahhh wow - ace! I&#039;ll connect to it later and dump the output from it. Remember that there are headers to each entry (but no footer) - could that be what you&#039;re missing?</description>
		<content:encoded><![CDATA[<p>Ahhh wow &#8211; ace! I&#8217;ll connect to it later and dump the output from it. Remember that there are headers to each entry (but no footer) &#8211; could that be what you&#8217;re missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anish Kumar</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-216</link>
		<dc:creator>Anish Kumar</dc:creator>
		<pubDate>Fri, 25 Sep 2009 12:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-216</guid>
		<description>finally i got the feedback service working on  my production environment. I get some unreadable (hex)characters as output from the feedback service. I convert those to a string. But the converted string doesn&#039;t seem to be matching with the device token of the iPhone. Need to dig more into it.

-Anish</description>
		<content:encoded><![CDATA[<p>finally i got the feedback service working on  my production environment. I get some unreadable (hex)characters as output from the feedback service. I convert those to a string. But the converted string doesn&#8217;t seem to be matching with the device token of the iPhone. Need to dig more into it.</p>
<p>-Anish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://leecutsco.de/2009/07/14/push-on-the-iphone/comment-page-1/#comment-179</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Mon, 17 Aug 2009 08:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://leenux.org.uk/?p=312#comment-179</guid>
		<description>@ Anish - I have never got any feedback on either live or sandbox. Not sure what&#039;s going on there to be honest.</description>
		<content:encoded><![CDATA[<p>@ Anish &#8211; I have never got any feedback on either live or sandbox. Not sure what&#8217;s going on there to be honest.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Object Caching 594/613 objects using apc

Served from: leecutsco.de @ 2012-02-05 08:26:12 -->
