Ah, forgot this wasn't your app, yes usually I have apps signed iwth my key but not source to them (for a strange reason I'd rather not explain..)
kris On Wed, Oct 17, 2012 at 11:00 AM, Diego Torres Milano <dtmil...@gmail.com> wrote: > You mentioned you don't have the source, so we assume it's not your APK, > then Instrumentation won't work because both packages must be signed by the > same key otherwise you'll receive a SecurityException. > I don't know what do you want the id for, but using AndroidViewClient > [https://github.com/dtmilano/AndroidViewClient] you can easily get the dump > of the View tree and get Ids an other properties. > > > On Wednesday, 17 October 2012 06:48:47 UTC-4, srikanth wrote: >> >> Hi Kris, >> How you will do/get these things via instrumentation? >> >> On Wed, Oct 17, 2012 at 7:40 AM, Kristopher Micinski <krismi...@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 <dhru...@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-d...@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-d...@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 >> >> >> >> >> -- >> Thanks & Regards, >> M.Srikanth Kumar. > > -- > 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