1

I read many answers on this topic and this is what i have understood

It is not possible to get any hardkey (home,menu,back,etsc ) press events from a service. It is not delivered to any service

For key camera button and media control broadcast events are sent if these applications are not already in the foreground.

So i need to conclude that it is not possible to launch an app by pressing a hardkey or a combination of hardkeys ie ( like home key 2 times or menu key and then back key ) ?

If this is the case how is samsung launching Vlingo when home key is pressed 2 times. How this functionality is added to samsung galaxy

thanks a lot for your time and help

Brad Fox
  • 685
  • 6
  • 19
png
  • 4,368
  • 7
  • 69
  • 118

1 Answers1

0

The Service Can not get the KeyEvent.

Sumsung can do it directly with the system rom. But we can not.

Changwei Yao
  • 13,051
  • 3
  • 25
  • 22
  • Any pointers on how its actually done. Its not for me to go ahead and try :) , just out of curiosity. Are they modifying the android default behaviour. – png May 03 '12 at 10:29