<?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>Logic Bureau &#187; Mobile</title>
	<atom:link href="http://blog.logicbureau.com/category/mobile/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.logicbureau.com</link>
	<description>Logic Bureau Consulting</description>
	<lastBuildDate>Fri, 13 Jan 2012 16:32:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Palm Pre pt 1 &#8211; Talking for the first time (Hello World)</title>
		<link>http://blog.logicbureau.com/2009/07/10/palm-pre-pt-1-talking-for-the-first-time-hello-world/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=palm-pre-pt-1-talking-for-the-first-time-hello-world</link>
		<comments>http://blog.logicbureau.com/2009/07/10/palm-pre-pt-1-talking-for-the-first-time-hello-world/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 00:23:39 +0000</pubDate>
		<dc:creator>Logic Bureau</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Palm Pre]]></category>

		<guid isPermaLink="false">http://blog.logicbureau.com/?p=67</guid>
		<description><![CDATA[Not content with re-entering the race with a brand new device, and first mainstream mobile phone wireless charger, the Touchstone, they have also developed a new operating system, the webOS, which uses Mojo.

Mojo is an MVC (Model-View-Controller) application framework, based on the HTML 5, CSS, and JavaScript web standards. Applications that are built using Mojo can be run at native speeds and have access to a wide range of APIs to access device specific functions and services.]]></description>
			<content:encoded><![CDATA[<p>Not content with re-entering the race with a brand new device, and first mainstream mobile phone wireless charger, the Touchstone, they have also developed a new operating system, the webOS, which uses Mojo.</p>
<p>Mojo is an MVC (Model-View-Controller) application framework, based on the HTML 5, CSS, and JavaScript web standards. Applications that are built using Mojo can be run at native speeds and have access to a wide range of APIs to access device specific functions and services.<br />
<span id="more-67"></span><br />
Hearing anything familiar to the iPhone&#8217;s development stature during it&#8217;s first year?</p>
<p>We&#8217;ll you shouldn&#8217;t.</p>
<p>It&#8217;s a completely different situation.<br />
Apple was forcing users to create iPhone optimised web applications.<br />
In order to do this, the end user had to open Safari, and navigate to the web application. Something that was improved in a later release with icon short cuts on the main screen, but still unable to match the look or feel of any of the native Apple applications.</p>
<p>In contrast to this, Palm use their own SDK (JavaScript and HTML5) for all of their own applications. It&#8217;s integrated and consistent across all applications, with a specific bespoke API for interacting with the device or doing webOS specific functions.</p>
<p>The Mojo SDK contains a number of useful pre built widgets you can use, such as buttons, checkboxes, date picker, drawer, filterfield, list, people picker, progress bar, rich text edit, and a webview.<br />
As well as a number of useful utility classes.<br />
The whole Mojo framework is unit tested using its own bespoke unit test implementation.</p>
<p>Using the leaked SDK on an Apple Mac, I&#8217;ll be putting together a quick hello world tutorial for those getting started.</p>
<p>Firstly you&#8217;ll need to download and install <a href="http://www.virtualbox.org/wiki/Downloads" target="_blank">Virtualbox</a>.</p>
<p>It&#8217;s a free virtualisation software for x86 hardware created by Sun. It is used as an emulator by the SDK by loading the webOS image.</p>
<p>Secondarily you&#8217;ll need to download, and install, the SDK.</p>
<p>MAC, <a href="http://rs231.rapidshare.com/files/249993064/PalmSDK-Mac-0.3.4.pkg" target="_blank">Rapidshare<br />
</a>WIN, <a href="http://rapidshare.com/files/249167601/PalmSDK-Win-0.3.4.exe" target="_blank">Rapidshare</a></p>
<p>It was leaked by someone else, not myself, so I&#8217;ll link to their SDKs.</p>
<p>Now that you have everything installed, I would recommend having a play around the phone, and getting a feel for the interface and the conventions of the pre built applications.<br />
If you haven&#8217;t had a chance to play with the actual device yet, you can definitely get a feel for how it behaves.</p>
<div id="attachment_111" class="wp-caption alignnone" style="width: 331px"><img class="size-full wp-image-111" title="pre01" src="http://blog.logicbureau.com/wp-content/uploads/2009/07/pre01.jpg" alt="Palm Pre" width="321" height="481" /><p class="wp-caption-text">Palm Pre</p></div>
<p>In order to create our application, we need to generate a base to build upon. The base that you&#8217;ll be generating provides you with a folder structure, and application information files.</p>
<ol>
<li>Open Terminal.</li>
<li>Enter the command <code>"palm-generate HelloWorld"</code> and press enter.</li>
<li>You&#8217;ll receieve a message stating <code>"Generating new_app in /Users/{username}/HelloWorld"</code>.</li>
</ol>
<p>Open the /Users/<em>{username}</em>/HelloWorld folder in Finder. Replacing the {username} token with your username.</p>
<p>Within the HelloWorld folder you should see the following;</p>
<p><strong>app</strong> (folder)<br />
JavaScript class files</p>
<p><strong>appinfo.json</strong><br />
used to specify a unique name, version, and icon information</p>
<p><strong>icon.png</strong><br />
icon for the dashboard</p>
<p><strong>images</strong><br />
PNG/JPG</p>
<p><strong>index.html</strong><br />
the default view</p>
<p><strong>sources.json</strong><br />
Seems to be used to list all of the files used by the application for the packaging process?</p>
<p><strong>stylesheets</strong><br />
CSS</p>
<p>Editing the appinfo.json file allows us to add a unique name, and change the vendor, so we&#8217;ll do that first.</p>
<p>Opening the file will display the following:</p>
<pre>{
	"id": "com.yourdomain.helloworld",
	"version": "1.0",
	"vendor": "My Company",
	"type": "web",
	"main": "index.html",
	"title": "HelloWorld",
	"icon": "icon.png"
}</pre>
<p>The file format is a JSON (JavaScript Object Notation) file, basically, a readable format representing associative arrays, objects, and simple data structures.</p>
<p>The values are in the following format <code>"key":"value"</code>.</p>
<p>Lets start by altering the unique id of our application, so change the value of <code>"id"</code> from <code>"com.yourdomain.helloworld"</code> to <code>"com.test.helloworld"</code>.</p>
<p>Alter the other values to match the appinfo.json file below.</p>
<pre>{
	"id": "com.test.helloworld",
	"version": "0.1",
	"vendor": "TestEvaluationCompany",
	"type": "web",
	"main": "index.html",
	"title": "Testing Hello World",
	"icon": "icon.png"
}</pre>
<p>There are more potential key-value pairs we could add to the appinfo.json file, below is a list of the ones I know of so far. Please do let me know of any more you find via the comments.</p>
<p><strong>id</strong><br />
Unique identifier for your application.<br />
Recommended usage is to use a reverse DNS notation (com.domain.appname) in lower case characters.</p>
<p><strong>version</strong><br />
Versioning of your application in a Major.Minor format.<br />
Best to keep to this format as it could be used for over the air downloads/updates.</p>
<p><strong>vendor</strong><br />
Company or individual who created the application.</p>
<p><strong>type</strong><br />
Application type, which should be &#8220;web&#8221;.<br />
This seems to be a clever way of future proofing there install process, potentially &#8220;native&#8221;, &#8220;java&#8221;, or even &#8220;python&#8221;?</p>
<p><strong>main</strong><br />
Initial HTML file to be displayed when the application is launched.</p>
<p><strong>title</strong><br />
Displayed in the launcher, and in the top grey tab, which I wish to affectionately call, the tabular.</p>
<p><strong>icon</strong><br />
Path to the icon used for the launcher screen.</p>
<p><strong>vendorurl</strong><br />
URL of the company or individual.</p>
<p><strong>miniicon</strong><br />
Path to the icon used for the notifications.</p>
<p>Now we&#8217;ve gone far enough to test our application. It will show up as an individual application on our home screen, but not do anything other than display a predefined message.</p>
<p>But it&#8217;ll be good to test and get someone up and running now, so lets go.</p>
<p>First of all you need to package your application into a IPX file.</p>
<p>An IPX file (or an Itsy Package) is an installable package apart of a lightweight package management system designed for embedded devices, similar to Debian&#8217;s dpkg.</p>
<p>Packaging is done via Terminal;</p>
<ol>
<li>Open Terminal.</li>
<li>Enter the command <code>"palm-package ~/HelloWorld"</code> and press enter.</li>
<li>You&#8217;ll receieve a message stating <code>"Creating package in /Users/{username}/com.test.helloworld_0.1_all.ipk"</code>.</li>
</ol>
<p>Now we have the package, we could send it off to a friend to test, or presumably, off to Palm to enter into the App Catalog.</p>
<p>Installing an application on the emulator;</p>
<ol>
<li>Open Terminal.</li>
<li>Enter the command <code>"palm-install com.test.helloworld_0.1_all.ipk"</code> and press enter.</li>
<li>You&#8217;ll receieve a message stating<br />
<code>"connecting to device emulator (###)<br />
copying /Users/{username}/com.test.helloworld_0.1_all.ipk to /media/internal/developer/com.test.helloworld_0.1_all.ipk on device emulator (###)<span style="font-family: Georgia;"><code>installing package /media/internal/developer/com.test.helloworld_0.1_all.ipk on device emulator (###)"</code>.</span></code></li>
</ol>
<p>You&#8217;ll now be able to click on the launcher icon and see your application. The icon is the standard unchanged &#8216;blue square with crescent moon&#8217;, with the label &#8220;Testing Hello World&#8221;, as we specified in our appinfo.json file.</p>
<p>That&#8217;s it for our introduction. In part 2 we&#8217;ll start to create a real world application.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.logicbureau.com/2009/07/10/palm-pre-pt-1-talking-for-the-first-time-hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Palm Pre, video, and the connected consumers.</title>
		<link>http://blog.logicbureau.com/2009/07/10/palm-pre-video-and-the-connected-consumers/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=palm-pre-video-and-the-connected-consumers</link>
		<comments>http://blog.logicbureau.com/2009/07/10/palm-pre-video-and-the-connected-consumers/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 23:05:32 +0000</pubDate>
		<dc:creator>Logic Bureau</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Consumer]]></category>
		<category><![CDATA[Palm Pre]]></category>

		<guid isPermaLink="false">http://blog.logicbureau.com/?p=3</guid>
		<description><![CDATA[Users are starting to get comfortable with this kind of access, and they'll begin to demand more of a connected computer experience. Mobile phones are no longer phones, they are bordering on becoming mobile internet devices.
What's stopping these consumers from becoming the connected consumers of the future? A few different aspects, but vendors are starting to make inroads to battle these obstacles.]]></description>
			<content:encoded><![CDATA[<p>Palm. Palm. Palm.<br />
Just a short few years ago &#8211; 2007, actually &#8211; they were <a title="Palm Inc profit loss" href="http://www.engadgetmobile.com/2007/07/02/palm-posts-43-percent-drop-in-profit/" target="_blank">posting</a> a 43% drop in profit for the same quarter in the previous year, with <a title="Palm Pre Layoffs" href="http://treocentral.com/content/Stories/2205-1.htm" target="_blank">reports</a> that &#8220;hundreds&#8221; of employees were having their security passes deactivated during fire drills.</p>
<p>These days, Palm are getting their swagger on. With a brand new device, why shouldn&#8217;t they feel more confident?<br />
<a title="Palm shipping estimates." href="http://news.cnet.com/8301-1035_3-10273315-94.html" target="_blank">Shipping</a> over 100,000 of their flagship Palm Pre devices, with another 100,000 in July and 200,000 estimated to ship in August. Completely destroying <a title="Sprint sales record, destroyed by the Palm Pre." href="http://news.cnet.com/8301-1035_3-10260208-94.html" target="_blank">Sprint&#8217;s</a> current sales record in the process.</p>
<p>Not content with re-entering the race with a brand new device, and first mainstream mobile phone wireless charger, the Touchstone, they have also developed a new operating system, the webOS.<span id="more-3"></span><br />
webOS uses Synergy to sync with Facebook, Google, and numerous other vendors to provide one central location for your contacts, settings, emails, events, memos, tasks, and software downloaded from the App Catalogue &#8211; all happening over the air, everyday, without disturbing your focus.<br />
Not only does this remove the one, single, authoritative, central repository of information, such as your home computer, it also removes the liability factor of losing your device and losing data at the same time. All data is stored on cloud-based services that feed the device contextual information, and data. This is a break from the current functionality of the iPhone, and other smart phones, but it&#8217;s a definite advantage, and one sure to be adopted by the next generation of devices.</p>
<p>iPhone, Pre, N97/N85; are we beginning to see an era of powerful connected consumers?<br />
We think so, we predict, and we are on the forefront of enabling consumers to stay connected.<br />
In terms of statistics, 735,000 users accessed Twitter via a mobile device, and <a title="YouTube Mobile Stats" href="http://www.youtube.com/blog?entry=kbaLH7fmm-g" target="_blank">YouTube</a> mobile uploads have increase 400% a day since the release of the iPhone 3GS.</p>
<p>Users are starting to get comfortable with this kind of access, and they&#8217;ll begin to demand more of a connected computer experience. Mobile phones are no longer phones, they are bordering on becoming mobile internet devices (<a title="Intel Mobile Internet Device" href="http://www.intel.com/products/mid/" target="_blank">MID</a>, as pitched by Intel).<br />
What&#8217;s stopping these consumers from becoming the connected consumers of the future? A few different aspects, but vendors are starting to make inroads to battle these obstacles.<br />
Adobe&#8217;s <a title="Adobe Open Screen Project" href="http://www.openscreenproject.org/" target="_blank">open screen project</a> is starting to bare fruit, with the release of the Flash Player 10 for Google Android, and the commitment to release the runtime for the Palm Pre shortly.<br />
What does this bring for consumers? Well, the <strong>real</strong> internet.<br />
Without Flash, a magnitude of web sites are rendered inaccessible, but also many rich internet applications. Opera&#8217;s <a title="Opera Metadata Analysis and Mining Application" href="http://dev.opera.com/articles/view/mama-key-findings/#flash" target="_blank">MAMA studies</a> (from Oct 08), have found that 32% of websites use Flash in the United States, and 30% in Great Britain &#8211; even at it&#8217;s worst, it never dips below 25%.<br />
The same can be said about Silverlight, as well as HTML5.</p>
<p>With potential cross platform runtimes, such as Flash, Silverlight, and even browsers (HTML5), vendors can start producing applications, and platforms to do a magnitude of functions.<br />
Anything from GTD (getting things done) to location based services and applications have started to appear, storing data in the cloud, while allowing persistent data to be cached or stored locally in databases, and shared objects.<br />
While the industry hasn&#8217;t yet begun to explore what is possible with Augmented Reality and location based services, at least some progress has been made, with <a title="Layar" href="http://layar.eu/" target="_blank">very</a>, <a title="Nokia MARA" href="http://research.nokia.com/research/projects/mara/index.html" target="_blank">very</a>, <a title="Wikitude" href="http://www.mobilizy.com/en/wikitude-ein-reisefuhrer" target="_blank">very</a>, <a title="Seer" href="http://gizmodo.com/5299581/ibm-seer-augmented-reality-app-ensures-no-confused-android-users-at-wimbledon" target="_blank">very</a> impressive applications being released for multiple platforms.<br />
In contrast to the VOD (video on demand) industry, where players such as the BBC&#8217;s own iPlayer has made inroads on the iPhone, N85/5800/N96, and the HTC Touch HD, we have yet to see the VOD niche to take off.</p>
<p>Primarily this is due to the VOD services still being in their infancy, but soon we will start to see better support for H.264, in the form of graphics, and video decoding chips embedded within the devices (<a title="Nvida Tegra" href="http://www.nvidia.com/page/handheld.html" target="_blank">Tegra</a>), or via software ala the rich runtimes (Flash/Silverlight).<br />
With nothing holding the industry back, the potential for  VOD services and platforms to take off and innovate will be similar to the effect that 3G had for mobile devices back in 2003 (when it went mainstream with Three).<br />
And this is where we come out with our predictions, 2010, video on demand and semantic advertising to assist in generating a solid return on investment for vendors.<br />
Larger screens, location aware adverts (E.g, giving you directions to the nearest store),  high definition, locally stored cache, and QR codes within adverts/posters for series/brands.<br />
Unfortunately VOD services are being branded, and pushed, as catch-up services. Starting to push them as a medium on their own will propel them into the mainstream, allowing connected consumers to watch what they want, when they want.</p>
<p>Utilising the standardised technologies prevalent within the existing video on demand industry, such as Flash and JavaScript, the Palm Pre has an obvious advantage.<br />
Rich interfaces, a common code base and a huge base of developers that are familiar or easy to transition too.</p>
<p>Hearing anything familiar as the arguments behind the iPhone&#8217;s development stature during it&#8217;s first year?<br />
We&#8217;ll you shouldn&#8217;t. It&#8217;s a completely different situation, Apple was forcing users to create iPhone optimised web applications. In order to do this, the end user had to open Safari, and navigate to the web application. Something that was improved in a later release with icon short cuts on the main screen, but still unable to match the look or feel of any of the native Apple applications.<br />
In contrast to this, Palm use their own SDK (JavaScript and HTML5) for all of their own applications. It&#8217;s integrated and consistent across all applications, with a specific bespoke API for interacting with the device or doing webOS specific functions.</p>
<p>Anything created for the Pre would be completely HTML5 compliant, and this not only reduces the amount of bespoke (potentially redundant) code, it also allows vendors to explore the future.<br />
With Firefox 3.5, Opera 9.5, Chrome 3 and Safari 4 supporting the video, and audio playback portion of HTML5, how long until vendors can justify using bespoke implementations for each devices, when there is the potential of using HTML5, or Flash to create their platforms. Cloud computing, standardised technologies, and rich interfaces are propelling the mobile devices into a new field, with new possibilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.logicbureau.com/2009/07/10/palm-pre-video-and-the-connected-consumers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
