How do I sign an Android application as a system app to use DEVICE_POWER permission
<p>Was reading over <a href="http://stackoverflow.com/questions/7507776/android-system-application-device-power-permission-error">Android system application DEVICE_POWER permission error</a> and <a href="http://stackoverflow.com/questions/3635101/how-to-sign-android-app-with-system-signature">How to sign Android app with system signature?</a></p>

<p>I am still unable to sign my application as a system app.  I don't know where /build/target/product/security is.</p>

<p>Do I pull the key off my own device to use for signing my app.</p>

<p>I just want my app to be able to call: </p>

<pre><code>private void screenOff(){
    PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);

    long time = SystemClock.uptimeMillis() + 1000;
    pm.goToSleep(time);
}
</code></pre>

<p>Thanks for your answers.</p>
