Do you know of any devices that actually have a proximity sensor?  The G1
and myTouch certainly don't, and thus the current platform doesn't have
support for doing anything with the sensor.  If there is some device that
does, this is not a standard platform feature.

On Mon, Sep 21, 2009 at 3:14 PM, James Chou <[email protected]>wrote:

>
> I have an application that needs to turn on/off the screen using the
> proximity sensor like what most dialer applications do when a user is
> making a phone call.
>
> I cannot seem to find a way to turn on/off the screen at will.
>
> Any ideas?
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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