Re: [android-beginners] Re: How do I simulate a Home, Menu, Or Back key press

2010-05-06 Thread Mani Android
Dear all

Any one find out the solution how to simulate the  Power, Back and Menu keys
and other Hard keys?


Thanks in advance...





On Tue, Nov 10, 2009 at 7:44 AM, GT gswee...@gmail.com wrote:

 Update:

  I managed to get the soft Home button functioning by sending the
 Intent:

 Intent HomeIntent = new Intent();
 HomeIntent.setAction(Intent.ACTION_MAIN);
 HomeIntent.addCategory(Intent.CATEGORY_HOME);

 I still don't have a solution for the Back and Menu keys.
 Furthermore, I ran into problems setting my window to always display
 on top.  Since I have no hardware buttons the user needs access to
 this menu from anywhere.  Unfortunately I haven't found a way of doing
 this.

 Are devices without hardware keyboards not supported?  Is the only way
 to get this working by modifiying Android itself?

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.
 To post to this group, send email to android-beginners@googlegroups.com
 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: How do I simulate a Home, Menu, Or Back key press

2009-11-11 Thread GT
Update:

  I managed to get the soft Home button functioning by sending the
Intent:

Intent HomeIntent = new Intent();
HomeIntent.setAction(Intent.ACTION_MAIN);
HomeIntent.addCategory(Intent.CATEGORY_HOME);

I still don't have a solution for the Back and Menu keys.
Furthermore, I ran into problems setting my window to always display
on top.  Since I have no hardware buttons the user needs access to
this menu from anywhere.  Unfortunately I haven't found a way of doing
this.

Are devices without hardware keyboards not supported?  Is the only way
to get this working by modifiying Android itself?

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en