You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pokki Development
I started to hack together a weather pokki this morning, and I ran
into an interesting situation. Basically, I want the pokki to poll a
weather web service and update the badge with the current temperature
at a given interval. I was going to have the background JS handle this
task by getting the latitude and longitude of the user's location via
navigator.geolocation.getCurrentPosition(). Then pass this off to the
web service. However, the user must grant permission to the browser
(pokki platform) in order to retrieve the location. Does OpenCandy
have any plans to deviate from the W3C model and allow for
"unauthorized" location look ups?
PS - I know the navigator.geolocation.getCurrentPosition() is working
because I can catch a timeout error.
Jason Strimpel
unread,
Apr 4, 2011, 12:16:06 PM4/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pokki-de...@googlegroups.com
Thanks. That works and makes perfect sense.
On Mon, Apr 4, 2011 at 9:00 AM, Ernestas Stankevičius <bad.f...@gmail.com> wrote: