<?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>Kerry Buckley &#187; Web21C</title>
	<atom:link href="http://www.kerrybuckley.org/category/bt/web21c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrybuckley.org</link>
	<description>What's the simplest thing that could possibly go wrong?</description>
	<lastBuildDate>Fri, 02 Jul 2010 08:56:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>JohnMac and psd: the real story!</title>
		<link>http://www.kerrybuckley.org/2007/05/15/johnmac-and-psd-the-real-story/</link>
		<comments>http://www.kerrybuckley.org/2007/05/15/johnmac-and-psd-the-real-story/#comments</comments>
		<pubDate>Tue, 15 May 2007 11:59:07 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[General nonsense]]></category>
		<category><![CDATA[Web21C]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/05/15/johnmac-and-psd-the-real-story/</guid>
		<description><![CDATA[According to Twitter, anyway: :-)]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/JohnMac/friends">According to Twitter</a>, anyway:</p>
<p><img src='/wp-content/uploads/2007/05/johns_friend.JPG' alt='John’s one friend' /></p>
<p>:-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2007/05/15/johnmac-and-psd-the-real-story/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BT’s Java SDK part two: making phone calls</title>
		<link>http://www.kerrybuckley.org/2007/02/18/bt%e2%80%99s-java-sdk-part-two-making-phone-calls/</link>
		<comments>http://www.kerrybuckley.org/2007/02/18/bt%e2%80%99s-java-sdk-part-two-making-phone-calls/#comments</comments>
		<pubDate>Sun, 18 Feb 2007 12:02:30 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[BT]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Web21C]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/02/18/bt%e2%80%99s-java-sdk-part-two-making-phone-calls/</guid>
		<description><![CDATA[Yesterday we saw how easy it is to send text messages using the SDK, so now let's try making a phone call. Imagine you're implementing a customer support system where people can submit a problem report along with their phone number, and you want to have the appropriate person ring them to help resolve their [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday we saw how easy it is to <a href="/2007/02/17/bts-java-sdk/">send text messages using the SDK</a>, so now let's try making a phone call.</p>
<p><span id="more-90"></span></p>
<p>Imagine you're implementing a customer support system where people can submit a problem report along with their phone number, and you want to have the appropriate person ring them to help resolve their fault. Your system does whatever magic is required to find who that appropriate person is, then uses the Web21C SDK to set up the call:</p>
<div class="igBar"><span id="ljava-2"><a href="#" onclick="javascript:showCodeTxt('java-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVA:</span>
<div id="java-2">
<div class="java">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">package com.<span style="color: #006600;">kerrybuckley</span>.<span style="color: #006600;">sdk</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import com.bt.sdk.thirdpartycall.ThirdPartyCall;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> ThirdPartyCallDemo <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">static</span> <span style="color: #993333;">void</span> main<span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> args<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">new</span> ThirdPartyCallDemo<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">makeCall</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"tel:+447700900123"</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"tel:+441214960391"</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> makeCall<span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> engineerPhoneNo, <a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> customerPhoneNo<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; ThirdPartyCall tpc = <span style="color: #000000; font-weight: bold;">new</span> ThirdPartyCall<span style="color: #66cc66;">&#40;</span>customerPhoneNo,</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; engineerPhoneNo<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; tpc.<span style="color: #006600;">startCall</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>The <code>ThirdPartyCall</code> constructor on line 12 takes two arguments, <em>callee</em> and <em>caller</em>. When the call is connected using <code>startCall()</code>, the caller's phone (the engineer, in our example) rings first. Once they pick up, the callee's phone starts ringing, and the call between the two is connected as though it had been made directly (although neither party sees the other's caller ID).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2007/02/18/bt%e2%80%99s-java-sdk-part-two-making-phone-calls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BT&#8217;s Java SDK</title>
		<link>http://www.kerrybuckley.org/2007/02/17/bts-java-sdk/</link>
		<comments>http://www.kerrybuckley.org/2007/02/17/bts-java-sdk/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 17:01:07 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[BT]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Web21C]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/02/17/bts-java-sdk/</guid>
		<description><![CDATA[As I mentioned recently, I now work in the Web21C SDK team. The SDK provides a simple API for programmatically accessing various web services that BT provides, including SMS, conference calls and location services. The SDK is in public beta, and is currently free (with daily usage limits). Up to now it's only been available [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned recently, I now work in the <a href="http://sdk.bt.com/">Web21C SDK</a> team. The SDK provides a simple API for programmatically accessing various web services that BT provides, including SMS, conference calls and location services.</p>
<p>The SDK is in public beta, and is currently free (with daily usage limits). Up to now it's only been available for those crazy .NET folks, but the next release (on Monday, all being well) will extend that to Java, PHP and Python. Rumour has it that Ruby's in the works too.</p>
<p>I've been having a play with the Java version &ndash; here's a sneak preview...</p>
<p><span id="more-88"></span></p>
<p>There are a few steps to get set up. First you need to create an account on the website. You then need to download and run a Java application to register your application and create a certificate to identify you to the underlying services. Then there are a few JARs to put in your classpath, a properties file to update with your username, password and certificate filename, and you're ready to go.</p>
<p>For example, this is all you need to write to send a text message:</p>
<div class="igBar"><span id="ljava-4"><a href="#" onclick="javascript:showCodeTxt('java-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVA:</span>
<div id="java-4">
<div class="java">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">package com.<span style="color: #006600;">kerrybuckley</span>.<span style="color: #006600;">sdkdemo</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import com.bt.sdk.sms.Messaging;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import com.bt.sdk.sms.SmsMessage;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SmsDemo <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">static</span> <span style="color: #993333;">void</span> main<span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> args<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Messaging smsService = <span style="color: #000000; font-weight: bold;">new</span> Messaging<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; SmsMessage message = <span style="color: #000000; font-weight: bold;">new</span> SmsMessage<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; message.<span style="color: #006600;">addRecipient</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"tel:+447700900123"</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; message.<span style="color: #006600;">setSubject</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Testing..."</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; message.<span style="color: #006600;">setMessageText</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Hello world, from the Web21C SDK"</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; smsService.<span style="color: #006600;">send</span><span style="color: #66cc66;">&#40;</span>message<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Pretty self-explanatory, and just to prove it works:</p>
<p><img id="image89" src="/wp-content/uploads/2007/02/sms.jpg" alt="SMS Message" /></p>
<p>Technorati Tags: <a href="http://technorati.com/tag/web21c" rel="tag">web21c</a>, <a href="http://technorati.com/tag/bt" rel="tag"> bt</a>, <a href="http://technorati.com/tag/sdk" rel="tag"> sdk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2007/02/17/bts-java-sdk/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.575 seconds -->
