Hi,


I don't thing that will do the trick.  Here is a more detailed
description of what I am trying to solve.

When a wifi call is present in our app, the in-call screen occupies
the entire display with the exception of the notification bar at the
top.  It is desirable for this to be there (and usable), as there are
options available to the user if the notification drawer is opened.

We use the proximity sensor to detect when the phone is or is not near
the ear.  If it becomes near the ear, we do a few things, such as set
the FLAG_FULLSCREEN and FLAG_NOT_TOUCHABLE.  If the phone is moved
away again, we undo these settings.

The problem comes in if the proximity is in a FAR state and the user
begins opening the notification drawer.  If, during the process of
opening the drawer, the proximity sensor triggers a NEAR condition and
then FAR again, the notification drawer can get left in a partially
open state.  While in this state, touch remains disabled for our
application.  Touching the partially open drawer will clear the
condition.

The drawer can be left partially open with a minimum presence
(essentially, a double height status bar) which would in most cases
not be observed by the user.  Thus, the user reports a problem that
our app is broken.

The solution I am looking for is a way to tell the handler of the
notification bar/drawer to close the drawer if the near state is
detected.  Of course, if anyone has other ideas on how it might be
possible to solve the issue I described, I'm all ears!

Thanks,

 - Ken


On Dec 9, 10:27 pm, TreKing <[email protected]> wrote:
> On Wed, Dec 8, 2010 at 9:30 AM, Ken Cross
> <[email protected]>wrote:
>
> > My question is, how do I lock the drawer so that it can not be opened from
> > my application?
>
> Make your app fullscreen?
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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