Nothing is much clear from the description of your problem. I am suspecting
that you are facing the UI issue.
Are you calling logout function in main thread/ui thread? If so replace it
with worker thread. Alternatively you can start a service using
AlarmManager.



On Fri, Aug 23, 2013 at 4:37 PM, Siva Kumar <[email protected]>wrote:

>
> Dear All,
>
>
> Im developing android application.The following are the settings details
> android:minSdkVersion="8" & android:targetSdkVersion="17"
> In my application im implement the auto logout after some specific time.
> For eg:Assume auto logout time as 2minutes.IF the application in from or
> background ,If it is idle then after 2 minutes it will successfully logout
> But the problem is if any call is comes means in the middle of my
> application (my application's any screen or any activity is running or is
> in front).At that time if i attend or cut the call means then auto logout
> works fine.
> But if i not do anything (not attend the call nor cut the call) after some
> time call automatically cuts but here my auto logout not works fine.
> All are welcome to give their ideas
>
>
>
>
> --
> *Thanks & Regards,
> SIVAKUMAR.J <http://stackoverflow.com/users/385138/sivakumar-j>
> *
>
>
>
> --
> *Thanks & Regards,
> SIVAKUMAR.J <http://stackoverflow.com/users/385138/sivakumar-j>
> *
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> 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 [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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to