java me - how to check internet availability in j2me -


how check internet availability on mobile application.... in j2me....

use property detect available gprs connection on s40 series mobiles.

com.nokia.network.access 

its returns networking access point type. possible values property are:

* pd — packet data, example gprs * csd — circuit-switched data, example gsm csd/hscsd data call * bt_pan — bluetooth pan network * na — not applicable, implementation cannot determine type r 

for more info see wiki link.

also try access url verify that. if got timeout or connection related exception means type of network not available.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -