• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Gyroscope problem with iPhone/iPod Touch 4th Generation with iOS 6

Explorer ,
Nov 06, 2012 Nov 06, 2012

Copy link to clipboard

Copied

We have built an app using AIR 3.4 SDK and are facing issues only with this device configuration - iPhone/iPod Touch 4th Generation with iOS 6

Has anyone had similar issues. For Gyroscope data, we're using this native extension - http://www.ketzler.de/2011/11/adobe-air-gyroscope-native-extension-with-euler-angles-roll-pitch-yaw-...

Any help is appreciated.

Thank you.

TOPICS
Development

Views

2.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Apr 23, 2013 Apr 23, 2013

Yes, the problem is that the Gyroscope consumes a lot of CPU if the update interval is set to a low value.

We've managed to resolve this recently by using the Gyroscope extension by Distriqt - http://distriqt.com/native-extensions#gyroscope and setting the update interval to SENSOR_DELAY_NORMAL (http://extensions.distriqt.com/docs/gyroscope/docs/com/distriqt/extension/gyroscope/Gyroscope.html#SENSOR_DELAY_NORMAL).

Votes

Translate

Translate
Explorer ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

We've installed the AIR 3.5 SDK and still this problem persists.

In the release notes for the AIR 3.5 SDK, we see this fixed issue -

If auto orients=false and aspect ratio=landscape, App launches in landscape mode but stage launches in portrait mode, on packaging with iOS 6 SDK. (3317345)

We assume this was the problem with AIR 3.4.

However it doesn't seem to be fixed.

Any help regarding this issue is appreciated.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 09, 2012 Nov 09, 2012

Copy link to clipboard

Copied

Regarding the Orientaition issue, could you please confirm whether you are compiling the swf with correct version i.e 18.

Thanks,

Sakshi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 09, 2012 Nov 09, 2012

Copy link to clipboard

Copied

We have set the compiler argument

-swf-version=18

We don't have any issues with orientation ... however, we suspect that the Gyroscope data is being read as if its Portrait mode even though the app is running in Landscape mode.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 23, 2013 Apr 23, 2013

Copy link to clipboard

Copied

Did you ever come up with a sollution for this ? im facing a similar issue

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 23, 2013 Apr 23, 2013

Copy link to clipboard

Copied

LATEST

Yes, the problem is that the Gyroscope consumes a lot of CPU if the update interval is set to a low value.

We've managed to resolve this recently by using the Gyroscope extension by Distriqt - http://distriqt.com/native-extensions#gyroscope and setting the update interval to SENSOR_DELAY_NORMAL (http://extensions.distriqt.com/docs/gyroscope/docs/com/distriqt/extension/gyroscope/Gyroscope.html#S...).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 09, 2012 Nov 09, 2012

Copy link to clipboard

Copied

Can you be more elaborate on the issues you are facing, apart from the landscape/portrait mode issue?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 09, 2012 Nov 09, 2012

Copy link to clipboard

Copied

We have built an augmented reality style game.

The user moves the phone 360 degrees to find objects in the 3d space (we're not using stage3d). This movement is controlled with the gyroscope.

Here's the test results on different devices -

On an iPhone/iTouch 4 it works well with iOS 4.3, 5 & 5.1 etc. but on iOS 6 there is no movement with the Gyroscope.

However, on an iPhone4S with iOS 6.0 it works well.

These are the settings -

<aspectRatio>landscape</aspectRatio>

<fullScreen>true</fullScreen>

<renderMode>gpu</renderMode>

<autoOrients>false</autoOrients>

Please let us know if you need to know any further details.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 09, 2012 Nov 09, 2012

Copy link to clipboard

Copied

This is indeed strange. Can you please log a bug on http://bugbase.adobe.com, attaching sample resource files with minimal code which reproduces the bug?

Also, share the bug number on the forums.

Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines