-
Website
http://britg.com -
Original page
http://britg.com/2008/08/22/extending-phonegap-to-return-the-iphones-unique-identifier/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
jogging double stroller
2 comments · 1 points
-
Web Design Lexington
2 comments · 3 points
-
traviscooper
1 comment · 2 points
-
Ed Kohler
2 comments · 4 points
-
sex toys
1 comment · 1 points
-
-
Popular Threads
-
On Stack Overflow Careers
2 weeks ago · 2 comments
-
Breakfast Naanwiches
3 weeks ago · 1 comment
-
On Stack Overflow Careers
If you can pastie your javascript code, maybe I can weed out the issue.
*************
var Device = {
available: false,
model: "",
version: "",
isIPhone: null,
isIPod: null,
init: function(model, version) {
try {
Device.available = __gap;
Device.model = __gap_device_model;
Device.version = __gap_device_version;
Device.gapVersion = __gap_version;
Device.uniqueIdentifier = __gap_device_uniqueid;
} catch(e) {
alert("GAP is not supported!")
}
},
*************
and in my page i have :
*************
window.onload = function()
{
Device.init();
$('infomodel').innerHTML = Device.model;
$('infoversion').innerHTML = Device.version;
$('infouniqueid').innerHTML = Device.uniqueIdentifier;
Device.Location.callback = updateLocationCallback;
Device.Image.callback = 'image.lasso?data=';
}
....
*************
and ipod touches. I can't find a case in my limited searching where the
first gen iphones done return a unique Identifier, but I don't have one
myself.
Maybe you need to explain this to Sintaxi, so he can build it in in the next master.
L.
problems you're running into as I didn't see those. If you can pastebin
your code somewhere I will try to find some time to look at it in the next
couple days.
solution here:
http://britg.com/2008/08/23/fixing-the-keyboard...
Hope that helps!