• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to lock an application?  RSS feed

 
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
Bartender
Posts: 18606
68
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!