Hi,
I have a query related to network connectivity.
In my android app, while calling every module I check for the GPRS/wifi connectivity, and that works fine.
But the problem is,
Suppose my netwrk is connected properly when the module is called.
Now after a series of some execution, i call the the App42 service for retreivng data.
storageService.findAllDocuments(dbName, collectionAttendance, new App42CallBack()
{
public void onSuccess(Object response)
{
Multiple steps performed ere
}
public void onException(final Exception ex)
{
}
}
The prob is, suppose after onSuccess() is called, the network (GPRS/WIFI) connectivity is lost,
so in this case neither the onException is called, nor the program flow moves ahead.
The app stops responding :(
Is there any way i can handle the network connectivity all the time?
Please help me
Regards,
Hitesh Jain