This is not a kernel topic either.  You need to modify the android userspace 
platform, as you've repeatedly been told in your other threads.

On Wednesday, May 18, 2011 3:31:58 AM UTC-4, souissi haythem wrote:
>
> no it doesn't work because activity was onStop(). 
>
> to make it more clear, please take a look at: 
>
> http://groups.google.com/group/android-ndk/browse_thread/thread/c4b7782425663f86/bc61ed35d0b0ec7d?lnk=gst&q=souissi+haythem#bc61ed35d0b0ec7d
>  
>
> the say that the plateform of android don't give the permission to 
> make a broadcast or a listner for physical key 
>
> thanks 
>
> On 17 mai, 17:13, Peter Teoh <htmlde...@gmail.com> wrote: 
> > just copy the same codes which implement the phone keypad unlocking 
> > logic to your two-times-end-call key sequence?   make sense? 
> > 
> > On May 16, 2:21 am,souissihaythem<hayt...@gmail.com> 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.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to