English 中文(简体)
安乐施会
原标题:Sending System Event on Android

我想从我的测试应用中发出各种系统活动,以便检验,我的原始应用能够适当处理所有与系统相关的事件。

这个问题现在对我来说非常重要,因为我的申请处理一些并非经常发生的系统事件。

例举活动,但不限于

  1. Battery Plugged
  2. 3G/2G Switch
  3. Charger Plugged

请在这方面提供任何帮助。

最佳回答

Try "Hardware Events Emulation" and "Device Power Characteristics" from the emulator console as described here.

问题回答

暂无回答




相关问题
Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Best browser for testing under Safari Mobile on Linux?

I have an iPhone web app I m producing on a Linux machine. What s the best browser I can use to most closely mimic the feature-limited version of Safari present on the iPhone? (It s a "slimmed down" ...

Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...

Is there any error checking web app cralwers out there?

Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn t error out any existing pages. Or maybe a ...

热门标签