<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>britg - Latest Comments in Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.disqus.com/</link><description></description><language>en</language><lastBuildDate>Mon, 01 Sep 2008 08:09:50 -0000</lastBuildDate><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1975568</link><description>Hey Sahil - yes actually I did get the problem fixed.  You can find my&lt;br&gt;solution here:&lt;br&gt;&lt;a href="http://britg.com/2008/08/23/fixing-the-keyboard-issue-on-the-current-version-of-phonegap/" rel="nofollow"&gt;http://britg.com/2008/08/23/fixing-the-keyboard...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hope that helps!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">britg</dc:creator><pubDate>Mon, 01 Sep 2008 08:09:50 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1973518</link><description>any luck with getting access to the keyboard through uiwebview?  I've been racking my brain trying to find a way.  the only thing I could think of was to (for my specific example),  create a stringByEvaluatingJavaScriptFromString message, where the javascript looks for a specific "id" on the page and then calls .focus() on it... I was hoping it would work, but no dice.  it seems although it gains focus, that isn't enough to tell the iphone to pull up the keyboard :S</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sahil</dc:creator><pubDate>Mon, 01 Sep 2008 03:30:04 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1928945</link><description>Yes, I will definitely suggest adding this in to the trunk - not sure what&lt;br&gt;problems you're running into as I didn't see those.  If you can pastebin&lt;br&gt;your code somewhere I will try to find some time to look at it in the next&lt;br&gt;couple days.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">britg</dc:creator><pubDate>Sat, 30 Aug 2008 12:25:09 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1928553</link><description>I tried implementing this again in the latest build ... but with no success. All other GAP functions do not react anymore ...&lt;br&gt;&lt;br&gt;Maybe you need to explain this to Sintaxi, so he can build it in in the next master.&lt;br&gt;&lt;br&gt;L.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lieven Gekiere</dc:creator><pubDate>Sat, 30 Aug 2008 11:40:25 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1866792</link><description>From everything I've read I assumed that the ID is available to all iphones&lt;br&gt;and ipod touches.  I can't find a case in my limited searching where the&lt;br&gt;first gen iphones done return a unique Identifier, but I don't have one&lt;br&gt;myself.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">britg</dc:creator><pubDate>Wed, 27 Aug 2008 08:21:05 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1866187</link><description>Could this be linked to the fact i'm using a 1st generation iPhone ? Is that not supported on them ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lieven Gekiere</dc:creator><pubDate>Wed, 27 Aug 2008 06:28:06 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1802704</link><description>Hmm, that all looks solid.  Here's a silly question - you've compiled and re-run the phonegap app in xcode, correct?   also, are you using your physical iphone or the simulator?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">britg</dc:creator><pubDate>Sun, 24 Aug 2008 13:56:26 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1795032</link><description>Here's the JS part&lt;br&gt;&lt;br&gt;&lt;br&gt;*************&lt;br&gt;var Device = {&lt;br&gt;&lt;br&gt;    available: false,&lt;br&gt;    model: "",&lt;br&gt;    version: "",&lt;br&gt;    isIPhone: null,&lt;br&gt;    isIPod: null,&lt;br&gt;    &lt;br&gt;    init: function(model, version) {&lt;br&gt;        try {&lt;br&gt;            Device.available = __gap;&lt;br&gt;            Device.model = __gap_device_model;&lt;br&gt;            Device.version = __gap_device_version;&lt;br&gt;            Device.gapVersion = __gap_version;&lt;br&gt;            Device.uniqueIdentifier = __gap_device_uniqueid;&lt;br&gt;        } catch(e) {&lt;br&gt;            alert("GAP is not supported!")&lt;br&gt;        } &lt;br&gt;    },&lt;br&gt;&lt;br&gt;*************&lt;br&gt;&lt;br&gt;and in my page i have :&lt;br&gt;&lt;br&gt;*************&lt;br&gt;	window.onload = function()&lt;br&gt;	{&lt;br&gt;		 Device.init();&lt;br&gt;		 $('infomodel').innerHTML = Device.model;&lt;br&gt;		 $('infoversion').innerHTML = Device.version;&lt;br&gt;		 $('infouniqueid').innerHTML = Device.uniqueIdentifier;&lt;br&gt;&lt;br&gt;		 Device.Location.callback = updateLocationCallback;&lt;br&gt;		 Device.Image.callback = 'image.lasso?data=';&lt;br&gt;	}&lt;br&gt;....&lt;br&gt;&lt;br&gt;*************</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lieven Gekiere</dc:creator><pubDate>Sun, 24 Aug 2008 05:34:07 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1779280</link><description>Hmm, when and where are you getting undefined?  i.e. what's the context?  Are you doing something like alert(Device.uniqueIdentifier) ?&lt;br&gt;&lt;br&gt;If you can pastie your javascript code, maybe I can weed out the issue.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">britg</dc:creator><pubDate>Sat, 23 Aug 2008 14:36:06 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1779224</link><description>I get an "undefined" after adding all this to my project ... any idea's ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lieven Gekiere</dc:creator><pubDate>Sat, 23 Aug 2008 14:30:21 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1734985</link><description>hey no problem!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">britg</dc:creator><pubDate>Fri, 22 Aug 2008 15:09:56 -0000</pubDate></item><item><title>Re: Extending PhoneGap to Return the iPhone&amp;#8217;s Unique Identifier</title><link>http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/#comment-1734946</link><description>awesome... and thanks for figuring out the keyboard issue!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zachallia</dc:creator><pubDate>Fri, 22 Aug 2008 15:06:31 -0000</pubDate></item></channel></rss>