Hi everybody
I need to know network connection quality before starting an activity with heavy data exchange. I trap Connectivity change and keep the state, but in case I check it after a "deep sleep" of the device the state is sometimes GPRS or less. This doesn't happen if the device is on charge for the whole night. I memorize the changes of the network state in the Connectivity change event.
What I think is that the App doesn't receive the event Connectivity changes no more. The customer informed me that after the night he checked mail and the Internet was working, but my App still believed it had no internet connection. The event is handled by a foreground service.
This is the only issue of this kind that testers signaled to me. It' a NGM with 4.2 onboard. Maybe a OS issue?
Thank you for your time!
Regards
Mauro
I need to know network connection quality before starting an activity with heavy data exchange. I trap Connectivity change and keep the state, but in case I check it after a "deep sleep" of the device the state is sometimes GPRS or less. This doesn't happen if the device is on charge for the whole night. I memorize the changes of the network state in the Connectivity change event.
What I think is that the App doesn't receive the event Connectivity changes no more. The customer informed me that after the night he checked mail and the Internet was working, but my App still believed it had no internet connection. The event is handled by a foreground service.
This is the only issue of this kind that testers signaled to me. It' a NGM with 4.2 onboard. Maybe a OS issue?
Thank you for your time!
Regards
Mauro