[android-developers] Re: how to get child or any component from the parent view

2011-09-23 Thread Addy
Thanks for your reply,

I want to track the event of user interecation so I think, If I am
able to get the device's screen as a view then I will get the child
views of that view. And from that child view I will get the all events
which will perform on that view.

Or if this is impossible (As we don't have a root access of device for
security resoan) so is their any alternate way from which I am able to
get the user event on device, Currently from logcats I m just getting
the Application name (when it Launching) but after that I didnt get
any event (If user click any sub menu or any wherre on that
application's screen, beco'z in adb their dont have any entry for that
event ). This all things are for my testing application.

Thanks all for your support.

On Sep 23, 9:41 pm, TreKing treking...@gmail.com wrote:
 On Fri, Sep 23, 2011 at 6:16 AM, Addy joyy.bl...@gmail.com wrote:
  Currently for my Android's Application testing purpose, I got the view
  of the device screen then I want to fetch the child of that parent
  view. e.g. If I am fetching the main home screen so then can I get the
  menu like setting, browser, etc.?

 Your question does not make much sense. What are you trying to do? Setting
 and Browser are their own apps, not screens of anything.

 ---­--
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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


Re: [android-developers] Re: how to get child or any component from the parent view

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 12:45 PM, Addy joyy.bl...@gmail.com wrote:

 I want to track the event of user interecation so I think, If I am able to
 get the device's screen as a view then I will get the child views of that
 view. And from that child view I will get the all events which will perform
 on that view.


That's not how it works.


 Or if this is impossible (As we don't have a root access of device
 for security resoan)


Pretty much.


 This all things are for my testing application.


You are welcome to track anything within your own app. Why you would need to
track the user's action within other apps, I'm not sure, but is certainly
not something you're going to be able to do with the SDK.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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: how to get child or any component from the parent view

2011-09-23 Thread Addy
OK, Thanks. I got it.
And one more thing, do you know how does ROBOTTIUM jar work for
testing android application?
I think it also do same, as get the screen view, from that screen It
get the perticulat x,y coordinates where user touch then from that
portion it will get the text.And from that text it will use in for
testing play on device.

So, They also achieve something similar to it, without any root access
and modification of firmware.



On Sep 23, 11:19 pm, TreKing treking...@gmail.com wrote:
 On Fri, Sep 23, 2011 at 12:45 PM, Addy joyy.bl...@gmail.com wrote:
  I want to track the event of user interecation so I think, If I am able to
  get the device's screen as a view then I will get the child views of that
  view. And from that child view I will get the all events which will perform
  on that view.

 That's not how it works.

  Or if this is impossible (As we don't have a root access of device
  for security resoan)

 Pretty much.

  This all things are for my testing application.

 You are welcome to track anything within your own app. Why you would need to
 track the user's action within other apps, I'm not sure, but is certainly
 not something you're going to be able to do with the SDK.

 ---­--
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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


Re: [android-developers] Re: how to get child or any component from the parent view

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 1:46 PM, Addy joyy.bl...@gmail.com wrote:

 And one more thing, do you know how does ROBOTTIUM jar work for testing
 android application?


Nope. Check their site?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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: how to get child or any component from the parent view

2011-09-23 Thread Addy
Ok, Thank you very much.

On Sep 23, 11:58 pm, TreKing treking...@gmail.com wrote:
 On Fri, Sep 23, 2011 at 1:46 PM, Addy joyy.bl...@gmail.com wrote:
  And one more thing, do you know how does ROBOTTIUM jar work for testing
  android application?

 Nope. Check their site?

 ---­--
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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