• 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
Bartender
Posts: 18471
61
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?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!