问题描述
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 atprogramming in the first place, I heard the phone also told that the HWdoes not support the gyroscope sensor.
Samsung 'Focus' does not support thegyroscope sensor?
답변
推荐答案
这篇关于三星“焦点"不支持陀螺仪传感器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!