<?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>ClickOnChris &#187; Pre</title>
	<atom:link href="http://www.clickonchris.com/category/pre/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clickonchris.com</link>
	<description>Christopher G Johnson: programmer, entrepreneur, gamer</description>
	<lastBuildDate>Sat, 21 Jan 2012 23:31:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Tutorial: Palm Pre SDK</title>
		<link>http://www.clickonchris.com/2009/06/tutorial-palm-pre-sdk/</link>
		<comments>http://www.clickonchris.com/2009/06/tutorial-palm-pre-sdk/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 22:29:34 +0000</pubDate>
		<dc:creator>clickonchris</dc:creator>
				<category><![CDATA[Pre]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.clickonchris.com/?p=151</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>The Palm Pre SDK, named Mojo, is not supposed to be available to the general public of developers for a few months.  Apparently it was leaked on the internets last night.  I was able to get a Hello World program running on the emulator.  Here is how I did it.</p>
<p>Environment:<br />
Windows XP<br />
Java JDK 1.6.0_11 (any 1.6 probably works)<br />
Any modern CPU should work.  Mine is 32 bit &#8211; not sure about 64 bit.<br />
The emulator takes ~300MB of memory so you&#8217;ll probably want at least 1GB.I&#8217;ve got 2GB</p>
<p>1 &#8211; Download and install VirtualBox<br />
(<a href="http://www.virtualbox.org/wiki/Downloads">http://www.virtualbox.org/wiki/Downloads</a>).  I am using version 2.2.4</p>
<p>2 &#8211; Download and install the SDK.<br />
Palm has the SDK available for free download.  I think registration is required.<br />
link: <a href="http://developer.palm.com/index.php?option=com_content&amp;view=article&amp;layout=page&amp;id=1788">http://developer.palm.com/index.php?option=com_content&amp;view=article&amp;layout=page&amp;id=1788</a></p>
<p>3 &#8211; Start the Emulator.<br />
When the SDK finishes installing you should see a &#8220;Palm Emulator&#8221; icon on your desktop.  Open it.</p>
<p>The emulator should start up and it should look like this:</p>
<p>Linux kernel starting</p>
<p><img class="size-full wp-image-153 alignnone" title="Starting Linux" src="http://www.clickonchris.com/wp-content/uploads/2009/06/starting_linux.jpg" alt="Starting Linux" width="332" height="548" /><span id="more-151"></span></p>
<p>The splash screen</p>
<p><img class="alignnone size-full wp-image-154" title="Splash screen" src="http://www.clickonchris.com/wp-content/uploads/2009/06/starting_logo.jpg" alt="Splash screen" width="332" height="554" /></p>
<p>Finished!</p>
<p><img class="alignnone size-full wp-image-152" title="started" src="http://www.clickonchris.com/wp-content/uploads/2009/06/started.jpg" alt="started" width="336" height="548" /></p>
<p>Ok, you&#8217;ve got your emulator running.  Now its time for the fun part.  Lets make a program!</p>
<p>4 &#8211; Open up your command prompt (start-run-&#8221;cmd&#8221;).   If you&#8217;re running vista, make sure you run &#8220;cmd&#8221; as Administrator.  Navigate to &#8216;Program Files\Palm\SDK\bin&#8217;.  Type in &#8220;palm-generate helloWorld&#8221; to create the shell of a hello world program.  The output should say &#8220;Generating new_app in C:\Program Files\Palm\SDK\bin\helloWorld&#8221;</p>
<p>5 &#8211; Go into your new helloWorld directory and modify index.html.  Now we&#8217;re just programming a web page!</p>
<div id="attachment_157" class="wp-caption alignnone" style="width: 521px"><img class="size-full wp-image-157" title="Hello World" src="http://www.clickonchris.com/wp-content/uploads/2009/06/helloworld.jpg" alt="Hello World" width="511" height="499" /><p class="wp-caption-text">Hello World</p></div>
<p>6 &#8211; once you&#8217;ve modified and saved index.html, go back to the command prompt and run &#8220;palm-package helloWorld&#8221;.  It should create a .ipk file in the bin directory.</p>
<p>7 &#8211; run &#8220;palm-install &lt;name of .ipk file&gt;&#8221;  Mine got named &#8216;com.yourdomain.helloworld_1.0_all.ipk&#8217;.  At this point you will want to make sure that your emulator is still running.</p>
<p><img class="alignnone size-full wp-image-159" title="install" src="http://www.clickonchris.com/wp-content/uploads/2009/06/install1.jpg" alt="install" width="586" height="223" /></p>
<p>7 &#8211; Go to your emulator and run the program!</p>
<p><img class="alignnone size-full wp-image-162" title="Program Menu" src="http://www.clickonchris.com/wp-content/uploads/2009/06/programs.jpg" alt="Program Menu" width="335" height="547" /></p>
<p><img class="alignnone size-full wp-image-161" title="running" src="http://www.clickonchris.com/wp-content/uploads/2009/06/running.jpg" alt="running" width="326" height="543" /></p>
<p>8- Profit!</p>
<p>6/28/2009-updated with hardware specs</p>
<p>5/1/2010 &#8211; linked to SDK download through palm.com</p>
<g:plusone href="http://www.clickonchris.com/2009/06/tutorial-palm-pre-sdk/"></g:plusone><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/share?url=http://www.clickonchris.com/2009/06/tutorial-palm-pre-sdk/&text=Tutorial%3A+Palm+Pre+SDK&via=clickonchris&related=richardxthripp%2Ctweetthisplugin" title="Post to Twitter"><img class="nothumb" src="http://www.clickonchris.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter6.png" alt="Post to Twitter" /></a></p></div><div align="left" style="vertical-align:top;display:inline-block; padding:2px 10px 10px 35px;"><a name="fb_share" type="button" share_url="http://www.clickonchris.com/2009/06/tutorial-palm-pre-sdk/"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.clickonchris.com/2009/06/tutorial-palm-pre-sdk/feed/</wfw:commentRss>
		<slash:comments>65</slash:comments>
		</item>
	</channel>
</rss>

