<?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>juergen.treml &#187; Programming</title>
	<atom:link href="http://www.juergentreml.de/archives/category/computer-and-devices/programming-computer-and-devices/feed" rel="self" type="application/rss+xml" />
	<link>http://www.juergentreml.de</link>
	<description>Crossing a live runway...</description>
	<lastBuildDate>Tue, 03 Jan 2012 10:04:41 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.3</generator>
	<item>
		<title>HOWTO Circumvent Palm App Catalog Regional Filtering</title>
		<link>http://www.juergentreml.de/archives/1056</link>
		<comments>http://www.juergentreml.de/archives/1056#comments</comments>
		<pubDate>Wed, 07 Apr 2010 14:43:43 +0000</pubDate>
		<dc:creator><![CDATA[Jürgen]]></dc:creator>
				<category><![CDATA[Computer & Devices]]></category>
		<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[App Catalog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Palm]]></category>
		<category><![CDATA[Palm Pixi]]></category>
		<category><![CDATA[Palm Pre]]></category>
		<category><![CDATA[WebOS]]></category>

		<guid isPermaLink="false">http://www.juergentreml.de/archives/1056</guid>
		<description><![CDATA[This article is a short tutorial on how install WebOS applications on your Palm Pre independent [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This article is a short tutorial on how install WebOS applications on your <a href="http://www.palm.com">Palm</a> Pre independent of the region they are intended for, e.g. install US only apps that do not even show up in the app catalog outside the US on your French / German / Spanish Palm Pre. The process is rather simple as it basically just exploits the current behavior of the App Catalog’s update mechanism.<span id="more-1056"></span></p>
<p><span style="color: #808080;">But before I get to the point, let me comment something that really bothers me: As of now, the US App Catalog shows about 2000 apps, while the German catalog is showing a mere 600, paid apps included. I understand, that given Palm’s app submission forms, it’s a bit of an inconvenience for developers to fill out the extra fields to make an app available outside the US, but from my own apps </span><a href="http://www.juergentreml.de/programming/webos/qrdecoder"><span style="color: #808080;">QR deCODEr</span></a><span style="color: #808080;"> and </span><a href="http://www.juergentreml.de/programming/webos/dix"><span style="color: #808080;">DIX Dictionary</span></a><span style="color: #808080;">, I managed to collect a bit of statistics (which I also confirmed with other developers), looking as shown below:</span></p>
<p><a href="http://www.juergentreml.de/wp-content/uploads/2010/04/image10.png" rel="lightbox[1056]"><span style="color: #808080;"> </span></a><a href="http://www.juergentreml.de/wp-content/uploads/2010/04/image11.png" rel="lightbox[1056]"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="image" src="http://www.juergentreml.de/wp-content/uploads/2010/04/image_thumb1.png" border="0" alt="image" width="500" height="335" /></a><span style="color: #808080;">While the numbers for Canada, Mexico, Great Britain and Spain are admittedly not too impressive, things look quite different when it comes to Germany. The US account for about 70% of all WebOS users, but 20% of all users come from Germany as the diagram suggests. Thus, those developers not willing to take an extra five minutes to fill out the forms to make their app available outside the US are basically alienating between 20 and 30% of potential users of their app. What I find most frustrating about this is, that I can’t understand why so many developers don’t care about this. Sure, it’s a bit of a hassle to fill out those extra forms since translating your app takes quite some time and effort, but then again, Palm doesn’t force you to do so. You are free to just copy over your English app descriptions into the German / Spanish / French forms. That’s about two minutes for each additional language. So to all of those lazy developers: Are you sure you don’t have an extra six minutes?! There really is more to this world than the United States!</span></p>
<p>But enough already, here we got with the install tutorial for apps submitted for other regions than your own.</p>
<p><strong><span style="text-decoration: underline;">HOWTO Install Apps Not Showing Up In The App Catalog For Your Region</span></strong></p>
<p>I realize that this may seem quite some work to most ordinary users, but for somebody who’s used homebrew apps or the WebOS SDK before, it doesn’t take more than 5 minutes to follow the tutorial and install an app.</p>
<p>The basic idea is to exploit the App Catalog update mechanism’s current behavior. If you click a link to an app that’s not available in your region, instead of viewing this app, the app catalog presents you with an error message that this app is not available in your country. Nevertheless, if you already have an older version of such an app installed and go to the update view in the App Catalog, you’ll find that even for those app only available in other regions, you get a notification of available updates and upon tapping ‘install’ the App Catalog will happily download and install the new version of such an app.ç</p>
<p>So all we need to do is make WebOS think that we have an old version of the app we want already installed on our device and it will allow us to download and install the latest version. We do so by creating a “dummy” app with the same app ID as the app we want and a lower version number than the currently available version.</p>
<p><span style="color: #ff0000;">UPDATE: As an alternative to the following DIY tutorial, there are two apps that do all the work for you. See the </span><a href="#auto">end of this post</a><span style="color: #ff0000;"> </span><span style="color: #ff0000;"> for details.</span></p>
<ol>
<li>
<div>Make sure you have all the prerequisites: A <strong><a href="http://notepad-plus.sourceforge.net/uk/site.htm">text editor</a></strong>, the <a href="http://developer.palm.com/index.php?option=com_content&amp;view=article&amp;id=1788" class="broken_link">Palm WebOS SDK</a><strong> </strong>, your WebOS device with <strong><a href="http://developer.palm.com/index.php?option=com_content&amp;view=article&amp;id=1552&amp;Itemid=43#dev_mode" class="broken_link">activated Dev Mode</a></strong> and <strong><a href="http://preware.org/">Preware</a></strong> installed on your device (or some other way to find out app IDs).</div>
</li>
<li>
<div>Create a new folder called <em>Dummy</em> somewhere on your hard disk.</div>
</li>
<li>
<div>Within that folder, create a text file called <em>appinfo.json</em></div>
</li>
<li>
<div>Open this file in a text editor and copy the following lines to the file (including the brackets):</div>
<p><em>{<br />
&#8220;id&#8221;: &#8220;FILL IN APP ID HERE&#8221;,<br />
&#8220;version&#8221;: &#8220;0.0.1&#8243;,<br />
&#8220;vendor&#8221;: &#8220;FILL IN VENDOR HERE&#8221;,<br />
&#8220;title&#8221;: &#8220;FILL IN TITLE HERE&#8221;, </em></p>
<p><em> &#8220;type&#8221;: &#8220;web&#8221;,<br />
&#8220;main&#8221;: &#8220;index.html&#8221;<br />
}<br />
</em></li>
<li>
<div>Fire up <em>Preware</em> and find the app you want to install, e.g. French <em>Le Monde</em> app as show below:<br />
<a href="http://www.juergentreml.de/wp-content/uploads/2010/04/preware_20100704_150243.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="preware_2010-07-04_150243" src="http://www.juergentreml.de/wp-content/uploads/2010/04/preware_20100704_150243_thumb.png" border="0" alt="preware_2010-07-04_150243" width="160" height="240" /></a></div>
</li>
<li>
<div>Scroll down to see the vendor name, version number and app ID:<br />
<a href="http://www.juergentreml.de/wp-content/uploads/2010/04/preware_20100704_150250.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="preware_2010-07-04_150250" src="http://www.juergentreml.de/wp-content/uploads/2010/04/preware_20100704_150250_thumb.png" border="0" alt="preware_2010-07-04_150250" width="160" height="240" /></a></div>
</li>
<li>
<div>
<p>Now edit the text file we just created and replace all ‘FILL IN … HERE’ entries with the data you see in <em>Preware </em>AND make sure the version number in the text file is LOWER than the version number you see in <em>Preware </em>(0.0.1 as version number should usually work fine).</p>
<p>For our <em>Le Monde</em> example the text file should look like this:</p>
</div>
<p><em>{<br />
&#8220;id&#8221;: &#8220;com.backelite.lemonde&#8221;,<br />
&#8220;version&#8221;: &#8220;0.0.1&#8243;,<br />
&#8220;vendor&#8221;: &#8220;Le Monde Interactif&#8221;,<br />
&#8220;title&#8221;: &#8220;Lemonde.fr&#8221; </em></p>
<p><em> &#8220;type&#8221;: &#8220;web&#8221;,<br />
&#8220;main&#8221;: &#8220;index.html&#8221;,<br />
}<br />
</em></li>
<li>Fire up the command line, go to the folder containing the <em>Dummy</em> folder and type the following to pack the dummy application:<em>palm-package Dummy<br />
</em></li>
<li>Now connect your device to your computer via the USB cable and type the following to install the dummy application to your device:<em>palm-install –d usb com.backelite.lemonde_0.0.1_all.ipk</em>You should now see the dummy application on your device’s launcher page showing up with a default icon. (Don’t launch it, because it won’t start up at this point, since it’s just an empty dummy app.)
<p><a href="http://www.juergentreml.de/wp-content/uploads/2010/04/preware_20100704_150339.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="preware_2010-07-04_150339" src="http://www.juergentreml.de/wp-content/uploads/2010/04/preware_20100704_150339_thumb.png" border="0" alt="preware_2010-07-04_150339" width="160" height="240" /></a></li>
<li>Launch the App Catalog on your device and go to the update view, where you should see our dummy application showing up and an updated version being available:<br />
<a href="http://www.juergentreml.de/wp-content/uploads/2010/04/findapps_20100704_145659.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="findapps_2010-07-04_145659" src="http://www.juergentreml.de/wp-content/uploads/2010/04/findapps_20100704_145659_thumb.png" border="0" alt="findapps_2010-07-04_145659" width="160" height="240" /></a> <a href="http://www.juergentreml.de/wp-content/uploads/2010/04/findapps_20100704_150416.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="findapps_2010-07-04_150416" src="http://www.juergentreml.de/wp-content/uploads/2010/04/findapps_20100704_150416_thumb.png" border="0" alt="findapps_2010-07-04_150416" width="160" height="240" /></a></li>
<li>Tap <em>Install Updates</em> and wait for your device to download and install the new version.<br />
<a href="http://www.juergentreml.de/wp-content/uploads/2010/04/findapps_20100704_150423.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="findapps_2010-07-04_150423" src="http://www.juergentreml.de/wp-content/uploads/2010/04/findapps_20100704_150423_thumb.png" border="0" alt="findapps_2010-07-04_150423" width="160" height="240" /></a> <a href="http://www.juergentreml.de/wp-content/uploads/2010/04/findapps_20100704_150432.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="findapps_2010-07-04_150432" src="http://www.juergentreml.de/wp-content/uploads/2010/04/findapps_20100704_150432_thumb.png" border="0" alt="findapps_2010-07-04_150432" width="160" height="240" /></a></li>
<li>Congrats! You now have the full and latest version of an app installed on your device that is not available officially via the App Catalog in your country. You can now launch and use the app.<br />
<a href="http://www.juergentreml.de/wp-content/uploads/2010/04/lemonde_20100704_150453.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="lemonde_2010-07-04_150453" src="http://www.juergentreml.de/wp-content/uploads/2010/04/lemonde_20100704_150453_thumb.png" border="0" alt="lemonde_2010-07-04_150453" width="160" height="240" /></a><br />
In your launcher you may still see the old dummy icon for this app. The real icon will show up once you’ve restarted your phone.<br />
<a href="http://www.juergentreml.de/wp-content/uploads/2010/04/preware_20100704_1503391.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="preware_2010-07-04_150339" src="http://www.juergentreml.de/wp-content/uploads/2010/04/preware_20100704_150339_thumb1.png" border="0" alt="preware_2010-07-04_150339" width="160" height="240" /></a> <a href="http://www.juergentreml.de/wp-content/uploads/2010/04/Unknown_20100704_151243.png" rel="lightbox[1056]"><img style="display: inline; border-width: 0px;" title="Unknown_2010-07-04_151243" src="http://www.juergentreml.de/wp-content/uploads/2010/04/Unknown_20100704_151243_thumb.png" border="0" alt="Unknown_2010-07-04_151243" width="160" height="240" /></a></li>
</ol>
<p>I’ve successfully tried this procedure with a dozen apps. It works only for FREE apps though. For paid apps, Palm is unfortunately / thankfully doing additional checks, so that you can’t just inject a dummy package to get a free update to the actual app <img src="http://www.juergentreml.de/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>
<p>&nbsp;</p>
<p>One last thing: Since I’ve already done this procedure for quite a few apps, you can download my dummy app packages below and just install them to your device using <a href="http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-02-a.html" class="broken_link">WebOS Quick Install</a>. This way you can skip the text file editing and command line packaging / installing and directly head to the App Catalog update page to get these apps.</p>
<ul>
<li>
<div><a href="http://www.juergentreml.de/wp-content/uploads/com.accuradio.player_1.0.0_all.ipk">AccuRadio</a></div>
</li>
<li>
<div><a href="http://www.juergentreml.de/wp-content/uploads/com.backelite.20minutes_0.0.1_all.ipk">20minutes.fr</a></div>
</li>
<li>
<div><a href="http://www.juergentreml.de/wp-content/uploads/com.backelite.lemonde_0.0.1_all.ipk">Lemonde.fr</a></div>
</li>
<li>
<div><a href="http://www.juergentreml.de/wp-content/uploads/com.sachersoft.wordwhirllite_0.9.3_all.ipk">Word Whirl Lite</a></div>
</li>
<li>
<div><a href="http://www.juergentreml.de/wp-content/uploads/com.sfr.sfrwifi_0.0.1_all.ipk">SFR WiFi</a></div>
</li>
<li>
<div><a href="http://www.juergentreml.de/wp-content/uploads/net.net2streams.lite_0.0.1_all.ipk">Net2Streams Lite</a></div>
</li>
<li>
<div><a href="http://www.juergentreml.de/wp-content/uploads/com.yellowpages.ypmobile_0.0.1_all.ipk">YPmobile</a></div>
</li>
</ul>
<p>Enjoy!</p>
<p>&nbsp;</p>
<p><a name="auto"><span style="color: #ff0000;"><strong>UPDATE</strong></span></a><span style="color: #ff0000;"> </span></p>
<p><span style="color: #ff0000;">As </span><a href="http://forums.precentral.net/members/jason-robitaille.html" class="broken_link">Jason Robitaille</a><span style="color: #ff0000;"> points out </span><a href="http://forums.precentral.net/webos-apps-software/240593-circumvent-region-filtering-install-apps-not-available-your-country.html#post2366555" class="broken_link">here</a><span style="color: #ff0000;">, his </span><a href="http://forums.precentral.net/canuck-software/237326-ipk-packager.html" class="broken_link">Ipk Packager</a><span style="color: #ff0000;"> tool may be more comfortable for creating dummy app packages than your regular text editor. <strong>Also, </strong></span><a href="http://www.nexave.de/forum/index.php?page=User&amp;userID=9386">Blacklight</a><span style="color: #ff0000;"><strong> </strong></span><span style="color: #ff0000;"><strong> was kind enough to update his </strong></span><a href="http://www.nexave.de/forum/38947-ipk-fetcher-2.html">Ipk Fetcher</a><span style="color: #ff0000;"><strong> </strong></span><span style="color: #ff0000;"><strong> tool to completely automate the above method. Presented with a list of available apps, just select the one you want and hit ‘Generate IPK’ and it‘s done.</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergentreml.de/archives/1056/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>QR deCODEr for Palm webOS now available</title>
		<link>http://www.juergentreml.de/archives/974</link>
		<comments>http://www.juergentreml.de/archives/974#comments</comments>
		<pubDate>Tue, 19 Jan 2010 12:30:34 +0000</pubDate>
		<dc:creator><![CDATA[Jürgen]]></dc:creator>
				<category><![CDATA[Computer & Devices]]></category>
		<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[Barcode]]></category>
		<category><![CDATA[Decoder]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Palm]]></category>
		<category><![CDATA[Palm Pixi]]></category>
		<category><![CDATA[Palm Pre]]></category>
		<category><![CDATA[QR Code]]></category>
		<category><![CDATA[WebOS]]></category>

		<guid isPermaLink="false">http://www.juergentreml.de/archives/974</guid>
		<description><![CDATA[Here we go! My first webOS app for the Palm Pre &#38; Pixi is online. It’s [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.juergentreml.de/programming/webos/qrdecoder"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="PalmPre_FrontClosedCalendar.tif2_" border="0" alt="PalmPre_FrontClosedCalendar.tif2_" align="right" src="http://www.juergentreml.de/wp-content/uploads/2010/01/PalmPre_FrontClosedCalendar.tif2_1.png" width="141" height="240" /></a> Here we go! My first webOS app for the <a href="http://www.palm.com">Palm</a> Pre &amp; Pixi is online. It’s a simple application for decoding so called QR Codes (special type of 2D barcode). Once decoding is done, results are nicely displayed on your phone and you can follow any link, dial any phone number or send a text message contained in the bar code by just tapping the according link, icon or phone number.</p>
<p>Click <a href="http://www.juergentreml.de/programming/webos/qrdecoder">here</a> to go to the apps web site and make sure your read the short manual <a href="http://www.juergentreml.de/programming/webos/qrdecoder/qrdecoder-help">here</a> which explains the types of barcodes supported and how to use the application.</p>
<p>The app is currently available via Palm’s web distribution program <a href="http://developer.palm.com/appredirect/?packageid=de.juergentreml.preqr-web" class="broken_link">here</a> while awaiting approval for the on-device app catalog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergentreml.de/archives/974/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
