I am prototyping a iPhone application. One of the things I would like to do is enable / disable the WiFi network or Bluetooth from within the application. Is it possible to control the hardware from the iPhone app? I have the Beginning iPhone Development (Mark LaMarche) book to help me get started with iPhone development. However, I didn't see anything about controlling the hardware within that book. If this is possible, any example code would be great.