We were discussing about adding buttons. But I don't want to add too many buttons to the status bar since the status bar could be very crowed in certain case. Another suggestion from others is to add new options into the power dialog. If you want to use power button, you can take a look at GlobalActions.java to see how the powerdialog is processed. Yi
On Tue, Nov 10, 2009 at 11:13 PM, vishal bhoj <vishalb...@gmail.com> wrote: > Hello Yi, > > > I tried your patch ,Its cool. > > Have you tried adding buttons on the status bar ,instead of gestures? > > > Regards, > Vishal > On Tue, Nov 10, 2009 at 1:40 PM, Yi Sun <beyo...@gmail.com> wrote: > >> You can get it from here >> >> http://git.android-x86.org/?p=platform/frameworks/base.git;a=commitdiff;h=4d16aee0f72a9baceebde5d6f924ecc6d285cc2c >> >> >> On Mon, Nov 9, 2009 at 6:19 PM, Yi Sun <beyo...@gmail.com> wrote: >> >>> This feature will be available in a day or two in Android-x86.org. >>> >>> Yi >>> >>> >>> On Mon, Nov 9, 2009 at 4:42 PM, GT <gswee...@gmail.com> wrote: >>> >>>> Is there a way to have software Home, Menu and Back keys? >>>> >>>> I am developing apps for an Android device that does not have any >>>> hardware keys except for a power button and I have been running into >>>> hurdles left and right. Not having a keyboard is not a big problem >>>> but my lack of hardware Home, Menu, and Back keys is killing me. >>>> >>>> By sending a "Go to home screen" intent I can simulate the Home key >>>> but I have yet to find a way to have software Back and Menu buttons. >>>> Worse yet, even if I did get my keys working I don't see how to make >>>> them always available to the user. There doesn't seem to be a way to >>>> keep them accessable from the status bar and I haven't found a way of >>>> creating a floating menu that always stays on top of all other >>>> activities. >>>> >>>> >>>> I might be able to bring up my menu using the power button but I'm >>>> not >>>> sure it will work. Does anyone have any insight into this? >>>> >>>> >>>> -- >>>> unsubscribe: >>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> >>>> website: http://groups.google.com/group/android-porting >>> >>> >>> >>> >>> -- >>> Android-x86 >>> http://www.android-x86.org >>> >> >> >> >> -- >> Android-x86 >> http://www.android-x86.org >> >> -- >> unsubscribe: >> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> >> website: http://groups.google.com/group/android-porting >> > > > > -- > with regards vishal > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- Android-x86 http://www.android-x86.org -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting