三星“焦点"不支持陀螺仪传感器? [英] Samsung 'Focus' does not support the gyroscope sensor?

查看:126
本文介绍了三星“焦点"不支持陀螺仪传感器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I 尝试使用 Windows Phone 陀螺仪传感器 .
注意 我的手机 ,三星 ' 焦点 ' .

if ( 陀螺仪.受支持 )
{
g =新陀螺仪();
g.TimeBetweenUpdates = TimeSpan.FromMilliseconds(20);
g.CurrentValueChanged + =新的EventHandler< SensorReadingEventArgs< GyroscopeReading>> (g_CurrentValueChanged);
               ;

}

else statusTextBlock.Text =不支持陀螺仪";

编程 .
我就是 ' 陀螺仪.受支持 = false ' 费用

浏览Internet, 我以为你是 不擅长 编程 in 第一 地点 听说 the 手机 告诉了 Hw 不支持 陀螺仪传感器 .

三星 焦点" 不支持 陀螺仪传感器 ?


답변

I try to use the Windows Phone gyroscope sensor.
Note to my phone, Samsung 'Focus'.

if (Gyroscope.IsSupported)
{
g = new Gyroscope ();
g.TimeBetweenUpdates = TimeSpan.FromMilliseconds (20);
g.CurrentValueChanged + = new EventHandler <SensorReadingEventArgs <GyroscopeReading>> (g_CurrentValueChanged);
                g.Start ();
}

else statusTextBlock.Text = "gyroscope not supported";

This programming.
I just 'Gyroscope.IsSupported = false' costs

Browse the Internet, I thought you were not good at programming in the first place, I heard the phone also told that the HW does not support the gyroscope sensor.

Samsung 'Focus' does not support the gyroscope sensor?


답변

推荐答案

是正确的. Samsung Focus没有陀螺仪.三星Focus是2010年推出的最早的Windows Phone之一,但它们都没有陀螺仪硬件. WP SDK 7.0也不支持陀螺仪(直到Mango 7.1才支持).
That's correct. Samsung Focus does not have a gyroscope. Samsung Focus was one of the original Windows Phone launched in 2010, and none of them had gyroscope hardware. WP SDK 7.0 also didn't support gyroscope (not until Mango 7.1).


这篇关于三星“焦点"不支持陀螺仪传感器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆