Hello friends I am devloping an client server application using j2me. In my application i need to check the network connection is available(gprs) or not. If the connection is available then i have to send the data to the server. if the gprs connection is not there i have to the data in local database.
As this is a kind of MobileSurvey applicatin. The user takes the surveys through the mobile and store the answers in the local database(if network connection is not there)or send to server through Http connection.(if network connection is present).
when the user press the "SUBMIT" button I have to find out whether the Gprs connection is there or not.then i have to decide as acoordingly.
So friends please help me out how to proceed in this situation?
Can i check the gprs connectiion is available or not?Is there any built in function is there?
Please lewt me know???????????