break;
}
}
private void getConnectionType() {
ConnectionType type = Network.getConnectionType();
text.setHTML("type=" + type.toString() + "<br/>" +
"UNKNOWN:" + type.isUnknown() + "<br/>" +
"ETHERNET:" + type.isEthernet() + "<br/>" +
"WIFI:" + type.isWifi() + "<br/>" +
"CELL_2G:" + type.isCell2G() + "<br/>" +
"CELL_3G:" + type.isCell3G() + "<br/>" +
"CELL_4G:" + type.isCell4G() + "<br/>" +
"NONE:" + type.isNone() + "<br/>"
);
}