[android-developers] Re: How to send motion Event down to another activity

2010-02-07 Thread Guobin
delivered to the View currently in focus. They are dispatched starting from the top of the View hierarchy, and then down, until they reach the appropriate destination. But not the view of other activity. http://developer.android.com/guide/topics/ui/ui-events.html Guobin -- You received

[android-developers] Re: How to send motion Event down to another activity

2010-02-07 Thread Guobin
useless I think. The Android Window Mananger can only handle UI events for one view hirarchy at one time. May you send the event to the other activity, but no one can handle it. BRs Guobin On Feb 8, 12:50 pm, sheng wang banxia...@gmail.com wrote: Hi GuoBin, I understand what u mean below. I think

[android-developers] Re: Using USB connection for data transfer

2010-02-08 Thread Guobin
Nand, 1. Insert SD Card to your phone 2. Connect your phone to PC 3. Pull down Notification Curtain, pop up USB connection UI 4. Mount SD Card 5. You can transfer data between Phone PC now. BRs Guobin On Feb 9, 12:18 pm, Nand nandithab...@gmail.com wrote: Hi, I'm new to Android

[android-developers] Re: About boot.img

2010-02-08 Thread Guobin
kR105, boot.img = boot header + Linux kernel + ramdisk/rootfs system.img = Android user space applications and libraries Guobin On Feb 9, 12:05 am, kR105 kr105.ru...@gmail.com wrote: Hello! I'm trying to guess what are the files that contain the low level code of the boot.img/recovery.img

[android-developers] Re: About boot.img

2010-02-08 Thread Guobin
No idea. I find only init.S, maybe it's the initialize before bootloader starts Guobin On Feb 9, 1:53 pm, kR105 RuleZ kr105.ru...@gmail.com wrote: Oh *thank you*!.. I was confused with the boot word. BTW, do you know for what are used the files *.S in the bootable folder? -- Regards

[android-developers] Window System Bug: phonewin...@decorview gets wrong Window size, width/height

2010-02-10 Thread Guobin
1. Popup Dialog with ListView 2. Slide open, close, repeat, and do fast 3. Sometimes in Slide close state, the dialog is show in 320X320 window instead of the right 320X480 Thanks! Guobin -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Capturing HOME intent with receiver programmatically

2010-02-10 Thread Guobin
Home Key events are processed by PhoneWindowManager, that's to say consumed by Android system. That's why your activity can not see it. BRs Guobin On Feb 9, 11:25 pm, Alex Feldman alexfeld...@gmail.com wrote: I am trying to capture my activity to handle HOME button press with a receiver

[android-developers] Re: relation between ViewRoot and View

2010-02-21 Thread Guobin
Some comments in ViewRoot.java ViewRoot: The top of a view hierarchy, implementing the needed protocol between View and the WindowManager. BRs Guobin On Feb 20, 4:53 pm, sheng wang banxia...@gmail.com wrote: Hi , Can any one give more information about ViewRoot and what's the relation

[android-developers] Re: Unable to figure out what WindowManagerservice and PhoneWindowManager difference

2010-01-06 Thread Guobin
Possibly separate Policy from Mechanism WindowManagerService extends IWindowManager.Stub: System private interface to the window manager. WindowManagerPolicy interface: supplies all UI-specific behavior of the window manager. An instance of it is created by the window manager when it starts up,

Re: [android-developers] Re: How to send motion Event down to another activity

2010-02-09 Thread Zhang Guobin
Using Activity Manager, operating on the HistoryRecord list Guobin 2010/2/9 sheng wang banxia...@gmail.com Hi GuoBin, 1. My translucent activity will be the root acitivity, and very possible the home screen will be just behind, but what is the programmable way that can get a activity