13
A
回答
20
您可以從Microsoft.Devices.Environment.DeviceType
6
if (System.Environment.DeviceType == DeviceType.Emulator)
{
}
希望幫助
+0
這似乎在芒果和其他起作用。 – 2011-07-29 05:51:45
4
得到這對於WP 7.5芒果SDK,它已經移動到命名空間Microsoft.Devices
if (Microsoft.Devices.Environment.DeviceType == DeviceType.Emulator)
{
//Do Stuff
}
相關問題
- 1. 在仿真器上仿真運動API
- 2. wp7 xna仿真器網格
- 3. 在WP7仿真器中測試位置
- 4. 是否可以在GA144上運行仿真的C代碼?
- 5. 是否可以在Amazon EC2實例中運行Windows Phone 7.1仿真器?
- 6. 讓仿真器運行
- 7. wp7中的虛擬仿真器IsolateStorage
- 8. 仿真器不在Xubuntu上運行12.04
- 9. 如何檢查應用程序是否真的在運行?
- 10. Visual Studio和WP7仿真器的調試器問題
- 11. 如何部署的Android應用程序,以仿真器像WP7
- 12. 是否可以像仿真器一樣顯示真實設備?
- 13. HAX不能正常使用仿真器在Windows仿真模式運行10
- 14. .NET Compact Framework - 檢測是否在仿真器下?
- 15. DocumentDB仿真器REST API
- 16. .NET瀏覽器仿真API
- 17. 在modelsim中運行時序仿真í
- 18. 如何在真實手機而不是仿真器上運行應用程序。
- 19. Android應用程序未在仿真器上運行也不是真實設備
- 20. 運行設備仿真器3.0(WM6.5)
- 21. 運行時擦除仿真器數據
- 22. 從Android仿真器運行.apk文件
- 23. 我無法運行Android WXGA720仿真器
- 24. 運行3個Android仿真器 - 失敗
- 25. 運行仿真器時出現故障
- 26. Mac - Android運行Intel版仿真器
- 27. 檢查是否在X Window中運行
- 28. 是否可以使用Microsoft Azure來運行Access VBA仿真模型?
- 29. 在OSX仿真器上未調用onFling?
- 30. 在仿真器中運行應用程序?
if(Microsoft.Devices.Environment.DeviceType == Microsoft.Devices.DeviceType.Emulator) – BrokeMyLegBiking 2010-11-25 04:40:52