Support on windows phone
See original GitHub issueHi, I seam to get no calls to the start call back on my windows phone. This is odd because the device api works as it should without any normalisation on that phone. I am using the following code
var args = {
frequency: 50, // ( How often the object sends the values - milliseconds )
gravityNormalized:true, // ( If the garvity related values to be normalized )
orientationBase:GyroNorm.WORLD, // ( Can be GyroNorm.GAME or GyroNorm.WORLD. gn.GAME returns orientation values with respect to the head direction of the device. gn.WORLD returns the orientation values with respect to the actual north direction of the world. )
decimalCount:0, // ( How many digits after the decimal point will there be in the return values )
logger:null, // ( Function to be called to log messages from gyronorm.js )
screenAdjusted:true // ( If set to true it will return screen adjusted values. )
}
var gn = new GyroNorm();
gn.init(args).then(function(){
gn.start(function(data){
document.querySelector('#heading').innerHTML = data.do.alpha
document.querySelector('#beta').innerHTML = data.do.beta
document.querySelector('#gamma').innerHTML = data.do.gamma
});
});
The same page works correctly on an android device and an iphone that I have tested it on
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Windows 10 Mobile End of Support: FAQ
With the Windows 10 Mobile OS end of support, we recommend that customers move to a supported Android or iOS device. Microsoft's mission...
Read more >Windows Phone 8.1 End of Support: FAQ
Yes. Your Windows Phone 8.1 device should continue to work after July 11, 2017, but there will be no updates after July 11,...
Read more >Global Customer Service phone numbers - Microsoft Support
North America / Central America / Caribbean ; British Virgin Islands (British Virgin Island). N/A +1. 1 866 993 9306 305 418 9136...
Read more >Windows 10 Mobile End of Support - Lifecycle - Microsoft Learn
Windows 10 Mobile, version 1709 (released October 2017) is the last release of Windows 10 Mobile and Microsoft will end support on December ......
Read more >Support options for Nokia, Lumia, and feature phone devices
How to reach customer support for help with your Nokia, Lumia, and feature phone devices.devices.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@karneaud which other methods are you using?
@dorukeker I have to admit. I had moved on from your framework and went with gyro.js But I think there was some errors concerning how you retrieved the values.
Again. I had opted to use another framework.
I note though that in Windows 8.1 you are unable to retrieve alpha beta or gamma values.