Skip to main content
Participant
Oct 19, 2012 10:13 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Oct 22, 2012 6:44 AM UTC

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

Translate
Participant
Oct 22, 2012 8:01 AM UTC

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

Translate