You don't close the application, you can finish() the activity, however.

Kris



On Tue, Aug 13, 2013 at 10:00 AM, passer <passer...@gmail.com> wrote:

> Hello.
>
> I have application which should be ask password on start.
>
> I done it so. onCreate MainActivity calls(startActivityForResult)
> EnterPasswordActivity. If user enters right password EnterPasswordActivity
> returns information about it. Everything works good.
>
> But there is a problem. If application will be minimized in other
> actvity(not MainActivity or EnterPasswordActivity), user can start
> application without entering password. That's why i need to close
> application on minimize. how can i do it?
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to