Sie sind nicht angemeldet.

1

Sonntag, 16. März 2014, 11:11

[resolved]Is there a way to enable the gyroscope function only on iPhone but disable it on android mobile phone?

Hi All,

I am testing the gyroscope function on mobile devices, as we know it is very jittering on some android mobile phones, so we want to close the gyroscope function on android mobile devices, only enable it on iOS devices such as iPhone, iPad. I change the code devices="HTML5" to devices="iOS", but it still working on android when it is viewing in html5 viewer. Is there something I miss? Please help me if you encounter the same problem and work a way around. Thanks very much.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Jasonliu« (16. März 2014, 11:31)


2

Sonntag, 16. März 2014, 11:31

Hi All,

I am testing the gyroscope function on mobile devices, as we know it is very jittering on some android mobile phones, so we want to close the gyroscope function on android mobile devices, only enable it on iOS devices such as iPhone, iPad. I change the code devices="HTML5" to devices="iOS", but it still working on android when it is viewing in html5 viewer. Is there something I miss? Please help me if you encounter the same problem and work a way around. Thanks very much.
I got it, the code devices="iPhone" will disable the function on android devices in html5 viewer.

3

Dienstag, 18. März 2014, 14:07

Hi,

devices="iOS" would also exclude Android.
Maybe there was just a caching issue.

Best regards,
Klaus