Possible Duplicate:
enabling GPS programmatically not working
I am making this app, where i need to turn on the GPS by reading a special code in an incoming message and send its GPS location(long, lat) to the sender. So i need to know how to enable GPS through coding without using any user interface.