From: sachin jesukaran on
hello everyone,
i have a application which would run in the background and send some
data that is been captured on the device to the server .
my problem is, under some condition the app has to transmit data only
using WI-FI connection and under some other condition it has to
transmit only using the data connection available on the phone through
GPRS/EDGE/3G .
how do i instruct the application to use a only a particular
connection to send data to the server.
please advise.

Thanks
sachin