Skip to main content
Participant
October 19, 2012
Question

Geoposition.event.heading always return null value on IOS6/AIR34

  • October 19, 2012
  • 2 replies
  • 542 views

I'm building an ios app with Flash CS6 / AIR3.4.

(...)

        private function geoUpdated(e:GeolocationEvent):void {

            latitudeField.text = e.latitude.toString();

            longitudeField.text = e.longitude.toString();

            altitudeField.text = e.altitude.toString();

            hAccuracyField.text = e.horizontalAccuracy.toString();

            vAccuracyField.text = e.verticalAccuracy.toString();

            timestampField.text = e.timestamp.toString();

            headingField.text = e.heading.toString();

        }

(../...)

When I use it on my iPodTouch device with IOS6, the value of e.heading is always a null (the other values of geoposition are correct).

I'm using Flash CS6 and AIR 3.4

Could you help me?

Thanks

This topic has been closed for replies.

2 replies

October 22, 2012

Hi David,


Could you please try packaging your app with the latest 3.4 build or labs 3.5 build( http://labs.adobe.com/technologies/flashplatformruntimes/air3-5/ ) , issue is fixed there.

Thanks,

Ankit

Participant
October 22, 2012

Hi Ankit,

Thanks for your answer.

I've downloaded and installed the 3.5 SDK. In Flash Professional, I've packaged the new app selecting the AIR 3.5.0.460 option from the combo-list... but the issue continues: the e.heading value is null (NaN) in my ios6 device.

Do I need to setup any other thing?

Thanks