Re: [android-developers] Re: Activities and Multiple Views

2010-08-04 Thread Revathi K J Ramanan
Thanks Jef...

We can also use some flags ,so that the key press will look for not only the
active windows but windows that are lying behind.

Regards,
Revathi.

On Wed, Aug 4, 2010 at 4:00 AM, Jef andycoder2...@gmail.com wrote:

 You can override the onKey... methods in your Activity and any
 keystrokes not handled by the views in your activity will fall through
 to the Activity. Does this help?

 Regards,
 Jef

 On Aug 3, 3:31 am, Revathi K J Ramanan revathiramana...@gmail.com
 wrote:
  Hi,
 
  I start a browser and from the browser,I start  a video which occupies
  only a small part of the screen,say the bottom right corner.
 
  Now the browser will be pushed to the 2nd position in the window order
  and Video will come to the first position.
  Is it possible that browser can have the control for active window and
  receive the key events though the video is the Top Most window.
 
  Please help me out.
 
  Thanks in advance.
 
  Regards,
  Revathi K J

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


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

[android-developers] Re: Activities and Multiple Views

2010-08-03 Thread Jef
You can override the onKey... methods in your Activity and any
keystrokes not handled by the views in your activity will fall through
to the Activity. Does this help?

Regards,
Jef

On Aug 3, 3:31 am, Revathi K J Ramanan revathiramana...@gmail.com
wrote:
 Hi,

 I start a browser and from the browser,I start  a video which occupies
 only a small part of the screen,say the bottom right corner.

 Now the browser will be pushed to the 2nd position in the window order
 and Video will come to the first position.
 Is it possible that browser can have the control for active window and
 receive the key events though the video is the Top Most window.

 Please help me out.

 Thanks in advance.

 Regards,
 Revathi K J

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