how we get current window access Without activity?
<p>How we get current window access Without  activity? i have a
    service and i want to get current window screen object. any body
    know how we will get??</p>

<pre><code>sysbrightness = android.provider.Settings.System.getInt(cr,
android.provider.Settings.System.SCREEN_BRIGHTNESS);
lpnew.screenBrightness = sysbrightness;                     
win.setAttributes(lpnew);

Note: i have not any activity,just i have service and want to get
current window.
</code></pre>
