I don't know how to hang up incoming calls, not sure if it's possible. You can, i think, enter airplane mode programmatically, but it's a brutal method and really not advised. Changing such a setting should be done only by the user when he chooses to.
gatnowurry
2010-05-03 15:34:37