<?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>PhoneGap</title>
	<atom:link href="http://www.phonegap.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phonegap.com</link>
	<description>Cross platform mobile framework</description>
	<lastBuildDate>Mon, 19 Jul 2010 10:00:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>It’s Easier Than Ever for Symbian Developers to Build Mobile Apps with PhoneGap</title>
		<link>http://www.phonegap.com/2010/07/19/it%e2%80%99s-easier-than-ever-for-symbian-developers-to-build-mobile-apps-with-phonegap/</link>
		<comments>http://www.phonegap.com/2010/07/19/it%e2%80%99s-easier-than-ever-for-symbian-developers-to-build-mobile-apps-with-phonegap/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 10:00:57 +0000</pubDate>
		<dc:creator>Andre Charland</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/07/19/it%e2%80%99s-easier-than-ever-for-symbian-developers-to-build-mobile-apps-with-phonegap/</guid>
		<description><![CDATA[Here at Nitobi we&#8217;re excited to be contributing PhoneGap to the Symbian Web Runtime. PhoneGap will now be included as part of the web extensions package in the Symbian^3 platform.
By contributing code that converts PhoneGap APIs to the Symbian WRT API, we&#8217;ve made it easier for Symbian developers to write applications using PhoneGap. You no [...]]]></description>
			<content:encoded><![CDATA[<p>Here at <a href="http://www.nitobi.com">Nitobi</a> we&#8217;re excited to be contributing <a href="http://www.phonegap.com">PhoneGap</a> to the Symbian Web Runtime. PhoneGap will now be included as part of the <a href="http://developer.symbian.org/main/source/packages/webextensions">web extensions package</a> in the Symbian^3 platform.</p>
<p>By contributing code that converts PhoneGap APIs to the Symbian WRT API, we&#8217;ve made it easier for Symbian developers to write applications using PhoneGap. You no longer need to include any extra code which, of course, makes deployment faster.</p>
<p>PhoneGap developers benefit by getting even better support for the Symbian WRT platform.</p>
<p>PhoneGap supports WRT 1.1 and implements these APIs: geolocation, accelerometer, camera, vibration, contacts, SMS, sounds, orientation change and storage. The network availability API is under development.</p>
<p>If you&#8217;re new to PhoneGap, it&#8217;s worth checking out. PhoneGap is an open source development framework for building cross-platform mobile apps that run on Symbian as well as iPhone/iTouch/iPad, Google Android, Palm and Blackberry. The PhoneGap open source code has been downloaded more than 250K times and there are thousands of PhoneGap apps in app stores and directories.</p>
<p><a href="http://blogs.nitobi.com/andre/index.php/2010/07/19/its-easier-than-ever-for-symbian-developers-to-build-mobile-apps-with-phonegap/"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/07/19/it%e2%80%99s-easier-than-ever-for-symbian-developers-to-build-mobile-apps-with-phonegap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhoneGap iAds Plugin</title>
		<link>http://www.phonegap.com/2010/07/12/phonegap-iads-plugin/</link>
		<comments>http://www.phonegap.com/2010/07/12/phonegap-iads-plugin/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 09:25:55 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/07/12/phonegap-iads-plugin/</guid>
		<description><![CDATA[Hey its a new plugin for PhoneGap. I call it the &#8220;PhoneGap AdPlugin&#8221;, and even though it only supports iAds currently, there is potential for supporting the other ad networks as a backup to iAds. Make sure you read the RELEASE NOTES in the README for limitations. Get the source and view the README Below are [...]]]></description>
			<content:encoded><![CDATA[<p>Hey its a new plugin for PhoneGap. I call it the &#8220;PhoneGap AdPlugin&#8221;, and even though it only supports iAds currently, there is potential for supporting the other ad networks as a backup to iAds. Make sure you read the RELEASE NOTES in the README for limitations.</p>
<p>Get the <a href="http://github.com/shazron/PhoneGap-Plugins/tree/master/AdPlugin/iPhone/">source</a> and view the <a href="http://github.com/shazron/PhoneGap-Plugins/blob/master/AdPlugin/iPhone/README.md">README</a></p>
<p>Below are screenshots from the test app included, called &#8216;iAdHost&#8217;</p>
<p><a href="http://blogs.nitobi.com/shazron/wp-content/uploads/2010/07/iadtop.jpg"><img class="alignleft size-full wp-image-138" style="border: 1px solid black;" title="iadtop" src="http://blogs.nitobi.com/shazron/wp-content/uploads/2010/07/iadtop.jpg" alt="" width="320" height="480" /></a><a href="http://blogs.nitobi.com/shazron/wp-content/uploads/2010/07/iadbottom.jpg"><img class="alignleft size-full wp-image-137" style="border: 1px solid black;" title="iadbottom" src="http://blogs.nitobi.com/shazron/wp-content/uploads/2010/07/iadbottom.jpg" alt="" width="320" height="480" /></a></p>
<p><br/><a href="http://blogs.nitobi.com/shazron/2010/07/12/phonegap-iads-plugin/"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/07/12/phonegap-iads-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Take Your PhoneGap Apps to the Next Level</title>
		<link>http://www.phonegap.com/2010/06/17/take-your-phonegap-apps-to-the-next-level/</link>
		<comments>http://www.phonegap.com/2010/06/17/take-your-phonegap-apps-to-the-next-level/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 22:19:38 +0000</pubDate>
		<dc:creator>Andre Charland</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/06/17/take-your-phonegap-apps-to-the-next-level/</guid>
		<description><![CDATA[Are you ready to up the ante for your PhoneGap apps?
Then don&#8217;t miss Advanced PhoneGap training online on July 8, 2010 from 10 am to 1 pm PT. During this online session, you&#8217;ll learn everything you need to know to build complex, cross platform mobile apps with advanced GUIs and functionality using the PhoneGap open [...]]]></description>
			<content:encoded><![CDATA[<p>Are you ready to up the ante for your PhoneGap apps?</p>
<p>Then don&#8217;t miss Advanced PhoneGap training online on July 8, 2010 from 10 am to 1 pm PT. During this online session, you&#8217;ll learn everything you need to know to build complex, cross platform mobile apps with advanced GUIs and functionality using the PhoneGap open source framework.</p>
<p>You&#8217;ll learn how to:</p>
<ul>
<li>Extend PhoneGap and work with plug-ins</li>
<li>Dive deep into mobile JavaScript to build complex apps</li>
<li>Work with XUI</li>
<li>Take your PhoneGap apps offline</li>
<li>Work with GitHub and contribute back to the PhoneGap project.</ul>
</li>
<p><strong>Advanced PhoneGap Training &#8211; Online</strong><br />
Thursday July 8, 10 am &#8211; 1 pm PT<br />
Cost: $99<br />
<a href="http://mobileappdevtraining9.eventbrite.com/">Register now</a></p>
<p>We hope you&#8217;ll join us for this informative session! Find out more about <a href="http://mobileappdevtraining9.eventbrite.com/">what you&#8217;ll learn</a> at Advanced PhoneGap training. </p>
<p><a href="http://blogs.nitobi.com/andre/index.php/2010/06/17/take-your-phonegap-apps-to-the-next-level/"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/06/17/take-your-phonegap-apps-to-the-next-level/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Not all cameras are equal</title>
		<link>http://www.phonegap.com/2010/06/09/not-all-cameras-are-equal/</link>
		<comments>http://www.phonegap.com/2010/06/09/not-all-cameras-are-equal/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 18:04:30 +0000</pubDate>
		<dc:creator>Joe B</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/06/09/not-all-cameras-are-equal/</guid>
		<description><![CDATA[Recently, the way we were creating a camera and using it broke.  I&#8217;m not sure why it broke, but I decided to say screw it and to use the Camera Intent in Android, because that&#8217;s what you&#8217;re supposed to do on Android anyway.  This is what most Twitter Applications use, and since Twitter [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, the way we were creating a camera and using it broke.  I&#8217;m not sure why it broke, but I decided to say screw it and to use the Camera Intent in Android, because that&#8217;s what you&#8217;re supposed to do on Android anyway.  This is what most Twitter Applications use, and since Twitter Apps are probably the most used application on Android, I figure if it&#8217;s good enough for them, it&#8217;s good enough for me&#8230;</p>
<p>Oh how wrong I was!!!</p>
<p>I added the new intent code, and I tested it on four phones.  I tested it on the HTC EVO 4G that I received from Google IO, the Nexus One, the Motorola Milestone with the official Telus Firmware (with camera), the HTC Dream with stock Android 1.6 and the Rogers HTC Magic with Android 1.5 and the 9/11 update.  Basically, everything worked but the Rogers HTC Magic.  The thing is that once you use intents, you are relying on the OEMs to write a good enough Android Camera Application for you to get a picture from.  This may be good for a Google blessed image, or a stable HTC phone like the EVO, but it&#8217;s clear that on certain phones from certain providers, that there may be some issues.</p>
<p>I&#8217;m certain that there&#8217;s phones in the wild that have broken cameras, and it&#8217;d be good to find out which phones have broken cameras.  If people could test on these phones (with Canadian carriers next to them), that would be greatly appreciated:</p>
<ul>
<li>HTC Hero (Telus)</li>
<li>LG EVE (Rogers)</li>
<li>Motorola DEXT (Bell)</li>
<li>Motorola Quench (Rogers)</li>
<li>Motorola Backflip (Telus)</li>
<li>Samsung Galaxy (Bell/Rogers)</li>
<li>Acer Liquid E (Rogers)</li>
<li>Xperia X10 (Rogers)</li>
</ul>
<p>Those are the phones that I know are in the wild in Canada.  I&#8217;m sure there&#8217;s more than this in other countries, namely in the United States, but this is a good cross-section  of devices from a handful of manufacturers who may have their own customized camera applications.  I&#8217;ve exempted test devices from this post, because I don&#8217;t think it&#8217;s fair to take a broken firmware and say &#8220;Hey, the Camera Doesn&#8217;t work!&#8221;.  However, the HTC Magic should work, and it&#8217;s disappointing that it doesn&#8217;t, since this breaks not only PhoneGap&#8217;s camera capability, but anything that uses that intent.  Hopefully in the future, Android cameras will be more reliable.</p>
<p><a href="http://blogs.nitobi.com/joe/2010/06/09/not-all-cameras-are-equal/"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/06/09/not-all-cameras-are-equal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting an iPhone PhoneGap app to a Palm PhoneGap app in 10 minutes</title>
		<link>http://www.phonegap.com/2010/05/31/converting-an-iphone-phonegap-app-to-a-palm-phonegap-app-in-10-minutes-2/</link>
		<comments>http://www.phonegap.com/2010/05/31/converting-an-iphone-phonegap-app-to-a-palm-phonegap-app-in-10-minutes-2/#comments</comments>
		<pubDate>Mon, 31 May 2010 19:51:40 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/05/31/converting-an-iphone-phonegap-app-to-a-palm-phonegap-app-in-10-minutes-2/</guid>
		<description><![CDATA[Last week I heard about Palm&#8217;s new hot app promotion. It is pretty much an incentive to developers to make palm apps, have them get ranked and get some easy money (find details here). I realized that a lot of PhoneGap developers seem to just develop for the iPhone and android and I wanted show [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I heard about Palm&#8217;s new hot app promotion. It is pretty much an incentive to developers to make palm apps, have them get ranked and get some easy money (find details<a href="http://palmhotapps.com/"> here</a>). I realized that a lot of PhoneGap developers seem to just develop for the iPhone and android and I wanted show how easy it is to convert that iPhone PhoneGap app to a palm PhoneGap app.</p>
<p>The app which I am converting is called Snow Reports. You can download the source from my github at <a href="http://github.com/stevengill/SnowReports">http://github.com/stevengill/SnowReports</a>. You will see that I already have a working version of the app for iPhone, android, and palm. I have made three screen casts walking through converting the iPhone version to the Palm version.</p>
<p></p>
<h3>Screen Cast!</h3>
<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/wWoJfQw79XI&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/wWoJfQw79XI&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="520" height="313"></embed></object></p>
<p></p>
<h3>Set Up</h3>
<p>Once you have followed the getting started guide for palm on the <a href="http://wiki.phonegap.com/Getting-Started-with-PhoneGap-Palm">phonegap wiki</a>, you should have your system setup and ready to make the palm version of this app. Make sure you download the latest version of phonegap-palm from github <a href="http://github.com/phonegap/phonegap-palm">here.</a> We want to copy over the contents from the www folder in the iphone repository into the phonegap-palm/framework/www folder.</p>
<p></p>
<h3>Changes I Made</h3>
<p>There were very few changes I had to make to get this working perfectly on the palm emulator. The ultimate goal of PhoneGap is to have the user never need to make changes to the source but the PhoneGap team hasn&#8217;t started focusing on rendering issues yet so until then we will have to make a few css tweaks.</p>
<p>For index.html, first thing that all Palm applications need is the mojo library.<br />
<code>&lt;script src="/usr/palm/frameworks/mojo/mojo.js" type="text/javascript" x-mojo-version="1" &gt;&lt;/script&gt;</code></p>
<p>You will also notice that in the meta viewport tag that height is set to 460px. This is set for the iPhone and takes into account header in the webview. With palm we can have varying heights of devices so I usually set this to device-height.<br />
<code>&lt;meta name = "viewport" content = "width = device-width, height = device-height"&gt;</code></p>
<p>For snowreport.css, some of the styles that looked good on the iPhone will not render over so good on the Palm emulator. Here are a the two styles I changed to make it look pretty:<br />
<code><br />
.header div, .footer div {<br />
height: 34px;<br />
padding-top: 8px;<br />
background-repeat: repeat-x;<br />
float: left;<br />
}<br />
</code><br />
<code><br />
.footer .mid-blue, .footer .mid-black  {<br />
padding: 8px 9px 0px;<br />
}<br />
</code></p>
<p></p>
<h3>Some Cleaning Up</h3>
<p>There are a few things left over to do before I can call this app complete:</p>
<ul>
<li> I want to copy Icon.png from the iphone/SnowReports to phonegap-palm/framework/www directory.</li>
<li> Then I want to change the id of my app. Open up appinfo.json file located in phonegap-palm/framework/www and edit the id. In my screencast I chose com.palm.snowreports. In reality you probably want to name this something different. If you leave it as com.palm.* it might not get accepted by the palm store due to them thinking you are trying trick the store into saying that palm made the app. The reason why it is set to that by default is because there is a bug in webOS that requires you to have com.palm if you want vibration in your apps. Palm is currently looking into this and will hopefully release a fix soon. Your best bet as a developer is not to include vibration for the moment and change this id to something unique.</li>
</ul>
<p>After you have changed the Id and have the emulator running, in the terminal you will need to do a make, palm-install com.palm.snowreports, and palm-launch com.palm.snowreports.</p>
<p>There you have it. That&#8217;s how simple it is to convert your iPhone PhoneGap app to a Palm PhoneGap app and ready to submit to the Palm webOS app store. Get to it developers!</p>
<p><a href="http://blogs.nitobi.com/steve/?p=23"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/05/31/converting-an-iphone-phonegap-app-to-a-palm-phonegap-app-in-10-minutes-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using PhoneGap across ALL ANDROID DEVICES</title>
		<link>http://www.phonegap.com/2010/05/31/using-phonegap-across-all-android-devices/</link>
		<comments>http://www.phonegap.com/2010/05/31/using-phonegap-across-all-android-devices/#comments</comments>
		<pubDate>Mon, 31 May 2010 19:27:20 +0000</pubDate>
		<dc:creator>Joe B</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/05/31/using-phonegap-across-all-android-devices/</guid>
		<description><![CDATA[This is my biggest pet-peeve to date.  We get a lot of people trying to use PhoneGap across all devices.  However, despite the work that people have done on droidgap, most people still use Eclipse as the primary way they develop with Android, because that&#8217;s what people read in the Wiki.
The problem is [...]]]></description>
			<content:encoded><![CDATA[<p>This is my biggest pet-peeve to date.  We get a lot of people trying to use PhoneGap across all devices.  However, despite the work that people have done on droidgap, most people still use Eclipse as the primary way they develop with Android, because that&#8217;s what people read in the Wiki.</p>
<p>The problem is that when you start developing for Eclipse, you notice that PhoneGap is set to the latest version of Android.  However, for some reason people want to change their target because they&#8217;re running an earlier version of Android.  Since they use Eclipse to deploy their app, they are misled to believe that if you write an APK, you must target only one version.</p>
<p>If we&#8217;re deploying multiple APKs, PhoneGap has FAILED to do the job it was meant to do.  If you have to change the target, there is something wrong!</p>
<p>Now, why do I say that, because I discovered this when using Eclipse:</p>
<ul>
<li>Automatic Selection of your running target is EVIL!</li>
<li>Manual Selection allows you to choose your APK</li>
</ul>
<p>The reason Automatic Selection is evil is because it will launch an Emulator and go for the highest level device it can go.  Not what you&#8217;re running, but whatever the highest device is.   This is the correct behaviour, but this does NOT help people who are looking to test it on their device.  This causes people to instinctively mess with PhoneGap and do bad things like change the target.  Here&#8217;s why you should NEVER have to change the target:</p>
<p><code style="xml"></p>
<p></code></p>
<p>This is the line from the AndroidManifest.xml.  This sets the Minimum SDK Version to 2, which is Android 1.5.  A while ago, we fixed the Android 1.5 issues by changing the conditional compatibility code to look for the SDK string.  We could probably do this better, and we&#8217;ll look into it in the coming weeks.  However, as it stands right now, this is how we do it, and it works.</p>
<p>The other thing that annoys me about eclipse that I&#8217;m sure causes people to change it is this:<br />
<a href="http://blogs.nitobi.com/joe/wp-content/uploads/2010/05/device_chooser1.png"><img src="http://blogs.nitobi.com/joe/wp-content/uploads/2010/05/device_chooser1.png" alt="" width="573" height="390" class="aligncenter size-full wp-image-217" /></a></p>
<p>This is the stupidest UX ever.  It should be a warning, not big red X, and this causes a LOT of headache and unnecessary gnashing of teeth.  If you click OK, it will actually run on the device.  As you see here, this is pointing to my Nexus One, which is still running Android 2.1-update1.  I&#8217;m currently building PhoneGap for Froyo, BUT it still runs, and it works fine.  This is actually how you can have one APK that runs on all devices.</p>
<p>I can see how someone wouldn&#8217;t want to support all Android devices, BUT given the fact that according to Google, <a href="http://d.android.com/resources/dashboard/platform-versions.html">Android 1.5 and 1.6 phones far outnumber the Android 2.x devices,</a> it makes sense to make one APK to rule them all.  The idea is to write once and deploy anywhere, and not write once and deploy to every single version of the platform.  If this doesn&#8217;t work for you, you&#8217;ve found a bug, and we would appreciate it if it was filed.  It&#8217;s important for PhoneGap to both run on Android 1.5 AND be able to take advantage of all the latest browser features, and the current approach we are using with the EDGE version allows us to do exactly that.</p>
<p>Fragmentation?  The only fragmentation on Android that we care about is the fragmentation between WebKit versions, but that&#8217;s another issue entirely.</p>
<p><a href="http://blogs.nitobi.com/joe/2010/05/31/using-phonegap-across-all-android-devices/"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/05/31/using-phonegap-across-all-android-devices/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML Select tag unsupported in Palm WebOS application framework</title>
		<link>http://www.phonegap.com/2010/05/26/html-select-tag-unsupported-in-palm-webos-application-framework/</link>
		<comments>http://www.phonegap.com/2010/05/26/html-select-tag-unsupported-in-palm-webos-application-framework/#comments</comments>
		<pubDate>Wed, 26 May 2010 00:10:19 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/05/26/html-select-tag-unsupported-in-palm-webos-application-framework/</guid>
		<description><![CDATA[A recent blog post by Steve at http://globalconstant.scnay.com/ revealed that HTML Select elements were not working in PhoneGap Palm &#8230; and after a quick test it appears that they&#8217;re not supported by WebOS at all. I scoured the internets trying to find this documented or discussed, and all I found was someone else mentioning it [...]]]></description>
			<content:encoded><![CDATA[<p>A recent blog post by Steve at http://globalconstant.scnay.com/ revealed that HTML Select elements were not working in PhoneGap Palm &#8230; and after a quick test it appears that they&#8217;re not supported by WebOS at all. I scoured the internets trying to find this documented or discussed, and all I found was someone else <a href="http://developer.palm.com/distribution/viewtopic.php?f=11&amp;t=1819&amp;p=6496">mentioning it in the Palm Developer Center</a>. This is quite surprising and a bit frustrating to know that such a basic HTML element is unsupported, and really messes with the cross-platform support of PhoneGap. It also gets me wondering what other HTML tags are unsupported.</p>
<p>The select element is rendered (though it is ugly, supporting the theory that  this element is unsupported by webOS), but cannot be interacted with. I&#8217;m guessing that the custom Tap events used by Mojo are unimplemented on it.</p>
<p>Ideal world solution: Palm fixes this and gets it out in an upcoming release.</p>
<p>Real world solution: I start experimenting with ways to fix this. Would love to hear from the community on suggestions &#8230; but really the solution that comes to mind is that PhoneGap, during initialization, finds all the html select elements and replaces them with Mojo List Selector elements. Even at first thought, I see some hurdles:</p>
<p>- we will have to copy over all of the style and class attributes &#8230; but these may have an unexpected effect on the look of the widget, since the Mojo List Selector consists of html elements with internal Mojo css classes.</p>
<p>- we will have to implement the standard javascript events, if they are not already available, such as onchange, onfocus, etc.</p>
<p>So I hope to get some time to experiment with this soon, and see if I can sort it out. And hopefully not find out that there is a list of html tags unsupported by webOS.</p>
<p>PS &#8212; Suggestions appreciated!</p>
<p><a href="http://blogs.nitobi.com/ryan/index.php/2010/05/25/html-select-tag-unsupported-in-palm-webos-application-framework/"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/05/26/html-select-tag-unsupported-in-palm-webos-application-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on PhoneGap Symbian &amp; PhoneGap Palm</title>
		<link>http://www.phonegap.com/2010/05/21/update-on-phonegap-symbian-phonegap-palm-46/</link>
		<comments>http://www.phonegap.com/2010/05/21/update-on-phonegap-symbian-phonegap-palm-46/#comments</comments>
		<pubDate>Fri, 21 May 2010 19:11:47 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/05/21/update-on-phonegap-symbian-phonegap-palm-46/</guid>
		<description><![CDATA[I&#8217;ve been a bit inactive on PhoneGap recently, as we&#8217;ve had some client projects on the go. Need those $$ to keep the open-source projects rollin. But since its been a while, I wanted to give at least a status update on the PhoneGap platforms that I maintain.
There have been some updates to the PhoneGap [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a bit inactive on PhoneGap recently, as we&#8217;ve had some client projects on the go. Need those $$ to keep the open-source projects rollin. But since its been a while, I wanted to give at least a status update on the PhoneGap platforms that I maintain.</p>
<p>There have been some updates to the PhoneGap Mobile Spec, so I&#8217;ve re-run them on WebOS and Symbian (see below).</p>
<p><a href='http://blogs.nitobi.com/ryan/index.php/2010/05/21/update-on-phonegap-symbian-phonegap-palm/mobspec-palm/' title='mobspec-palm'><img width="81" height="150" src="http://blogs.nitobi.com/ryan/wp-content/uploads/2010/05/mobspec-palm.png" class="attachment-thumbnail" alt="PhoneGap mobile spec results on Palm Pre" title="mobspec-palm" /></a><br />
<a href='http://blogs.nitobi.com/ryan/index.php/2010/05/21/update-on-phonegap-symbian-phonegap-palm/mobspec-symbian/' title='mobspec-symbian'><img width="91" height="150" src="http://blogs.nitobi.com/ryan/wp-content/uploads/2010/05/mobspec-symbian.png" class="attachment-thumbnail" alt="PhoneGap mobile spec results on Nokia 5800 XpressMusic" title="mobspec-symbian" /></a></p>
<p>96 / 100 on Palm:</p>
<p>Contacts fails, as a full device contacts  api is not available to us in WebOS (discussed in an earlier post); some  of the device info tests fail, as we can only provide device properties  that are provided to us by the device (not much we can do here);  Network.isReachable fails, I believe because this spec has been updated  to return a network status &#8216;code&#8217;, rather than the previous return value  of just &#8216;true&#8217; or &#8216;false&#8217;. I&#8217;m going to fix up the Network api,  hopefully today &#8230; but we&#8217;re looking pretty good on Palm. And Palm  devices are really nice, and very quick and easy to deploy to. I highly  recommend trying it out, even in their emulator (also really nice).</p>
<p>81  / 98 on Symbian Web Runtime:</p>
<p>HTML 5 Storage fails: not available  in WRT, and can&#8217;t really implement SQLite in javascript <img src='http://blogs.nitobi.com/ryan/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ; Network  reachability fails, as WRT provides no API for this (however I&#8217;m going  to revisit this as I figure their should be a way to do this); File I/O  fails, as WRT does not provide access to the file system. Basically  after running these tests (and having them crash regularly, I think due  to running out of memory), I&#8217;m thinking more and more that PhoneGap  Symbian using Qt for Symbian is the way to go. WRT is a great tool, for  lightweight apps, but its performance is not good. Javascript animation  simply can&#8217;t be handled, and extensive sensor interaction will crash the  application. Initial tests on PhoneGap using Qt for Symbian were much  better. Not to say we should drop the WRT implementation overall, as it  does meet certain needs.</p>
<p><br/><a href="http://blogs.nitobi.com/ryan/index.php/2010/05/21/update-on-phonegap-symbian-phonegap-palm/"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/05/21/update-on-phonegap-symbian-phonegap-palm-46/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mobile-spec running on PhoneGap Android Froyo 2.2</title>
		<link>http://www.phonegap.com/2010/05/20/mobile-spec-running-on-phonegap-android-froyo-2-2/</link>
		<comments>http://www.phonegap.com/2010/05/20/mobile-spec-running-on-phonegap-android-froyo-2-2/#comments</comments>
		<pubDate>Thu, 20 May 2010 22:08:04 +0000</pubDate>
		<dc:creator>Anis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/05/20/mobile-spec-running-on-phonegap-android-froyo-2-2/</guid>
		<description><![CDATA[Lots of new features have been added to Android Froyo 2.2. Among the most exciting ones are: Better speed with the inclusion of the V8 Javascript engine, JIT compiler as well as a new set of backup/storage and cloud messaging APIs.
I wanted to see how PhoneGap would work on Froyo so I ran mobile-spec on [...]]]></description>
			<content:encoded><![CDATA[<p>Lots of new features have been added to Android Froyo 2.2. Among the most exciting ones are: Better speed with the inclusion of the V8 Javascript engine, JIT compiler as well as a new set of backup/storage and cloud messaging APIs.</p>
<p>I wanted to see how PhoneGap would work on Froyo so I ran mobile-spec on it and below are the results.</p>
<p><a href="http://blogs.nitobi.com/anis/wp-content/uploads/2010/05/1.tiff"><img src="http://blogs.nitobi.com/anis/wp-content/uploads/2010/05/4.tiff" alt="Android Part 1" class="alignnone size-full wp-image-55" /></a><br />
<a href="http://blogs.nitobi.com/anis/wp-content/uploads/2010/05/2.tiff"><img src="http://blogs.nitobi.com/anis/wp-content/uploads/2010/05/4.tiff" alt="Android Part 2" class="alignnone size-full wp-image-55" /></a><br />
<a href="http://blogs.nitobi.com/anis/wp-content/uploads/2010/05/3.tiff"><img src="http://blogs.nitobi.com/anis/wp-content/uploads/2010/05/4.tiff" alt="Android Part 3" class="alignnone size-full wp-image-55" /></a><br />
<a href="http://blogs.nitobi.com/anis/wp-content/uploads/2010/05/4.tiff"><img src="http://blogs.nitobi.com/anis/wp-content/uploads/2010/05/4.tiff" alt="Android Part 4" class="alignnone size-full wp-image-55" /></a></p>
<p>As you can see it runs the same as on Android 2.1 and previous ! Some tests fail but there not relevant to the Android Platform (orientation etc&#8230;)</p>
<p><a href="http://blogs.nitobi.com/anis/?p=51"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/05/20/mobile-spec-running-on-phonegap-android-froyo-2-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Canvas + Accelerometer on Android</title>
		<link>http://www.phonegap.com/2010/04/27/canvas-accelerometer-on-android/</link>
		<comments>http://www.phonegap.com/2010/04/27/canvas-accelerometer-on-android/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 20:34:17 +0000</pubDate>
		<dc:creator>Joe B</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.phonegap.com/2010/04/27/canvas-accelerometer-on-android/</guid>
		<description><![CDATA[Over the past month, I was working from home, and when I wasn&#8217;t busy wiping spit-up from my kid&#8217;s face, I was working on various stuff, including a new Android PhoneGap demo to replace the one that I took off the Android market.  The problem with these demos is that they do not stand [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past month, I was working from home, and when I wasn&#8217;t busy wiping spit-up from my kid&#8217;s face, I was working on various stuff, including a new Android PhoneGap demo to replace the one that I took off the Android market.  The problem with these demos is that they do not stand the test of time.  However, this one should.  After playing with C5Bench a couple months ago, I decided to do a quick hack of the Canvas.  After many bug fixes to PhoneGap Android later, I finally managed to put together this simple example:</p>
<p><a href="http://blogs.nitobi.com/joe/wp-content/uploads/2010/04/phone_gap_screen.png"><img src="http://blogs.nitobi.com/joe/wp-content/uploads/2010/04/phone_gap_screen.png" alt="" width="320" class="alignleft size-full wp-image-205" /></a></p>
<p>Now, of course, this is an early version, and the code has been thrown together very quickly, and there are bugs, which is why I haven&#8217;t posted it in the market, but you can download and try out the application <a href="http://blogs.nitobi.com/joe/AccelDemo.apk">here</a>, or scan in the QR code below.</p>
<p><a href="http://blogs.nitobi.com/joe/wp-content/uploads/2010/04/accel_demo_qr.png"><img src="http://blogs.nitobi.com/joe/wp-content/uploads/2010/04/accel_demo_qr.png" alt="" width="120" height="120" class="alignnone size-full wp-image-208" /></a></p>
<p>This code is based on a few examples that I found on the web of good Canvas Tutorials, namely the <a href="http://billmill.org/static/canvastutorial/">Breakout Clone tutorial</a> by Bill Mill.  It&#8217;s a pretty solid tutorial and shows how to effects like bounce fairly effectively.  Of course, I didn&#8217;t add bounce, because I wanted more of a sliding bubble effect.  I also decided to NOT use the jQuery framework to keep the javascript code as small as possible.  (In fact, I didn&#8217;t even use XUI, since I didn&#8217;t see the need).</p>
<p>That being said, I&#8217;m definitely going to have to work on my own JS library at some point that maintains complex objects, since redrawing functions can quickly become large and cumbersome, even when using a JS library, which is better suited to the DOM and not pixel-manipulation.</p>
<p>So, basically you move around two objects which are directly related to each other on a screen with the accelerometer, and the method that we use is below:</p>
<p><code><br />
var watchAccel = function()<br />
{<br />
  var canvas = document.getElementById("canvas");<br />
  canvas.width = document.body.clientWidth;<br />
  canvas.height = document.body.clientHeight - 100;<br />
  ctx = canvas.getContext("2d");<br />
  var succ = function(a){<br />
    updateValues(a);<br />
    updateDraw(a);<br />
  };<br />
  var fail = function(){};<br />
  var opt = {};<br />
  opt.frequency = 100;<br />
  timer = navigator.accelerometer.watchAcceleration(succ, fail, opt);<br />
}<br />
</code></p>
<p>Now, what&#8217;s interesting is how the frequency is handled.  Currently, we use the setInterval to do this, exactly like the iPhone.  However, this actually kinda sucks, and we may in the future move more of this into the Java land, similar to how we manage the Geolocation code that we use.  However, this is good enough to create the sliding bubble effect of the application.  I hope to have the final version of the app up and working before Google IO, however I&#8217;ll probably post it up to GitHub this week, feel free to try and and let me know if there&#8217;s serious issues.</p>
<p><a href="http://blogs.nitobi.com/joe/2010/04/27/canvas-accelerometer-on-android/"> › Visit the original post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phonegap.com/2010/04/27/canvas-accelerometer-on-android/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
