i am building a java application in which i need to check the gprs and gsm connectivity. so how to check it out.
over all idea is check whether there is gprs connectivity if present then send data or else store the data in some buffer. next when again new data arrives again same gprs connectivity is checked if present then retrieve first old data and send then again new data which arrived is sent else if connectivity not available then store data into some buffer( logic is first come first server data).
gsm is required when gprs is not working so that we can send data through sms service....The api i am using is jsr 253....
another doubt is when gprs network not available then where to store data whether should i use buffer or queues....which techniques should i use....? reply here we use first in first out logic.