Maybe you can change the group of the am binery to root. Then the user can use this tool when they have not get root permission. I haven't test it yet. 在 2012-2-17 下午2:47,"banu" <[email protected]>写道:
> Hi, > Here my scenario is something like i developed am android > application which requires login authentication from user before > performing any further operations,but i found that for > instrumaentation testing they use commands like > > am start <packagename> <activity name> > > to start a particular activity,which makes my application insecure so > i needs a solution to avoid this,because i saw in instrumentation > testing they will have different testcases for different activities > where this above command comes into picture to do undergo testing on > that particular activity. > > > i am running on this quite for a long time.so your ideas wiull be > appreciated > > banu > > -- > 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 -- 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

