Quick Question

0 views
Skip to first unread message

Bryan A

unread,
Mar 7, 2009, 9:04:26 PM3/7/09
to phonegap
Ok, so I have a webapp that phonegap works great with. How would I go
about getting the UUID and other phonegap/API data on a remote page?
Or even better how could I just include the UUID/platform/version
within parameters in the callback url?

Either way will work and I thank all of you for your hard work that
you have put into phonegap.

Thanks,
Bryan

Brian LeRoux

unread,
Mar 8, 2009, 1:38:03 PM3/8/09
to phon...@googlegroups.com
XmlHttpRequest from an 'offline' shell app can communicate to a
server. Otherwise, include the phonegap.js file on your remote website
and if the phonegaps api's are available then you can call w/ native
js on the serverside and use (again) XmlHttpRequest.

Brock Whitten

unread,
Mar 8, 2009, 2:12:36 PM3/8/09
to phon...@googlegroups.com
With the new API (post 0.6.x) you get UUID for free. no phonegap.js file necessary. just call...

Device.uuid

see the sample index.html page in the www directory.
Reply all
Reply to author
Forward
0 new messages