Hey guys! Write a widget under the Samsung Bada. Need to determine the location.

The standard f-tion navigator.geolocation in the widget is not supported, while on the same phone in the browser everything is perfectly defined. There was an idea to open a window in the iframe widget, determine the location and transfer data to the parent window (widget).

Any ideas on how to transfer data from the iframe to the parent window?

    1 answer 1

    If you call the script from the iframe, then


    will send you to the document object of the parent page. If the opposite is read from the iframe


    UPD: And then, depending on your structure. You can write values ​​to the property of some of the created objects at the time of geolocation determination and read it from the widget as necessary.