This delay has nothing to do with the protocol itself, it's because it
requires a lot of introspection work in the Java classes. I tried to
cache as much as I could but the code of the generator can definitely
be improved. Feel free to look at ViewDebug.java and submit patches.

On Mon, Apr 27, 2009 at 6:50 PM, Ashrotronics <030440...@163.com> wrote:
>
> Hi,
>
> As far as i call tell,If i wanna get all info of the controls in
> current screen show ,It'll take me about 5s,That's quite a long period
> of time to me,May be i can make it quicker someway ? Thanks a lot!
>
> On Apr 27, 11:12 pm, Romain Guy <romain...@google.com> wrote:
>> Hi,
>>
>> Why is it too inefficient? It's not meant to be a real-time protocol
>> but just a "snapshotting" tool.
>>
>> On Mon, Apr 27, 2009 at 5:32 AM, Ashrotronics <030440...@163.com> wrote:
>>
>> > Dear all:
>> >    Here is all that i can tell: First you can start the window
>> > service in the shell ,then through socket communication,you can get
>> > windows and control infos by sending message to the other side
>> > (LIST,DUMP ) and so on, But this seemed far too inefficient to
>> > me,Anyone can tell me something more ? Such as how the other side of
>> > the socket works,Or how the window service get the window and controls
>> > info ??
>> >   Any comments will be much appriciated !
>>
>> >  Ashrotronics
>>
>> --
>> Romain Guy
>> Android framework engineer
>> romain...@android.com
>>
>> Note: please don't send private questions to me, as I don't have time
>> to provide private support.  All such questions should be posted on
>> public forums, where I and others can see and answer them
> >
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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

Reply via email to