你可以参照hierarchyview来看。 On 17 October 2012 10:10, Kristopher Micinski <krismicin...@gmail.com>wrote:
> Umm.... > > slight disagree.... > > I do this all the time in instrumentation. > > kris > > On Tue, Oct 16, 2012 at 8:14 AM, Dhruv Kumar <dhruvk...@gmail.com> wrote: > > Without Application you can't get the id . By the way you can get id e.g > > text = (TextView)findViewById(R.id.text); where id mention in xml file. > > > > > > On Tuesday, October 16, 2012 6:55:11 AM UTC-4, srikanth wrote: > >> > >> Hi, > >> > >> I want to get the element/button id in an app(I don't have the apk).. > can > >> any one please tell me on how to get the id? > >> > >> Thanks > > > > -- > > 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 > > -- > 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 > -- Best Regards, Landry -- 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