在 Windows Mobile 6.1 上以编程方式控制屏幕亮度
我们有一部运行 Windows Mobile 6.1 的 HTC 手机。有没有办法以编程方式增加/减少该设备的屏幕亮度?
该应用程序是用 C# 开发的,因此 .NET 包装器会更好,但非托管 API 也可以接受。
另外,我们如何在特定应用程序运行时打开/关闭屏幕以节省电池?
We have an HTC handset running Windows Mobile 6.1. Is there a way to increase/decrease screen brightness for this device programmatically?
The application is being developed in C#, so a .NET wrapper would be preferable, but an unmanaged API would also be acceptable.
Also, how can we turn the screen on/off to save battery while a particular application is running?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用电源管理 API 更改背光设置。此外,WinMo 5 SDK 还附带一个名为 Power Manager 的示例应用程序,该应用程序演示了如何以编程方式更改背光状态。它是用 C 语言编写的,但移植起来非常简单。
You would use the power management APIs to change the backlight settings. Also the WinMo 5 SDKs ship with a sample application called Power Manager that demonstrates how to programmatically change the state of the backlight. It's in C, but is pretty straightforward to port.