3g and wifi detect