My third answer is unfortunately going to be the same as my first two -- you need to have the target application built with the same certificate you can use to build your instrumentation. If you can't do that, you can't run instrumentation against the app (because it is not yours). Sorry I can't continue replying to the same question.
On Wed, Sep 30, 2009 at 4:02 AM, Babyboo <[email protected]> wrote: > > So, I want to test some android system application with > Instrumentatioin framework, such as Contact, Calculator, SMS, etc.... > How do I resolve the certificate problem? > > > On Sep 30, 3:18 pm, Dianne Hackborn <[email protected]> wrote: > > That's why I say you need to build the target application yourself. > > Generally you aren't going to have access to the cert used to sign > someone > > else's app, since they don't want to give out their private key. > > > > On Wed, Sep 30, 2009 at 1:03 AM, Babyboo <[email protected]> > wrote: > > > > > Thanks Diana. > > > hmm, there is a problem that I must sign my Instrumentation project > > > with the same certificate as target app. So, do you know how to get > > > certificate of any target application (in case that I have only the > > > target apk file, nothing else)??? > > > > -- > > Dianne Hackborn > > Android framework engineer > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them. > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. 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 Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

