List Info

Thread: C-Sharp (C#) Group: Locking an application + screen-saver




C-Sharp (C#) Group: Locking an application + screen-saver
user name
2006-11-16 18:17:14

Hi all,

How would I go about locking an application so that one
would need to
re-enter a username and password to gain entry again. I know
thats very
vague so here goes;

Background:
Im new to C# and developing a C# mobile app which displays
confidential
info to the user. Ideally, if the user has not tapped the
screen for x
minutes, the application should lock itself and not permit
the user to
see what it was displaying. This functionality should also
be available
as an icon incase the user voluntarily wants to lock the
application.

This are my thoughts on accomplishing this:
Have a thread that monitors for taps and if the time between
last tap
exceeds a certain threshold, then the screen lock is called
(Is this
possible in C#?). If the user taps the lock icon, then the
screen lock
should be called anyways. This therefore entails that I also
write a
screen-saver of some type that gets invoked and hides the
application.

Okay..thats the idea. As mentioned previously, I am new to
C# and my
thoughts may be too simplistic or too complicated i.e not a
good C# way
of solving the problem. Im learning C# as I write this
application and
as such Im always open to ideas. Any ideas are greatly
appreciated.

<Nick>


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups-beta.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )