<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Apptivity Lab</title>
	<atom:link href="http://www.apptivitylab.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.apptivitylab.com</link>
	<description>we make apps!</description>
	<lastBuildDate>Thu, 12 Nov 2009 05:17:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Protected: One Time Passwords</title>
		<link>http://www.apptivitylab.com/2009/10/one-time-password/</link>
		<comments>http://www.apptivitylab.com/2009/10/one-time-password/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 03:37:13 +0000</pubDate>
		<dc:creator>jkhong</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.apptivitylab.com/?p=114</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://www.apptivitylab.com/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-114">Password:<br />
<input name="post_password" id="pwbox-114" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://www.apptivitylab.com/2009/10/one-time-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Look at Apple Push Notification Service</title>
		<link>http://www.apptivitylab.com/2009/10/first-look-at-apns/</link>
		<comments>http://www.apptivitylab.com/2009/10/first-look-at-apns/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 02:28:16 +0000</pubDate>
		<dc:creator>jkhong</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.apptivitylab.com/?p=85</guid>
		<description><![CDATA[I&#8217;ve been looking at several ideas that would be would be needing Apple Push Notification service (APNs). This is going to be my quick research to summarize the state of APNs for current / future projects by Apptivity Lab.
APNs runs on iPhone OS 3.0 to handle:

&#8220;Pushing&#8221; text, sound and badges to an installed application without [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking at several ideas that would be would be needing Apple Push Notification service (APNs). This is going to be my quick research to summarize the state of APNs for current / future projects by Apptivity Lab.</p>
<p><span id="more-85"></span>APNs runs on iPhone OS 3.0 to handle:</p>
<ul>
<li>&#8220;Pushing&#8221; text, sound and badges to an installed application without requiring any action from the user.</li>
<li>Even while the application is not currently running on the iPhone OS device.</li>
<li>An application&#8217;s &#8220;background processes&#8221; to be run &#8212; on a server, not the device.</li>
</ul>
<p>Apple has a <a href="http://developer.apple.com/iphone/program/sdk/apns.html">one-page overview</a> of the feature.</p>
<h4>User perspective</h4>
<p>An application can receive text notifications that show as an alert; sound notifications that are played; or a badge notification that adds a number badge to the app icon (like unread emails for Mail). If the application is already running, it may choose to handle the notifications differently.</p>
<p>User&#8217;s can change each push-enabled application&#8217;s settings by going to <strong>Settings &gt; Notifications</strong>. For each push-enable application, user can select whether or not to enable Sounds, Alerts, and/or Badges. There&#8217;s also a setting turn off notifications for all applications.</p>
<p>A device will only receive notifications for/form applications that are <strong>installed</strong> and have been <strong>run at least once</strong> on the device.</p>
<h4>Developer Perspective</h4>
<p>Think of it as a client-server model. Developer deploys the client as an application on the user&#8217;s device. The server uses APNs to push notifications to the device, even if the application is not currently running on the device.</p>
<p>In actual implementation, the server only sends notifications thru the APNs to the device. There isn&#8217;t a direct path from the provider to the device, and it is sent asynchronously. Should the device be offline at the time notification is sent, APNs stores the notification for later delivery. Only 1 notification will be stored per application.</p>
<p>The basic security model is: an application registers itself with APNs on its first launch. The device-application pair is given a &#8220;device token&#8221; by APNs. The application is expected to send the device token to the provider&#8217;s server. With that device token, the provider can communicate with the device thru APNs.</p>
<p>The actual message sent from provider is a JSON object. It can hold a <strong>text message</strong> to be alerted, a <strong>number</strong> to display as a badge on the application icon, or a <strong>sound</strong> name (referencing a system sound or a sound file in the application bundle) to be played. Combinations of the above is possible too.</p>
<p>Apple provides a separate Sandbox and Production APNs. To use them, developers need a SSL cert (available at the iPhone Developer&#8217;s Portal). The SSL cert is to be install on the provider&#8217;s server.</p>
<h4>Requirements</h4>
<ul>
<li>iPhone OS 3.0 or later</li>
<li>Internet connection (wifi, 3G, etc) that allows communication over port 5223</li>
<li>Wifi will only be used if there is no cellular data connection</li>
<li>While on wifi, device will only receive notifications if the device is plugged in or if the device display is on.</li>
</ul>
<p><strong>My Questions</strong></p>
<ol>
<li>Can I push sounds dynamically to the device?<br />
No. &#8220;Pushing&#8221; a sound is actually pushing the filename of a sound file within your application bundle. Scrap the thought of pushing&#8230;. voice mails (example). Fart-Push however, will work. I dread the day Fart apps get Push functions.</li>
<li>How reliable is Push Notifications &#8212; rather, under what conditions will APNs not be able to push?</li>
<li>If I remove an application, will I still receive push notifications for that app?<br />
No. The device will refuse the notification if the target application has been uninstalled. APNs has a feedback service to inform the providers which devices are refusing the notifications, so that it can stop sending to that device.</li>
<li>How long does APNs store notifications for offline devices?<br />
Not sure at this point.</li>
</ol>
<h3>References</h3>
<p>developers.apple.com: <a href="http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008194-CH1-SW1">Apple Push Notification Service Programming Guide</a></p>
<p>mobileorchard.com: <a href="http://www.mobileorchard.com/the-hidden-costs-of-apples-push-notification-service/">The Hidden Costs of Apple&#8217;s Push Notification Service</a></p>
<p>arstechnica.com: <a href="http://arstechnica.com/web/news/2009/04/the-problem-with-push-can-small-developers-afford-it.ars">The problem with push: can small developers afford it?</a></p>
<p>highscalability.com: <a href="http://highscalability.com/blog/2008/6/9/apples-iphone-to-use-a-centralized-push-based-notification-a.html">Apple&#8217;s iPhone to use a centralized push based notification architecture</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.apptivitylab.com/2009/10/first-look-at-apns/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>InOvation Malaysia 2009 Award</title>
		<link>http://www.apptivitylab.com/2009/10/inovation-malaysia-2009-award/</link>
		<comments>http://www.apptivitylab.com/2009/10/inovation-malaysia-2009-award/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 15:26:31 +0000</pubDate>
		<dc:creator>jkhong</dc:creator>
				<category><![CDATA[Media]]></category>

		<guid isPermaLink="false">http://www.apptivitylab.com/?p=87</guid>
		<description><![CDATA[
EARs Rescue, a joint project by E.A.R. Services and Apptivity Lab, has just won the InOvation Malaysia 2009 Awards for the Social and Community Empowerment Innovations category.
Congratulations to the team involve!
Full story to follow soon.
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-88" title="PA210230" src="http://www.apptivitylab.com/wp-content/uploads/2009/10/PA210230-150x150.jpg" alt="PA210230" width="150" height="150" /></p>
<p>EARs Rescue, a joint project by <a href="http://www.ears.my">E.A.R. Services</a> and Apptivity Lab, has just won the <strong>InOvation Malaysia 2009 Awards</strong> for the <em>Social and Community Empowerment Innovations</em> category.</p>
<p>Congratulations to the team involve!</p>
<p>Full story to follow soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apptivitylab.com/2009/10/inovation-malaysia-2009-award/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Meneroka kreativiti tempatan</title>
		<link>http://www.apptivitylab.com/2009/08/meneroka-kreativiti-tempatan/</link>
		<comments>http://www.apptivitylab.com/2009/08/meneroka-kreativiti-tempatan/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 16:34:14 +0000</pubDate>
		<dc:creator>jkhong</dc:creator>
				<category><![CDATA[Media]]></category>

		<guid isPermaLink="false">http://applab.webapp.ears.my/?p=35</guid>
		<description><![CDATA[Kosmo! 14 August 2009: Jason yang terlibat secara aktif dalam menyediakan perisian bagi projek-projek peribadi yang lain kini mengadakan perbincangan dengan syarikat-syarikat tempatan yang berminat untuk mengeksploitasi peluang pemarasan yang wujud di The App Store.
Read the full story at Kosmo!
 
]]></description>
			<content:encoded><![CDATA[<p><strong><img class="size-thumbnail wp-image-38 alignleft" title="Kosmo! Article" src="http://applab.webapp.ears.my/wp-content/uploads/2009/10/Picture-11-150x150.png" alt="Kosmo! Article" width="150" height="150" />Kosmo! 14 August 2009</strong>: <em>Jason yang terlibat secara aktif dalam menyediakan perisian bagi projek-projek peribadi yang lain kini mengadakan perbincangan dengan syarikat-syarikat tempatan yang berminat untuk mengeksploitasi peluang pemarasan yang wujud di The App Store.</em></p>
<div><em><span id="more-35"></span><span style="font-style: normal;">Read the <a href="http://202.190.126.83/kosmo/content.asp?y=2009&amp;dt=0722&amp;pub=Kosmo&amp;sec=Infiniti&amp;pg=in_01.htm">full story at Kosmo</a>!</span></em></div>
<p><em> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.apptivitylab.com/2009/08/meneroka-kreativiti-tempatan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malaysian APPtitude</title>
		<link>http://www.apptivitylab.com/2009/06/malaysian-apptitude/</link>
		<comments>http://www.apptivitylab.com/2009/06/malaysian-apptitude/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:38:28 +0000</pubDate>
		<dc:creator>jkhong</dc:creator>
				<category><![CDATA[Media]]></category>

		<guid isPermaLink="false">http://applab.webapp.ears.my/?p=43</guid>
		<description><![CDATA[The Star, 25 Jun 2009: It&#8217;s the coolest new playground for computer programmers, and Malaysia wants in on it.

Read the full story at TheStar online.
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-44" title="thestar-mistletoe" src="http://applab.webapp.ears.my/wp-content/uploads/2009/10/thestar-mistletoe-150x150.jpg" alt="thestar-mistletoe" width="150" height="150" /><strong>The Star, 25 Jun 2009</strong>: <em>It&#8217;s the coolest new playground for computer programmers, and Malaysia wants in on it.</em></p>
<p><span id="more-43"></span></p>
<p>Read the <a href="http://rage.com.my/writeups/story.asp?file=/2009/6/25/rage_issues/20090624190848&amp;sec=rage_issues">full story at TheStar online</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apptivitylab.com/2009/06/malaysian-apptitude/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
