In iOS 6 and with the iPhone 5 is there any way (even if it is a 3rd party app) to do the follwing things?
1) Lanch a certian application when
a) I pass a geo-fence (e.g. arrive home)
b) I get logged in to a WiFi hotspot with a certain SSID
c) the device is plugged to a power source
2) Close a certain application when
a) I pass a geo-fence (e.g. leave home)
b) GPS/Geo/Location is turned off
c) WiFi is turned
d) I get logged out from a WiFI hotspot with a certain SSID
e) the device is unplugged from a power source