in my app i am trying to send some data to a network. but the app is getting slow or gets crashed when the network is not available.
how to save the request for later and resend it once the phone has network coverage again?
how to do this………
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
@Aleadam is right,
you should post your data later once your internet is connected, however you can check your intent connection by this method.
but this method will require to import some android libraries
here are these
I hope this will help.