I've seen this question asked many times all over the web but there does not appear to be a comprehensive answer anywhere.
I have created a J2ME app which needs to detect the network connection type (so it can connect to a different resource if connected via Wi-Fi).
There is an answer here that pertains to Nokia devices and one here that pertains to BlackBerry devices, but I am also developing for:
- Huawei
- Tecno
- Samsung
- Motorola
- LG
The Nokia solution appears to be to use System.getProperty("com.nokia.network.access")
, so does anyone know what the equivalents of this are for the other device manufacturers?