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<http://developer.android.com/guide/publishing/licensing.html>,
would my application be refused?
I didn't touch any of functionalities of OS, i have only detect the three
rapid clicks on END_CALL .

Thanks


2011/5/18 Chris Stratton <cs07...@gmail.com>

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

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

Reply via email to