That's right, you can't just gate your main activity, you have to
ensure that all activities check for authentication.  Perhaps in
onResume() of each activity.

kris

On Fri, Feb 17, 2012 at 1:47 AM, banu <[email protected]> wrote:
> 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

Reply via email to