Thanks Dianne, I can route through to the window manager, however, I'm still unclear as to how to 'poke' the policy class to have it shut down - the Policy and PolicyManager methods seem limited to creating new objects.
On Tue, Jun 16, 2009 at 5:54 PM, Dianne Hackborn <[email protected]>wrote: > There is on way to do this, sorry. If you are customizing a phone you > could add an IPC call to the window manager to poke into the policy class to > have it shown. > > > On Tue, Jun 16, 2009 at 7:56 AM, F H <[email protected]> wrote: > >> Hi All, >> >> I want to cause the PowerDialog to pop up in response to an item on a menu >> (I have a button shortage) so that I can shut down. Do I do this by >> attaching an 'intent' to the menu option (if so which one), or send a >> message to a particular listener (what message and to who), or ... >> >> Thanks. >> >> >> > > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
