listner don't do this. they must be working when the phone is locked?
i try to use broadcast i make this code in:

return super.onKeyUp(keyCode, event);

so igot an error: The method onKeyUp(int, KeyEvent) is undefined for
the type BroadcastReceiver

c'est quoi le problem??

On 13 mai, 02:17, Bob Kerns <[email protected]> wrote:
> I'm not! It would be a major security hole.
>
> But  I could see a broadcast for various UI events while locked. They
> couldn't expose any UI (and perhaps should not be allowed to trigger any
> change of current activity), but they could do things like mute the audio,
> or log some event.
>
> On Thursday, May 12, 2011 9:13:58 AM UTC-7, Dianne Hackborn wrote:
>
> > Sorry you can't do this.
>
> > On Thu, May 12, 2011 at 5:44 AM, souissi haythem <[email protected]>wrote:
>
> >> Hi,
>
> >> I need to call my Activity when user press two times on the END_CALL
> >> button (it need to work when the phone is locked).
>
> >> Is is that possible??
>
> >> Thanks.
>
> >> --
> >> 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
>
> > --
> > 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