Re: [android-kernel] Re: Calling an Activity when phone is locked by clicking two times on the END_CALL button

2011-06-08 Thread souissi haythem
Hi Chris, Finally i have succeeded to detect clicks on END_CALL Button when i click two times my activity will be lunched using a service in background. I used broadcast on ACTION_SCREEN_ON and ACTION_SCREEN_OFF. Please, i wanna know: if i want to license my application in the android market

[android-kernel] Re: Calling an Activity when phone is locked by clicking two times on the END_CALL button

2011-05-18 Thread Chris Stratton
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

[android-kernel] Re: Calling an Activity when phone is locked by clicking two times on the END_CALL button

2011-05-18 Thread souissi haythem
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 permiss

[android-kernel] Re: Calling an Activity when phone is locked by clicking two times on the END_CALL button

2011-05-17 Thread Peter Teoh
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, souissi haythem 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 lo