Win a copy of Reactive Design Patterns this week in the Functional Programming forum
or Learn Linux in a Month of Lunches in the Linux forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to lock an application?

 
Mujahid Al-okaidi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there
Does anyone know if its possible to prevent an application from exiting even when the hang up button is pressed?
 
Tim Holloway
Saloon Keeper
Posts: 18389
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can make the application intercept the Hang Up button event, you can prevent it from exiting the program.
 
Mujahid Al-okaidi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tim Holloway:
If you can make the application intercept the Hang Up button event, you can prevent it from exiting the program.


Thats exactly what I want to do. Do you know if it can be done?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!