Calling native Android kernel function from user code
<p>As my <a href="http://en.wikipedia.org/wiki/Motorola_i1" rel="nofollow">Motorola i1</a> refuses to light its LED in the usual programmatic way (using NotificationManager with LED on specified), I've dived into Android Cupcake's source code and found out that the native applications such as Calendar &amp; Messaging do this using NotificationManagerService, which uses</p>

<pre><code>IHardwareService.setLedState()
</code></pre>

<p>which, in turn, calls the </p>

<pre><code>setLightFlashing_UNCHECKED() 
</code></pre>

<p>function of the kernel (or is it a component other than the kernel?). 
How do I either instantiate the HardwareService implementing  IHardwareService, or call the setLightFlashing_UNCHECKED myself?</p>
