Here is the case: While i'm trying to make fuctional tests against all apps installed in my device,The feature "Target package" of My instrumentation class makes it insurmountable to access a third pkg,But in some cases,It is much of a need to do so, e.g. an email from a stranger comes and after i view the content ,i decide to add him to my contact list by pressing menu->add to contact This action may invoke a certain activity in pkg .contact,And in this situation,My instrumentation will abort,as the top activity is already out of the target pkg(.email), So, any way i can do this ?? Thanks again!
On Jan 3, 3:38 am, "Dianne Hackborn" <[email protected]> wrote: > Why do you want to run your own instrumentation against apps in the system > directory? Anyway, as you say, you need to be signed with the same > certificate as the app your are running your instrumentation against. It's > not really a matter of being installed in the system dir. If you don't own > the target app enough to be able to sign your instrumentation with the same > certificate, then you can't run instrumentation against it, and it is very > much designed to be that way. > > > > > > On Fri, Jan 2, 2009 at 4:54 AM, Ashrotronics <[email protected]> wrote: > > > Thanks for your respondence,What i am trying to do is to start apps in > > system directory through my own instrumentation class, > > But i am always rejected by android's security mechanism because i do > > not have the same signature(as is shown in logs:Permission denied) > > After further consideration,i decided to try installing my app in the > > system directory ,but also with no luck , > > any idears i can do this ?? > > Thanks ! > > > On Jan 2, 2:39 pm, "Andrew Stadler" <[email protected]> wrote: > > > Downloaded apps (such as those developed with the SDK) cannot be > > > installed into the system directory. > > > > Perhaps if you can better describe what you are trying to do and which > > > permissions your app requires, the list community can better assist > > > you. > > > > On Thu, Jan 1, 2009 at 9:37 PM, Ashrotronics <[email protected]> wrote: > > > > > Hi all: > > > > It seemed that some work can not be done due to permission > > > > reasons unless my APK is in installed in the System/app > > > > directory ,So,is there any way i can do that ?? > > > > Thanks in advance ~!- Hide quoted text - > > > > - Show quoted text - > > -- > 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. All such questions should be posted on public > forums, where I and others can see and answer them.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

