<?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>Mobilemind &#187; tips</title>
	<atom:link href="http://mobilemind.net/tags/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://mobilemind.net</link>
	<description>Thoughts on mobile computing and elearning</description>
	<lastBuildDate>Sat, 17 Mar 2012 18:02:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>I&#8217;d never do this with my work machine</title>
		<link>http://mobilemind.net/2011/09/id-never-do-this-with-my-work-machine/</link>
		<comments>http://mobilemind.net/2011/09/id-never-do-this-with-my-work-machine/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 19:52:04 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=1037</guid>
		<description><![CDATA[Last night I booted my MacBook Air to do 2-3 important things before I forgot. I ended up doing 8-10 things and shutting down. Then I remembered that I shut down before I did one of those important things. I &#8230; <a href="http://mobilemind.net/2011/09/id-never-do-this-with-my-work-machine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last night I booted my MacBook Air to do 2-3 important things before I forgot. I ended up doing 8-10 things and shutting down.</p>
<p>Then I remembered that I shut down before I did one of those important things. I powered up again and got it done. It only took a minute because booting is painless &amp; fast, so I could quickly do just one more thing.</p>
<p>That&#8217;s the part I&#8217;d never do with my work machine. Undergo the 5 minute long boot process to capture a thought or complete a 90 second task.</p>
<p>How much do “I&#8217;d never do that with my work machine” items cost us?</p>
<p>Time to change my work machine so that it supports my work and getting one more thing done, instead of discouraging it.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/09/id-never-do-this-with-my-work-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backing a Project on Kickstarter</title>
		<link>http://mobilemind.net/2011/09/backing-a-project-on-kickstarter/</link>
		<comments>http://mobilemind.net/2011/09/backing-a-project-on-kickstarter/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 14:17:10 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=1035</guid>
		<description><![CDATA[I just decided to try backing a Kickstarter project, CableKeeps &#8211; for iPad, iPhone, and iPod chargers. They are clever, cute snap-on organizers for iPhone and iPad chargers &#38; cables. The iPhone version appears below. I don&#8217;t know any of the &#8230; <a href="http://mobilemind.net/2011/09/backing-a-project-on-kickstarter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just decided to try backing a Kickstarter project, <a href="http://www.kickstarter.com/projects/jay-design/cablekeeps-for-ipad-iphone-and-ipod-chargers">CableKeeps &#8211; for iPad, iPhone, and iPod chargers</a>. They are clever, cute snap-on organizers for iPhone and iPad chargers &amp; cables. The iPhone version appears below.</p>
<p><a href="http://www.kickstarter.com/projects/jay-design/cablekeeps-for-ipad-iphone-and-ipod-chargers"><img title="Goldie_PowerAdaptorMap_560x420.jpg" src="http://mobilemind.net/images/Goldie_PowerAdaptorMap_560x420.jpg" alt="Goldie_PowerAdaptorMap_560x420.jpg" border="0" /></a></p>
<p>I don&#8217;t know any of the designers/developers, but thought it was interesting enough to look into. Maybe you&#8217;ll want one or know someone who wants to order a few as holiday gifts. Take a look quick, as funding closes September 8, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/09/backing-a-project-on-kickstarter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS Git/Subversion Viewer Apps</title>
		<link>http://mobilemind.net/2011/04/ios-gitsubversion-viewer-apps/</link>
		<comments>http://mobilemind.net/2011/04/ios-gitsubversion-viewer-apps/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 15:43:53 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=1014</guid>
		<description><![CDATA[Browsers/Viewers versus git/svn clients To be clear, these apps don&#8217;t really offer much in terms of editing code or repository push/pull. However, most offer a way to review code or code status &#38; history (and some include syntax highlighting of &#8230; <a href="http://mobilemind.net/2011/04/ios-gitsubversion-viewer-apps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Browsers/Viewers versus git/svn clients<br />
</strong>To be clear, these apps don&#8217;t really offer much in terms of editing code or repository push/pull. However, most offer a way to review code or code status &amp; history (and some include syntax highlighting of the viewed code).</p>
<p><strong>My preferences</strong><br />
Code Viewer 2 is my current favorite for viewing code and I&#8217;ve used it (via svn) with both Beanstalk and Github. Code Viewer 2 doesn&#8217;t currently have direct support for git, but works using svn against either of those hosts <em>and</em> supports syntax highlight for popular code types (eg, HTML, JavaScript, XML and more). That I like alot. However, compared to all the others it is a little more finicky when connecting to a repository. I do like that it supports both iPhone and iPad making good use of the larger screen.</p>
<p>I generally prefer the universal apps (Code Viewer 2, Source Code, Magic Bean) and the iPad app (GitHub Viewer). The GitHub Viewer, Unfuddle app and Beanstalk apps are easiest to setup. The Unfuddle app seems more suited to monitor the repository and tracking /managing issues. I can&#8217;t speak to &#8220;Magic Bean&#8221; as much since I didn&#8217;t buy that one, but I do like that it is for both iPhone and iPad.</p>
<p><strong>The full list of git and svn apps I evaluated</strong></p>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.369008033&amp;type=2&amp;subid=0"><img src="http://a1792.phobos.apple.com/us/r1000/032/Purple/3b/d7/aa/mzi.sqvhjlkl.png" border="0" alt="Code Viewer 2" width="57" height="57" /></a><img title="App Store: Code Viewer 2" src="http://ad.linksynergy.com/fs-bin/show?id=GbxR6StZpcY&amp;bids=146261.369008033&amp;type=2&amp;subid=0" alt="" /> <a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.369008033&amp;type=2&amp;subid=0"><strong>Code Viewer 2</strong></a> [iPad &amp; iPhone, App Store currently $5.99] &#8211; Checkout to browser/view with syntax highlighting for many file types. Not for editing.</p>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.384046187&amp;type=2&amp;subid=0"><img src="http://a1305.phobos.apple.com/us/r1000/043/Purple/10/53/18/mzi.itxaysnx.png" border="0" alt="Source Code" width="57" height="57" /></a><img src="http://ad.linksynergy.com/fs-bin/show?id=GbxR6StZpcY&amp;bids=146261.384046187&amp;type=2&amp;subid=0" border="0" alt="" width="1" height="1" /> <a title="App Store: Source Code" href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.384046187&amp;type=2&amp;subid=0"><strong>Source Code</strong></a> [iPad &amp; iPhone, App Store currently $1.99] &#8211; Slightly easier to connect to repo, no syntax highlighting</p>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.404649232&amp;type=2&amp;subid=0"><img src="http://a1633.phobos.apple.com/us/r1000/002/Purple/7c/d3/8f/mzi.vuiirryp.png" border="0" alt="Git Hub Viewer Lite" width="57" height="57" /></a> <a title="App Store: Git Hub Viewer Lite" href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.404649232&amp;type=2&amp;subid=0"><strong>GitHub Viewer Lite</strong></a> [iPad only, App Store currently free] &#8211; Nice for browsing and seeing who is active with a repository.</p>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.404347335&amp;type=2&amp;subid=0"><img src="http://a1204.phobos.apple.com/us/r1000/037/Purple/e1/4a/24/mzi.fxdhkjeq.png" border="0" alt="Git Hub Viewer" width="57" height="57" /></a> <a title="App Store: Git Hub Viewer" href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.404347335&amp;type=2&amp;subid=0"><strong>GitHub Viewer</strong></a> [iPad only, App Store currently $0.99] - Nice for browsing and seeing who is active with a repository.</p>
<p><a title="App Store: Git Hub Viewer" href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.404347335&amp;type=2&amp;subid=0"></a></p>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.374901608&amp;type=2&amp;subid=0"><img src="http://a396.phobos.apple.com/us/r1000/000/Purple/4c/47/cc/mzi.pxqyxhjj.png" border="0" alt="Unfuddle" width="57" height="57" /></a> <a title="App Store: Unfuddle" href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.374901608&amp;type=2&amp;subid=0"><strong>Unfuddle</strong></a> [iPhone only, App Store currently free] &#8211; Check/manage repo &amp; issues on-the-go.</p>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.407626111&amp;type=2&amp;subid=0"><img src="http://a984.phobos.apple.com/us/r1000/055/Purple/44/92/50/mzi.dcuvebpu.png" border="0" alt="Magic Bean" width="57" height="57" /></a> <a title="App Store: Magic Bean" href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.407626111&amp;type=2&amp;subid=0"><strong>Magic Bean</strong></a> [iPad &amp; iPhone, App Store currently $2.99] &#8211; For browsing and checking status, Works on both iPhone and iPad. Not fully evaluated.</p>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.422152137&amp;type=2&amp;subid=0"><img src="http://a41.phobos.apple.com/us/r1000/044/Purple/df/38/00/mzi.ndtjwuos.png" border="0" alt="Habichuelas Lite" width="57" height="57" /></a> <a title="App Store: Habichuelas Lite" href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.422152137&amp;type=2&amp;subid=0"><strong>Habichuelas Lite</strong></a> [iPhone only, App Store currently free] &#8211; Nice for browsing and seeing who is active with a repository.</p>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.399314820&amp;type=2&amp;subid=0"><img src="http://a1052.phobos.apple.com/us/r1000/057/Purple/9c/9b/55/mzi.aaslfpoc.png" border="0" alt="Habichuelas" width="57" height="57" /></a> <a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;offerid=146261.399314820&amp;type=2&amp;subid=0"><strong>Habichuelas</strong></a> [iPhone only, App Store currently $2.99] - Nice for browsing and seeing who is active with a repository. Not fully evaluated.</p>
<p>Found any others of interest? Please comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/04/ios-gitsubversion-viewer-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git Tools for Mac OS X</title>
		<link>http://mobilemind.net/2011/04/git-tools-for-mac-os-x/</link>
		<comments>http://mobilemind.net/2011/04/git-tools-for-mac-os-x/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 13:32:44 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=1010</guid>
		<description><![CDATA[To get my projects over to GitHub I used the command line version of Git for Mac OS X which I installed long ago to access (clone) things like PhoneGap (btw, on Win XP I&#8217;ve used msysgit &#8211; Git for Windows). However, last &#8230; <a href="http://mobilemind.net/2011/04/git-tools-for-mac-os-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To get my projects over to <a href="https://github.com/">GitHub</a> I used the command line version of <a href="https://code.google.com/p/git-osx-installer/">Git for Mac OS X</a> which I installed long ago to access (clone) things like <a href="https://github.com/phonegap">PhoneGap</a> (btw, on Win XP I&#8217;ve used <a href="https://code.google.com/p/msysgit/">msysgit &#8211; Git for Windows</a>). However, last week I made my first attempt at pushing anything up to GitHub instead of cloning down from it. I muddled through the git command line, but am still looking for a nice UI client on Mac OS X and Windows.</p>
<p>I&#8217;ll admit that I&#8217;m finding it nearly a necessity to start with the git command line so that I better understand the underlying concepts. Sometimes the best way to learn a technology is to dig a few holes and struggle back out. Likewise, it seems like there are some edge cases and corners with version control systems that require the command line (and StackOverflow.com and Google and nerves of steel). Meanwhile, I&#8217;m tracking a few tools for the Mac to increase my productivity with git for routine things.</p>
<p><strong>My Favorites</strong><br />
The most promising apps for me are <a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;subid=&amp;offerid=146261.1&amp;type=10&amp;tmpid=3909&amp;RD_PARM1=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fsourcetree-git-hg%2Fid411678673%3Fmt%3D12">SourceTree</a> and <a href="http://www.git-tower.com/">Tower</a> (naturally the most expensive ones too). Tower has some nicer overall polish, but SourceTree has a views I like better and seems to regularly improve with use (and across releases).</p>
<p>I&#8217;m on Day 6 of a  30 day trial of Tower and like that it supports git <em>and</em> svn, integrates with many other client tools (e.g., with <a href="http://www.panic.com/coda/">Coda</a>, <a href="http://www.kaleidoscopeapp.com/">Kaleidoscope</a> <a href="http://macromates.com/">TextMate</a>, etc.) and is super easy to configure for either GitHub or <a href="http://bnst.lk/gZwFTI">Beanstalk</a> back-end repositories. With SourceTree, I&#8217;m understanding git better and seeing things more clearly, but missing some of the polish back-end integration seen in Tower.</p>
<p><strong>Git Client Apps for Mac OS X<br />
</strong>Here&#8217;s a run down of some options and links for those on the Mac App Store. There is a good response by <a href="http://stackoverflow.com/questions/455698/best-visual-client-for-git-on-mac-os">Mason on StackOverflow</a> that runs down pros and cons of a few of these tools. I too didn&#8217;t care much for the cross-platform-y compromises of SmartGit, but some may like it. Here what I consider some Mac OS X contenders:</p>
<ul>
<li><a href="http://gitx.frim.nl/index.html">GitX</a> [Free - under GPL v2 License]<br />
Project started in 2008, nice history/log view that you can use interactively, good video demos .</li>
<li><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;subid=&amp;offerid=146261.1&amp;type=10&amp;tmpid=3909&amp;RD_PARM1=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fsprout%2Fid421081203%3Fmt%3D12">Sprout</a> [Mac App Store $28.99 during 15% off sale on now]<br />
Single window view supports multiple git repositories</li>
<li><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;subid=&amp;offerid=146261.1&amp;type=10&amp;tmpid=3909&amp;RD_PARM1=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fgitbox%2Fid403388357%3Fmt%3D12">Gitbox</a> [Mac App Store $39.99]<br />
Single window view supports multiple git repositories. Developer web site offers download of <a href="http://gitboxapp.com/">Free trial version</a> that supports up to 3 repositories.</li>
<li><a href="http://www.gittiapp.com/">Gitti</a> [currently beta is free]<br />
Some nice hints and warnings. Still beta, but looks promising.</li>
<li><a href="http://click.linksynergy.com/fs-bin/click?id=GbxR6StZpcY&amp;subid=&amp;offerid=146261.1&amp;type=10&amp;tmpid=3909&amp;RD_PARM1=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fsourcetree-git-hg%2Fid411678673%3Fmt%3D12">SourceTree</a> [Mac App Store $59.99]<br />
Very powerful views- File status shows you at a glance what has been changed or not (or is missing), Log view is a wonderful way to show branches, commits, who did the commit and highlight the file diffs. Cloning from remote works with ssh URL or http/https. Developer web site offers download of <a href="http://www.sourcetreeapp.com/">Free 21-day trial version</a>.</li>
<li><a href="http://www.git-tower.com/">Tower</a> [developer site $59]<br />
Really nice integration with both GitHub and Beanstalk. Easily create local repository or a new repository hosted on Beanstalk or GitHub. Cloning from remote works with ssh URL or http/https. App icon in dock shows badge with number of changed files in active repository. Developer web site offers download of <a href="http://www.git-tower.com/">Free 30-day trial version</a> that works with up to 3 repositories concurrently.</li>
</ul>
<p>For a git UI client, I may end-up sticking with GitX for a while though, because it is free. If I can justify the expense, I&#8217;ll likely go with SourceTree or Tower, depending on CFO approval and/or any pricing specials. My next post will address git and svn viewers on iOS for the iPhone and iPad.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/04/git-tools-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Migrating My Projects to Github</title>
		<link>http://mobilemind.net/2011/04/migrating-my-projects-to-github/</link>
		<comments>http://mobilemind.net/2011/04/migrating-my-projects-to-github/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 15:33:26 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=1009</guid>
		<description><![CDATA[Github is a wonderful service and it is free to host public repositories. I&#8217;m starting to migrate projects to my account on github to make it easier to manage version control, updates, distribution and to act as a back-up for me. &#8230; <a href="http://mobilemind.net/2011/04/migrating-my-projects-to-github/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="Github: web-based hosting and social coding" href="https://github.com/">Github</a> is a wonderful service and it is free to host public repositories. I&#8217;m starting to migrate projects to my <a title="Mobilemind on github" href="https://github.com/mobilemind">account on github</a> to make it easier to manage version control, updates, distribution and to act as a back-up for me.</p>
<p>The first projects to be migrated are:</p>
<ul>
<li><strong><a href=" href=">Pastelets</a></strong> on Github &#8211; which I started long ago and posted about <a title="Mobilemind blog: Updated Pastelets…" href="http://mobilemind.net/2010/11/updated-pastelets-for-ipad-iphone-and-ipod-touch/">here</a>, <a title="Mobilemind: Pastelets  Overview (Desktop)" href="http://mobilemind.net/pastelets/">here</a>, <a title="Mobilemind blog: Paste Test into Web Forms…" href="http://mobilemind.net/2008/07/paste-text-into-web-forms-on-iphone-or-ipod-touch/">here</a> and originally <a title="Mobilemind blog: Easly Createn iPhone Bookmarklets" href="http://mobilemind.net/2007/12/easily-create-iphone-bookmarklets/">here</a>.</li>
<li><strong><a href="http://mobilemind.github.com/fyi-bookmarklets/">fyi-bookmarklets</a></strong><a href="http://mobilemind.github.com/fyi-bookmarklets/"> on Github</a>- which I created this month and posted about <a title="Mobilemind blog: fyiPad Bookmarklet" href="http://mobilemind.net/2011/04/fyipad-bookmarlet/">here</a> and <a title="Mobilemind blog: fyi Bookmarklet (Generic)" href="http://mobilemind.net/2011/04/fyi-bookmarklet/">here</a>.</li>
</ul>
<p>Github and git are a great tool set. Github goes far beyond being “just” a remote repository and I really like what I was able to do for the “fyi” project with <a href="http://pages.github.com/">Github Project Pages</a>.</p>
<p>Sidebar- <a title="Beanstalk: Manage code, collaborate &amp; deploy" href="http://bnst.lk/gZwFTI">Beanstalk</a> has a free trial account that provide 1 private repository for <a title="Wikipedia: Apache Subversion (svn)" href="https://secure.wikimedia.org/wikipedia/en/wiki/Apache_Subversion">svn</a> or <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Git_%28software%29">git</a>. There is a good <a title="Wikipedia: Comparison of Revision Control Software" href="https://secure.wikimedia.org/wikipedia/en/wiki/Comparison_of_revision_control_software">Wikipedia Comparison of Revision Control Software</a> if you want to compare git, <a title="Wikipedia: Mercurial (hg) Software" href="https://secure.wikimedia.org/wikipedia/en/wiki/Mercurial">Mercurial</a>, svn, etc. I used Beanstalk with Xcode 3 and svn for the duration of the <a title="University of Washington: Certificate in iPhone &amp; Cocoa Development" href="http://www.pce.uw.edu/prog.aspx?id=4073">UW iPhone Certificate Program</a> and it worked very well.</p>
<p>With <a title="Github: Plans &amp; Pricing" href="https://github.com/plans">Github</a> you can get unlimited free <em>public</em> repositories for free. Both Github and Beanstalk offer SSL with the free accounts. Since Xcode 4 has built-in support for git, you may want to compare account plans for <a title="Beanstalk: Plans &amp; Pricing" href="http://bnst.lk/gZwFTI">Beanstalk</a>, <a title="Github: Plans &amp; Pricing" href="https://github.com/plans">Github</a> and <a title="Unfuddle: Plans &amp; Pricing" href="http://unfuddle.com/about/tour/plans">Unfuddle</a> git hosting. That said, I&#8217;m going to primarily use Github, but will hang on to my Beanstalk and Unfuddle accounts.</p>
<p>In a few days I&#8217;ll post a quick run down of what I&#8217;ve learned about git tools for Mac OS X and iOS.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/04/migrating-my-projects-to-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fyiPad Bookmarklet</title>
		<link>http://mobilemind.net/2011/04/fyipad-bookmarlet/</link>
		<comments>http://mobilemind.net/2011/04/fyipad-bookmarlet/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 14:46:36 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=999</guid>
		<description><![CDATA[UPDATE: April 19, 2011 &#8211; Project now hosted elsewhere, see&#160;fyi-bookmarklets on Github This is a follow-up to an earlier post on the fyi Bookmarklet. This version is optimized for iOS, and the iPad specifically. It makes it very easy to &#8230; <a href="http://mobilemind.net/2011/04/fyipad-bookmarlet/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE:</strong> April 19, 2011 &#8211; Project now hosted elsewhere, see&nbsp;<strong><a href="http://mobilemind.github.com/fyi-bookmarklets/">fyi-bookmarklets</a></strong><a href="http://mobilemind.github.com/fyi-bookmarklets/"> on Github</a></p>
<p>This is a follow-up to an <a href="http://mobilemind.net/2011/04/fyi-bookmarklet/">earlier post on the fyi Bookmarklet</a>. This version is optimized for iOS, and the iPad specifically. It makes it very easy to share a snippet of a web page and the URL by email.</p>
<p>Compared to the built-in iOS Mobile Safari action &ldquo;Mail Link to this Page,&rdquo; the fyiPad Bookmarklet adds the capability to automatically insert selected text from the page, without having to paste anything.</p>
<p>Unlike the Firefox fyi Bookmarklet, this bookmarklet can not be triggered by typing &nbsp;a keyword. The install is slightly different because of Mobile Safari restrictions on adding javascript: bookmarks (bookmarklets).</p>
<p><strong>Install:</strong></p>
<p>Use Mobile Safari to visit the <a title="fyiPad setup page with instructions" href="http://mobilemind.net/_?javascript:var%20r='%250A',t=encodeURIComponent(document.title);location.href='mailto:%20%3Fsubject=fyi:%20'+t+'%26body='+t+r+'--'+r+encodeURIComponent(window.getSelection())+r+'--'+r+location.href+r;">fyiPad setup page</a> and follow the instructions on that page to save and edit the bookmark. You will likely want to rename the bookmark. On my iPad the bookmark is named &ldquo;fyi&rdquo; just like on my desktop Firefox browser. It is saved in the &ldquo;Bookmarks Bar&rdquo; folder.</p>
<p><em>Tip: For greater convenience on iPad, use the &ldquo;Settings&rdquo; app to choose &ldquo;Safari&rdquo; settings and set &ldquo;Always Show Bookmarks Bar&rdquo; to <code>ON</code>.</em> <strong>Usage:</strong></p>
<p>Activate the &ldquo;fyiPad&rdquo; bookmarklet by using the bookmark menu,&nbsp;<em>or</em> by tapping the bookmark in your Bookmark Bar.</p>
<p>This opens a new email with the page title in the email subject. The email body contains the page title and URL. If any text on the page is selected, then the selected text is also included in the body.</p>
<p><strong>Requirements:</strong></p>
<ul>
<li>iOS 3.2.1 or higher and Mobile Safari</li>
</ul>
<p><strong>Version History:</strong></p>
<p>Version 1.0 (April 6, 2011) <em>newer versions available on Github</em></p>
<p><strong>Known Issues:</strong></p>
<p>Tested on iPad with iOS 4.3.1. Likely to work on iPhone.</p>
<p>No way to activate by typing a keyword. No way to pre-populate the new email with a recipient address.</p>
<p><strong>License:</strong></p>
<p><a href="http://www.opensource.org/licenses/mit-license.php">MIT</a></p>
<p><strong>Source:</strong></p>
<p><a title="fyi- bookmarklet Source code on Github" href="https://github.com/mobilemind/fyi-bookmarklets">Source on Github</a></p>
<p>Please use comments here or Github to report bugs or provide feedback. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/04/fyipad-bookmarlet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fyi Bookmarklet</title>
		<link>http://mobilemind.net/2011/04/fyi-bookmarklet/</link>
		<comments>http://mobilemind.net/2011/04/fyi-bookmarklet/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 14:04:04 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=990</guid>
		<description><![CDATA[UPDATE: April 19, 2011 Project now hosted elsewhere, see&#160;fyi-bookmarklets on Github I wrote a simple bookmarklet to make it very easy to share a snippet of a web page and the URL by email (see Install and Usage below). I &#8230; <a href="http://mobilemind.net/2011/04/fyi-bookmarklet/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE:</strong> April 19, 2011 Project now hosted elsewhere, see&nbsp;<strong><a href="http://mobilemind.github.com/fyi-bookmarklets/">fyi-bookmarklets</a></strong><a href="http://mobilemind.github.com/fyi-bookmarklets/"> on Github</a></p>
<p>I wrote a simple bookmarklet to make it very easy to share a snippet of a web page and the URL by email (see <a title="Install fyi bookmarklet" href="#fyi-install">Install</a> and  <a title="Use fyi bookmarklet" href="#fyi-usage">Usage</a> below). I was inspired by <a title="Mike Chambers | code = joy | fyi Ubiquity Command Updated" href="http://www.mikechambers.com/blog/2009/07/13/fyi-ubiquity-command-updated/">Mike Chamber&#8217;s &ldquo;fyi&rdquo; Firefox ubiquity command</a> which has served me well for years.</p>
<p>The &ldquo;fyi&rdquo; command (and now the bookmarklet) is a very handy way to select some text on a web page and fire off an email quoting part of the page and including the URL&#8211; with minimal typing <em>and</em> <strong>no</strong> copy-and-paste work. <a title="Mike Chambers | code = joy | Firefox Ubiquity Command : fyi" href="http://www.mikechambers.com/blog/2008/08/31/firefox-ubiquity-command-fyi/">As Mike put it in 2008</a>:</p>
<blockquote><p>I wrote the command because I am often finding myself forwarding URLs  to friends and co-workers. This is normally much more tedious than it  needs to be, involving the following steps:
<ol>
<li>Copy the URL from the browser</li>
<li>Switch to mail client</li>
<li>Create new Email</li>
<li>Paste URL into the email body</li>
<li>Switch back to the browser</li>
<li>Copy the post title</li>
<li>Switch back to email</li>
<li>Paste the title as the subject</li>
<li>Switch back to the browser</li>
<li>Copy a snippet from the page</li>
<li>Switch back to the email</li>
<li>Paste in the snippet</li>
<li>Enter the TO email address</li>
<li>Finally send the email</li>
</ol>
<p> Phew&#8230;</p>
<p>&nbsp;</p>
<p>Well, no more. By using the [ubiquity] &ldquo;fyi&rdquo; command, you can quickly and easily forward information about a page to anyone.</p>
</blockquote>
<p>Unfortunately,&nbsp;<a title="Mozilla Labs: ubiquity" href="https://mozillalabs.com/ubiquity/">ubiquity</a> is now an inactive project of Mozilla Labs.</p>
<p>&nbsp;</p>
<p>Fortunately, Mozilla&nbsp;<a title="Firefox Custom Keywords" href="https://www.mozilla.org/docs/end-user/keywords.html">Firefox Custom Keywords</a> allow you to easily make bookmarks or bookmarklets that can act like a command with a dynamic parameter. If a bookmark has a keyword, you can type that keyword in the Location Bar (address bar) and Firefox opens the bookmark. Even better, you can type string of text after the keyword and that string is passed to the bookmark. Just edit your bookmark putting a <code>%s</code> where you want the string to be substituted. Asa Dotzler and Daniel Wang explain it well on the <a title="Firefox Custom Keywords" href="https://www.mozilla.org/docs/end-user/keywords.html">Firefox Custom Keywords</a> page. So well, in fact, that I was able to whip up a work-alike bookmarklet in a few minutes (and then spend last night tuning it and drafting this post).</p>
<p id="fyi-install"><strong>Install:</strong></p>
<p>First, bookmark this <a title="fyi" href="javascript:var%20r='%250A',t=encodeURIComponent(document.title);location.href='mailto:'+('%25s'=='%s'?'%20':'%s')+'%3Fsubject=fyi:%20'+t+'%26body='+t+r+'--'+r+encodeURIComponent(window.getSelection())+r+'--'+r+location.href+r;">fyi</a> link in Firefox. To bookmark a link you can right-click on it and &ldquo;Bookmark this Link&rdquo; or drag the link to your bookmark bar.</p>
<p>&nbsp;</p>
<p>Second, add <code>fyi</code> as a keyword property of the new bookmark. To add a keyword, use the &ldquo;Bookmarks&rdquo; menu to select the &ldquo;Show All Bookmarks&rdquo; menu item. In the resulting &ldquo;Library&rdquo; window, navigate to the new bookmark and highlight it. If necessary, us the control beneath the property labels to expand the property panel to reveal the field for &ldquo;Keyword&rdquo;. Finally, enter the keyword <code>fyi</code>.</p>
<p><img src="http://mobilemind.net/images/fyi-keyword.png" alt="Firefox Library, property panel with keyword attribute set to fyi" width="405" height="237" /></p>
<p>Close the &ldquo;Library&rdquo; to save your changes.</p>
<p id="fyi-usage"><strong>Usage:</strong></p>
<p><code>fyi [<em>to_email</em>]</code></p>
<p>&nbsp;</p>
<p>Activate the &ldquo;fyi&rdquo; bookmarklet by using the bookmark menu, <em>or</em> by clicking the bookmark in your bookmark bar, <em>or</em> (ideally) move the cursor into the Location Bar and type:</p>
<p><code>fyi</code></p>
<p>and hit enter. This opens the default email program and creates a new email with the page title in the email subject. The email body contains the page title and URL. If any text on the page is selected, then the selected text is also included in the body.</p>
<p>If typed, the command optionally takes 1 argument, that includes one or more email addresses, separated by semicolons. The email address(es) will be put in the TO field of the new email.</p>
<p><strong>Requirements:</strong></p>
<ul>
<li><a title="Mozilla Firefox" href="http://www.firefox.com">Firefox 3.0 or higher</a></li>
</ul>
<p><strong>Version History:</strong></p>
<p>Version 1.0 (April 6, 2011) <em>more recent versions on Github</em></p>
<p><strong>Known Issues:</strong></p>
<p>Tested with Firefox 4.0 on Mac OS X 10.6 and Win XP. May or may not work with Chrome, IE or Safari. A version optimized for iOS Mobile Safari is also available.</p>
<p><strong>License:</strong></p>
<p><a href="http://www.opensource.org/licenses/mit-license.php">MIT</a></p>
<p><strong>Source:</strong></p>
<p><a title="fyi- bookmarklet Source code on Github" href="https://github.com/mobilemind/fyi-bookmarklets">Source on Github</a></p>
<p>Use comments to report bugs or provide feedback. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/04/fyi-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>App Icons for iOS, AIR and Android</title>
		<link>http://mobilemind.net/2011/03/app-icons-for-ios-air-and-android/</link>
		<comments>http://mobilemind.net/2011/03/app-icons-for-ios-air-and-android/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 22:29:47 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=987</guid>
		<description><![CDATA[I&#8217;ve been making HTML5 apps with PhoneGap and helping co-workers using Flash CS5 with the iPhone &#38; Android packagers.&#160;There are a bunch of icon sizes needed when you make a cross platform mobile app, especially if you want to cover &#8230; <a href="http://mobilemind.net/2011/03/app-icons-for-ios-air-and-android/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been making HTML5 apps with PhoneGap and helping co-workers using Flash CS5 with the iPhone &amp; Android packagers.&nbsp;There are a bunch of icon sizes needed when you make a cross platform mobile app, especially if you want to cover the sizes for phones, tablets, normal and &#8220;@2x&#8221; retina display resolutions.</p>
<p>Here is a table&nbsp;I&#8217;ve I made of the various sizes needed for iPhone, iPad, Universal iOS, AIR 2.5 for desktop and AIR for Android.&nbsp;Hopefully this will be helpful for others, too.</p>
<table dir="ltr" border="1" cellspacing="1" cellpadding="2" width="448" bordercolor="#000000">
<tbody>
<tr>
<td width="17%" height="16">
<p>&nbsp;</p>
</td>
<td width="17%" height="16"><strong> </strong></p>
<p><strong>Format</strong></p>
</td>
<td width="17%" height="16">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16"><strong> </strong></p>
<p><strong>Size</strong></p>
</td>
<td width="17%" height="16">
<p>iPad</p>
</td>
<td width="17%" height="16">
<p>iPhone</p>
</td>
<td width="17%" height="16">
<p>iOS</p>
</td>
<td width="17%" height="16">
<p>AIR 2.5</p>
</td>
<td width="17%" height="16">
<p>AIR Android</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>16&#215;16</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>29&#215;29</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>32&#215;32</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>36&#215;36</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>48&#215;48</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>50&#215;50</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>57&#215;57</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>58&#215;58</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>72&#215;72</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>114&#215;114</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>128&#215;128</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="17%" height="16">
<p>512&#215;512</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16">
<p>X</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
<td width="17%" height="16" bgcolor="#c0c0c0">
<p>&nbsp;</p>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/03/app-icons-for-ios-air-and-android/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Manifest Generator for TextMate and Text Wrangler</title>
		<link>http://mobilemind.net/2011/01/manifest-generator-for-textmate-and-text-wrangler/</link>
		<comments>http://mobilemind.net/2011/01/manifest-generator-for-textmate-and-text-wrangler/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 15:26:15 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[TextWrangler]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=976</guid>
		<description><![CDATA[I whipped up versions of the Coda extension &#8220;Manifest Generator&#8221; that run in TextMate and TextWrangler. See the previous post on a HTML 5 Manifest Generator for Coda. HTML5 Manifest Generator for TextMate To install the bundle- just download, unzip, &#8230; <a href="http://mobilemind.net/2011/01/manifest-generator-for-textmate-and-text-wrangler/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I whipped up versions of the Coda extension &#8220;Manifest Generator&#8221; that run in TextMate and TextWrangler. See the previous post on a <a title="Mobilemind: Coda Plugin- HTML5 Manifest Generator" href="http://mobilemind.net/2011/01/coda-plugin-html5-manifest-generator/">HTML 5 Manifest Generator for Coda</a>.</p>
<p><a title="Download TextMate Plugin: HTML5 Manifest Generator" href="http://mobilemind.net/downloads/Mobilemind.tmbundle.zip"><img style="border: 0px initial initial;" src="http://mobilemind.net/images/textmate-plugin-icn.png" alt="TextMate plugin bundle icon" width="64" height="64" /></a> <a style="font-size: large;" title="Download TextMate Plugin: HTML5 Manifest Generator" href="http://mobilemind.net/downloads/Mobilemind.tmbundle.zip">HTML5 Manifest Generator</a><span style="font-size: large;"> for TextMate</span></p>
<p>To install the bundle- just download, unzip, and double-click. TextMate will open and install the bundle as &#8220;Mobilemind&#8221; with a command, &#8220;Generate Manifest&#8221;. Usage is as you would expect in TextMate. Feel free to move it to a more appropriate bundle grouping, like say HTML.</p>
<p><a title="Download TextWrangler Shebang menu Command/Filter: HTML5 Manifest Generator" href="http://mobilemind.net/downloads/Mobilemind.tmbundle/Generator.codaplugin.zip"><img style="border: 0px initial initial;" src="http://mobilemind.net/images/shell-icn.png" alt="Shell script plugin icon" width="92" height="64" /></a> <a style="font-size: large;" title="Download TextWrangler Plugin: HTML5 Manifest Generator" href="http://mobilemind.net/downloads/Manifest Generator.zip">HTML5 Manifest Generator</a><span style="font-size: large;"> A &#8216;Shebang&#8217; menu Filter for TextWrangler</span></p>
<p>To install the Shebang (Shell) menu item- first download, then unzip the shell script. Finally, move the script file into the directory:</p>
<p><code> ~/Library/Application Support/TextWrangler/Unix Support/Unix Filters</code></p>
<p>Then make sure the script is executable by doing the following in Terminal:</p>
<p><code>chmod 755 "$HOME/Library/Application Support/TextWrangler/Unix Support/Unix Filters/Manifest Generator"</code></p>
<p>Then to use it the first time TextWrangler:</p>
<ul>
<li>Open the HTML file that you want to use as the basis for generating a manifest</li>
<li>In TextWrangler, <strong>hold down the Cmd key</strong> while you use the &#8220;<strong>!#</strong>&#8221; (<em>Shebang</em>) menu to select the sub-menu &#8220;<strong>Unix Filters</strong>&#8221; and choose &#8216;<strong>Manifest Generator</strong>&#8216;.</li>
<li>In the dialog box set the &#8220;Filter Options&#8221; as follows;<code> Output STDERR to: New Window </code><code>Output STDOUT: Windows used for STDERR</code></li>
<li>Then click the button &#8220;Run&#8221; to execute the filter command.</li>
</ul>
<p>The options should &#8220;stick&#8221; for next time you run the Filter.</p>
<p>If you want to use it as a raw shell command, I&#8217;d recommend copying the file &#8220;<code>Manifest Generator</code>&#8221; to &#8220;<code>manifest-gen</code>&#8221; and putting the copy in the directory &#8220;<code>/usr/local/bin</code>&#8220;. That will save you typing lots of quotes and/or long paths.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/01/manifest-generator-for-textmate-and-text-wrangler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coda Plugin- HTML5 Manifest Generator</title>
		<link>http://mobilemind.net/2011/01/coda-plugin-html5-manifest-generator/</link>
		<comments>http://mobilemind.net/2011/01/coda-plugin-html5-manifest-generator/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 07:53:34 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Coda]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=968</guid>
		<description><![CDATA[Offline web content is readily done with an HTML5 Cache Manifest, as well described and demonstrated by Mark Pilgrim. Though the manifest file itself is simple, creating it can require some tedious work. This Coda Plugin attempts to address that. &#8230; <a href="http://mobilemind.net/2011/01/coda-plugin-html5-manifest-generator/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Offline web content is readily done with an <a title="W3C:HTML5 spec:Offline" href="http://www.w3.org/TR/html5/offline.html">HTML5 Cache Manifest,</a> as <a title="Dive into HTML5-Lets Take This  Offline" href="http://diveintohtml5.org/offline.html">well described and demonstrated by Mark Pilgrim</a>. Though the manifest file itself is simple, creating it can require some tedious work. This <a title="Coda: one window web development" href="http://www.panic.com/coda/">Coda</a> Plugin attempts to address that. The guts of the plugin are a relatively simple perl script that gathers <em>relative</em> URL references from the open HTML file and generates a manifest. I wrote the perl script so that it can also be used as a stand-alone shell command too. From the <code>manifest-gen</code> script&#8217;s &#8220;-h&#8221; option</p>
<blockquote><p>Generates a default HTML5 &#8216;cache manifest&#8217; file from HTML input.</p>
<p>The manifest includes items referenced by HTML tags with attributes for href, longdesc, and src. The items are sorted with duplicates removed.</p>
<p>The manifest excludes items that specify a protocol scheme, i.e. non-relative URLs.</p>
</blockquote>
<p>To install the plugin- just download, unzip, and double-click. Coda will open and install the plugin.</p>
<p><a title="Download Coda Plugin: HTML5 Manifest Generator" href="http://mobilemind.net/downloads/Manifest%20Generator.codaplugin.zip"><img style="border: 0px initial initial;" src="http://mobilemind.net/images/coda-plugin-icn.png" alt="Coda plugin icon" /></a> <a style="font-size: x-large;" title="Download Coda Plugin: HTML5 Manifest Generator" href="http://mobilemind.net/downloads/Manifest%20Generator.codaplugin.zip">HTML5 Manifest Generator</a></p>
<p>To use, open an HTML file and use the Coda Plugins menu to select Manifest Generator. The command will open a new document with a sample manifest. Remember to save the file and add the manifest attribute to the <code>&lt;html&gt;</code> tag of the main HTML file. See Mark Pilgrim&#8217;s excellent book for details.</p>
<p>Given sufficient interest I can also make the bare command/shell script of the command available for download. It works on a named file or you can pipe in standard input.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/01/coda-plugin-html5-manifest-generator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PhoneGap Lessons Learned- Windows Edition</title>
		<link>http://mobilemind.net/2011/01/phonegap-lessons-learned-windows-edition/</link>
		<comments>http://mobilemind.net/2011/01/phonegap-lessons-learned-windows-edition/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 16:04:45 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=909</guid>
		<description><![CDATA[The first lesson learned is that there is a lot of stuff to install to get a Windows machine ready to roll with Eclipse‑Android‑PhoneGap development. Second, I learned it is all really finicky regarding version of Ruby, paths, order of &#8230; <a href="http://mobilemind.net/2011/01/phonegap-lessons-learned-windows-edition/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The first lesson learned is that there is a lot of stuff to install to get a Windows machine ready to roll with Eclipse‑Android‑PhoneGap development. Second, I learned it is all really finicky regarding version of Ruby, paths, order of install, etc. Third, I learned that getting a stable setup for this on Windows can take a few hours.</p>
<p>You will need to download and install the following:</p>
<ol>
<li><strong><a href="http://java.sun.com/javase/downloads/index.jsp">Java JDK</a></strong> (I got the latest Java at the time; Java SE 6 Update 23. Regardless of the version, be sure to <strong>Download JDK</strong> <em>not</em> the JRE.)</li>
<li><strong><a href=" http://ant.apache.org/">Apache ANT</a></strong> (Instructions aren&#8217;t too clear, I just downloaded and unzipped to c:\android-sdk-windows)</li>
<li><strong><a href="http://rubyinstaller.org/downloads/">Ruby</a></strong> ** DO NOT GET THE LATEST RUBY (currently v 1.9.2); get 1.9.1 **<br />
Check PhoneGap docs to see if/when 1.9.2 or later ruby for Windows may work.)</li>
<li><strong><a href="http://code.google.com/p/msysgit/downloads/list">Git (msysgit)</a></strong><br />
(Here I felt comfortable getting the latest, 1.7.3.1, since it is not directly in the build process.)</li>
<li><strong><a href="http://developer.android.com/sdk/">Android SDK</a></strong></li>
<li><strong><a href="http://www.eclipse.org/downloads/">Eclipse IDE for Java Developers</a></strong>* (Eclipse &#8216;Helios&#8217; version 3.6.1 worked well for me)</li>
<li><strong>Eclipse Web Developer Tools</strong>* <em>see paragraph below</em><br />
(Not mentioned in PhoneGap Docs, but the ADT  Plugin has a dependency on the Eclipse Web Developer Tools. Another option is to get <a rel="nofollow" href="http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr1">Eclipse IDE for Java EE developers</a> which already includes the Web Developer Tools).</li>
<li><a href="http://developer.android.com/sdk/eclipse-adt.html"><strong>ADT (Android Developer Tools) Plugin for Eclips</strong>e</a></li>
<li><strong><a href="https://github.com/phonegap/phonegap-android">PhoneGap-Android</a></strong> (Long term you&#8217;ll be better off cloning via <code>git</code> instead of downloading. Later instructions help with using <code>git clone</code>…)</li>
</ol>
<p>You can dive in and do the installs like I did, using the instructions from <a href="http://wiki.phonegap.com/w/page/16494774/Getting-started-with-Android-PhoneGap-in-Eclipse">Getting started with Android PhoneGap in Eclipse</a>. Note that there are a quite a few potential gotchas. I&#8217;ll try to call out some major ones. Some are alluded to above, like &#8220;<em>Gotcha #0</em>&#8220;— ruby version sensitivity.</p>
<p><strong>Gotcha #1: </strong>Order can matter.<br />
<strong>Solution: </strong>For better results, download <em>and</em> install the the Java JDK first. See gotcha #2 for some tips relating to the Android SDK, Apache ANT, and where you put the <code>phonegap‑android</code> directory.</p>
<p><strong>Gotcha #2: </strong>Paths (and names) matter, especially if they contain spaces or special characters (or if environment variables have an unneeded trailing &#8216;\&#8217;)<br />
<strong>Solution: </strong>The PhoneGap wiki mentions the work-around in numerous places, but I found it easiest to install key components to <code>C:\</code> (the root) rather than deal with the hassles caused by paths with spaces in the names (ie, <code>C:\Program Files\…</code>). Thus,</p>
<ol>
<li>When running the Android SDK installer, change the install folder to:
<p><code> C:\android-sdk-windows</code>
</li>
<li>Extract or move the Apache ANT directory to the root (e.g., <code> c:\apache-ant-1.8.1</code>)</li>
<li>Change to the root of the C: drive when you are ready to:
<p><code> git clone https://github.com/phonegap/phonegap-android.git</code>
</li>
<li>Really make sure all the environment variables are set properly— proper names, proper distinctions use of User and System Environment variables, and proper syntax (e.g., no trailing &#8216;\&#8217;).</li>
<li>When you are ready to
<p><code> droidgap gen <em>projectname</em></code></p>
<p>do NOT use hyphens, spaces or underscores in the project name… weird things will happen as the ruby scripts don&#8217;t quote the names and also rely on some implicit naming conventions and use of the underscore.</li>
</ol>
<p><strong>Gotcha #3: </strong>The ADT Plugin requires Eclipse Web Developer Tools, but the basic Eclipse Java IDE doesn&#8217;t include those.<br />
<strong>Solution: </strong>After Eclipse is installed, if you picked the basic Eclipse Java IDE you can add the Web Developer Tools as follows:</p>
<ol>
<li>Launch Eclipse</li>
<li>Use the Eclipse drop-down menu for <strong>Help</strong> to pick <strong>Install New Software…</strong></li>
<li>In the dialog for &#8220;Install&#8221; use the drop-down list to select &#8220;Helios &#8211; http://download.eclipse.org/releases/helios&#8221;. Then scroll down to &#8220;Web, XML, and Java EE Development&#8221;. Expand that item and then check the boxes to add at least <strong>Eclipse Web Developer Tools</strong>, <strong>Eclipse Web Developer Tools</strong>, <strong>Eclipse XML Editors and Tools</strong>, and <strong>Javascript Development Tools</strong>. The image below may help.<br />
<img src="/images/Eclipse-Install-Helios.png" alt="Eclipse Install New Software dialog" /></li>
<li>Select &#8220;Next&#8221; and continue on, accepting the agreements (if you agree).</li>
<li>Be sure to quit and restart Eclipse before <a title="Google Android: Installing the ADT Plugin" href="http://developer.android.com/sdk/eclipse-adt.html#installing">Installing the ADT Plugin</a> (see instructions at that link).</li>
</ol>
<p><strong>Gotcha #4: </strong>Environment variables matter. (<em>aka</em> &#8220;Gotcha #2 Returns: Paths Redux&#8221;)<br />
<strong>Solution: </strong>Make sure you properly set the necessary environment variables and verify them at the command prompt.</p>
<ul>
<li>Set (or do a preliminary verification of) the Environment variables by right-clicking on <strong>My Computer</strong> and selecting <strong>Properties</strong>. Then select the <strong>Advanced</strong> tab and click the <strong>Environment Variables</strong> button. See image below for an example.<br />
<img src="/images/Environ-vars.png" alt="Environment variables dialog" /></li>
<li>The following User Environment variables should be set (example values from my machine)
<p><code> ANDROID_HOME=C:\android-sdk-windows</code><br />
<code> ANT_HOME=C:\apache-ant-1.8.1</code><br />
<code> JAVA_HOME=C:\Program Files\Java\jdk1.6.0_23</code></li>
<li>Verify that the System Environment Variable <code>PATH</code> <em>somewhere</em> contains an excerpt like:
<p>…<code> C:\Ruby191\bin;C:\apache-ant-1.8.1\bin;C:\Program Files\Java\jdk1.6.0_23\bin </code></p>
</li>
<li><strong>TIP: </strong>As a convenience, append the following to the end of the System Environment Variable <code>PATH</code>
<p><code> C:\android-sdk-windows;C:\android-sdk-windows\tools;</code></p>
<p>followed by</p>
<p><code>C:\phonegap-android;C:\phonegap-android\bin</code></p>
<p>Then you will be able to use common Android SDK and phonegap-android commands without concern for the full path or current working directory.</li>
<li>Open a <em>new</em> command window and confirm the settings. It must be a new window for it to reflect the changes you just made. In the new window enter the following command and press Enter:
<p><code> set | more</code></p>
<p>The set command will list the current values of all the environment variables and piping (&#8216;<code>|</code>&#8216;) the output through <code>more</code> causes it to display one screen at a time pausing until you hit the space bar to advance to the next screen. Verify the values again.</li>
<li>Test your verified setup by entering a phonegap utility command. (NOTE: this assumes you&#8217;ve already cloned phonegap-android using git… see Gotcha #5 below). The command below will generate a new project called &#8216;myproj&#8217;.
<p><code> droidgap gen myproj</code></p>
<p>You shouldn&#8217;t get any errors. If you do verify, versions and paths That’s about the best help I can offer, other than the <a title="PhoneGap wiki: Getting started with Android-PhoneGap in Eclipse" href="http://wiki.phonegap.com/w/page/16494774/Getting-started-with-Android-PhoneGap-in-Eclipse">Getting started with Android-PhoneGap in Eclipse</a> docs.</li>
</ul>
<p><strong>Gotcha #5: </strong>Proxy settings may be needed and seem to conflict. Settings for msysgit aren&#8217;t obvious, <em>and</em> seem to interfere with Eclipse proxy settings (creating &#8220;<em>msysgit proxy misery</em>&#8220;). I discovered this one at the workplace yesterday, where using the proxy server is a must.<br />
<strong>Solution: </strong>The proxy settings for Eclipse are fairly straightforward (eg, use the drop-down menu <strong>Window</strong> to select <strong>Preferences</strong>. Then expand the tree control for <strong>General</strong> and select <strong>Network Connections</strong>.)</p>
<p>Not-so-obvious are the proxy settings for msysgit, nor is it obvious that they <em>can</em> clash with the Eclipse settings. To set the proxy for msysgit, you use environment variables. I set these using User Environment Variables (see above) and setting the following variables:</p>
<p><code> HTTP_PROXY=<em>proxyserver.com</em>:<em>portnum</em></code><br />
<code> HTTPS_PROXY=<em>proxyserver.com</em>:<em>portnum</em></code></p>
<p>Where <em>proxyserver.com</em> is the fully qualified name or IP address of a proxy server and <em>portnum</em> is the active port for said proxy server. After setting those two variables, I was able to successfully clone phonegap-android using this command with the prompt already set to <code>c:\</code> as the current directory:</p>
<p><code> git clone https://github.com/phonegap/phonegap-android.git</code></p>
<p><strike>Unfortunately, I needed to go back, and &#8220;un-set&#8221; (delete) the User Environment Variables for the proxies in order for Eclipse to work with updates, installs, etc. In hindsight, I might have been able to leave those environment variables in effect and set Eclipse to connect &#8220;Natively&#8221; or &#8220;Directly&#8221; without a proxy, instead of removing the variables and using my Eclipse manual proxy settings.</strike></p>
<p><strong>UPDATE:</strong>
<ol>
<li><strong>Errors in Tip about <code>PATH</code></strong>. I left some elements out in the <code>PATH</code> tip above. I updated it and forced a line break for clarity. You may find PhoneGap docs that contradict my tip, but it works well for me as is.</li>
<li><strong>Proxy settings</strong>. Earlier today I was able to get Eclipse to work just fine with the <code>HTTP_PROXY</code> environment variables in place and the Eclipse preference for <strong>General</strong> > <strong>Network</strong> set to <strong>Active Provider</strong> &#8220;Manual&#8221; with proper proxy server address and port values.</li>
</ol>
<p>Whew. I&#8217;m not going to make this even longer. Much of the rest of the installation and usage is relatively well documented elsewhere.</p>
<p>I&#8217;ll watch comments for feedback on this lengthy post. A follow-up post will address turning a generated phonegap-android project into an Eclipse project. In the interim, I&#8217;ll likely post something shorter about getting phonegap-iphone going in Xcode.</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/01/phonegap-lessons-learned-windows-edition/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>PhoneGap Lessons Learned- Mac edition</title>
		<link>http://mobilemind.net/2011/01/phonegap-lessons-learned-mac-edition/</link>
		<comments>http://mobilemind.net/2011/01/phonegap-lessons-learned-mac-edition/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 18:28:00 +0000</pubDate>
		<dc:creator>Tom King</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://mobilemind.net/?p=885</guid>
		<description><![CDATA[In the last week I&#8217;ve learned quite a bit about using PhoneGap-Android with Eclipse on Mac and Windows. Earlier this month I spent alot of time using the iUI library with PhoneGap to make stand-alone iPhone apps from HTML. I &#8230; <a href="http://mobilemind.net/2011/01/phonegap-lessons-learned-mac-edition/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the last week I&#8217;ve learned quite a bit about using PhoneGap-Android with Eclipse on Mac and Windows. Earlier this month I spent alot of time using the iUI library with PhoneGap to make stand-alone iPhone apps from HTML. I thought I&#8217;d share my experiences. I&#8217;ll begin with using the Mac with PhoneGap for Android. Future posts will address Mac set-up of PhoneGap for iPhone, Eclipse set-up, and Windows set-up of PhoneGap for Android.</p>
<p>First lesson— update PhoneGap early and often. Learn to use git, learn how to use PhoneGap utils to update existing projects and check PhoneGap documentation. It has changed dramatically since last March when I first experimented with it, especially on the Eclipse + Android SDK side. I went down quite a few dead-end paths based on old assumptions and some seemingly helpful blog posts I found from last summer. Please apply my lesson and double check the docs if any of my &#8220;tips&#8221; below don&#8217;t seem to work for you.</p>
<p>Second lesson– Make sure the user you are signed in as has administrative permissions. If you&#8217;re unsure, launch the Settings application, look in the System category and open the settings panel for Accounts. Make sure the box is checked for &#8220;Allow user to administer this computer&#8221;. Don&#8217;t worry, you can turn it off after you&#8217;ve done the setup. As a little security step, I rarely run as Admin on my own computer.</p>
<p><strong>Basic Setup</strong><br />
<strong>Git- </strong>Your installation will begin by getting git if you don&#8217;t already have it. On Mac the easiest way is to download and run the installer from:<br />
<a title="Google code: OS X Installer for Git" href="https://code.google.com/p/git-osx-installer/">https://code.google.com/p/git-osx-installer/</a></p>
<p><strong>PhoneGap Repositories-</strong> Next, I cloned some repositories from the <a title="github: PhoneGap repositories" href="https://github.com/phonegap">phonegap repository on github</a> to my Mac Home directory. With git already installed this is as easy as starting Terminal.app and immediately entering:</p>
<p><code> git clone https://github.com/phonegap/phonegap-iphone.git</code></p>
<p><code> git clone https://github.com/phonegap/phonegap-android.git</code></p>
<p>Those two commands will copy down the latest PhoneGap iPhone and Android frameworks, respectively. <em>Note: As a convenience, we&#8217;re getting the iPhone repo while we&#8217;re at it, even though it won&#8217;t be used in this post. Watch for a future post on &#8220;PhoneGap for iPhone &#8211; Basic Xcode Setup.&#8221;</em></p>
<p><strong>Environment variables for paths-</strong> Since Terminal is running, we&#8217;ll skip ahead and add some path information to the shell environment. These updates are only needed for the Android and PhoneGap-Android toolchain. Again, in Terminal, enter:</p>
<p><code> open .profile</code></p>
<p>In the resulting editor window, add the following lines to the<code> .profile</code> file.</p>
<p><code># add Android_Home for Eclipse builds<br />
export ANDROID_HOME=$HOME/android-sdk-mac_86<br />
# add tools directory for shell access to SDK tools<br />
export PATH=$PATH:$ANDROID_HOME/tools</code></p>
<p><code># add PhoneGap bin for shell access to PhoneGap tools<br />
export PATH=$PATH:$HOME/phonegap-android/bin</code></p>
<p>Save the <code>.profile</code> file. Close the editor. Quit Terminal. [Really do quit Terminal, because that will help ensure the <code>.profile </code>changes are applied when we get to testing things below.</p>
<p><strong>Android SDK for Mac-</strong> Download the Android SDK for Mac from here:<br />
<a title="Android Developers: Android SDK" href="http://developer.android.com/sdk/">http://developer.android.com/sdk/</a></p>
<p>Unzip the downloaded archive and move the whole <code>android-sdk-mac_86</code> folder to your home folder. There should now be a folder named <code>android-sdk-mac_86 </code>at the root level of your home folder. [There are more Android SDK setup instructions found at <a title="Android Developers: Install the SDK" href="http://developer.android.com/sdk/installing.html">http://developer.android.com/sdk/installing.html</a> if you need them.]</p>
<p><strong>Test your basic PhoneGap setup-</strong> We can test the basics now, <em>without</em> even installing Eclipse and the ADT (Android Developer Tools) Plugin <em>or</em> using Xcode.</p>
<p>First we&#8217;ll test the PhoneGap Android command tools by creating <code>mysample</code> as a sample project. Open the Terminal again. Enter:</p>
<p><code> droidgap gen mysample</code></p>
<blockquote><p>NOTE: Don&#8217;t get fancy and use a different name for testing. I found out the hard way that you&#8217;ll get ruby script errors if the name includes a hyphen. I suspect spaces and other special characters may also wreak havoc with PhoneGap ruby scripts.</p></blockquote>
<p>It will take a minute to do its work. If all worked well, it should have made a new sub-directory named <code>mysample</code> inside of your Home directory. Verify this by looking in Finder or typing <code>ls</code> in Terminal and looking for <code>mysample</code> in the list of files.</p>
<p><strong>Debugging PhoneGap Android command tools-</strong> If it didn&#8217;t work, then some likely possibilities are that something got copied to the wrong place or an environment variable (a path) was set wrong. Make sure your Home folder contains the following folders:</p>
<p><code>android-sdk-mac_86<br />
phonegap-android<br />
phonegap-iphone</code></p>
<p>Check your paths by examining the current value environment variables. To do this, enter the following in Terminal:</p>
<p><code> set</code></p>
<p>Scan the output and make sure the line with <code>PATH=</code> includes something like:<br />
<code> /Users/</code><em>yourUserName</em><code>/phonegap-android/bin</code></p>
<p>Edit <code>.profile</code> again or move folders if necessary. Quit Terminal, re-open it and try again. That&#8217;s about the best help I can offer, other than the <a title="github: PhoneGap Android ReadMe" href="https://github.com/phonegap/phonegap-android/blob/master/README.md">PhoneGap Android docs</a>.</p>
<p><strong>Test your basic Android SDK setup-</strong> Now we can try the Android SDK. Again, in Terminal, enter:</p>
<p><code> android</code></p>
<p>If all goes well in a few moments you should see a window that looks like the small thumbnail below, and you can continue on to Install Android SDK Packages.<br />
<img src="/images/android-sm.png" alt="" /></p>
<p><strong>Debugging Android SDK Basic Setup-</strong> You should know the drill by now; check the folder structure and names and check the environment variables. In this case the key folder is <code>android-sdk-mac_86</code> and the corresponding environment variable is <code>ANDROID_HOME</code> which should contain something like:<br />
<code> /Users/</code><em>yourUserName</em><code>/android-sdk-mac_86</code></p>
<p><strong>Install Android SDK Packages-</strong> In the Android SDK and AVD Manager Window (shown above), scan the list in the left column and select <code>Available packages</code>.  Check the box next to <code>Android Repository</code> and also check the box next to <code>Third party Add-ons</code>.</p>
<p>At this point, I was tempted to be conservative and download the bare minimum. It turns out better if you just downloading everything. That way you can easily publish for a broad range of Android devices by having the most basic and the most current APIs available.</p>
<p>With everything checked, click on the button for <code>Install Selected</code>. It may take awhile.</p>
<p>If you&#8217;ve got this far you&#8217;ve got all the basics and are ready to proceed to Eclipse or get started with PhoneGap for iPhone with Xcode. Both of those are separate posts though.</p>
<p>If you want to jump ahead, you can make use of the Android Developers <a title="Android Developers: Install the SDK" href="http://developer.android.com/sdk/installing.html">Installing the SDK</a> instructions. That will help you with installing Eclipse and the ADT (Android Developer Tools) for Eclipse.</p>
<p>Keep in mind that you have already completed their steps #2 (<em>Downloading SDK</em>) and  #4 (<em>Adding Platforms and Other Components</em>).</p>
]]></content:encoded>
			<wfw:commentRss>http://mobilemind.net/2011/01/phonegap-lessons-learned-mac-edition/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

