Wednesday, June 1, 2011

[android-developers] Re: Is it possible to lock screen without turning off display

But how can we disable HOME button?

On Jun 1, 4:03 pm, Raghav Sood <raghavs...@gmail.com> wrote:
> I don't know if there is an exact SDK function or class that allows this but
> you could launch a transparent activity in full screen mode that diables all
> the button down and button up uvents. Your activity could have a slide bar
> to destroy it and your could adjust the screen to a lower level of
> brightness using the power manager.
>
> Hope this helps
>
>
>
>
>
>
>
>
>
> On Wed, Jun 1, 2011 at 12:24 PM, yccheok <yancheng.ch...@gmail.com> wrote:
> > I had came across several apps
>
> > Lock Screen Widget - Lock screen and turn off display by tapping on
> > screen button. User will need to press hardware power button to make
> > the screen visible again.
>
> > Tap Tap App - Lock screen and turn off display by tapping on screen
> > button. Proximity sensor still activate after screen turned off. User
> > can double tab across proximity sensor to make the screen visible
> > again.
>
> > I was wondering, is it possible for the following app to be developed,
> > without using any unofficial API from Android SDK
>
> > To lock a screen
> > 1. Press a on screen button to lock the screen.
> > 2. The screen remains visible, but get much less bright to preserve
> > power.
>
> > To unlock a screen
> > 1. Slide the touch screen to unlock.
> > 2. Brightness of the screen back to normal.
>
> > So far, from my observation is that, to lock the screen, the screen
> > must be turned off.
>
> > Is there any way we can lock screen without turning off display?
>
> > --
> > 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+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Raghav Soodhttp://www.raghavsood.com/http://www.androidappcheck.com/http://www.telstop.tel/

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment