views:

98

answers:

2

Hi,

also I wanted to ask following. In class:

\\android 1.5 source\frameworks\base\services\java\com\android\server\HardwareService

I have found method that looks like would help me in solving my Screen Brightness problems (smooth transitions):

public void pulseBreathingLight()

could you please advice how to invoke this mysterious method?

Thanks

A: 

From an SDK application, you don't invoke "this mysterious method". It is not available in the SDK.

If you are creating your own device or are otherwise modifying Android firmware, it should be possible to access it -- just use Google Code Search to find places which call it and see how they use it.

CommonsWare
A: 

That sounds like the method to enable the trackball on the HTC devices to 'breathe'; smoothly light up and down like on Mac's. The same behavior when you receive a SMS.

Therefore, maybe not the API you're looking for...

bgever