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 <expelia...@googlemail.com> 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
hack...@android.com

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: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to