0

I want to downloading image from instagram or picasa, during the downloading the network is disconnected. I want it should be start re downloading when the network connected again. downloading start from where the network was gone. plz give some idea or any reference link.

Thanks

  • 1
    There are many things, first download should be resume supported, second you need to check for internet connectivity in intervals and third doing the download process on the same file – Murtaza Khursheed Hussain Oct 28 '15 at 04:27
  • @MurtazaKhursheedHussain can you give me any reference link. – pankaj gupta Oct 28 '15 at 09:31
  • There are no specific examples, you need to implement the logic yourself. But yes you can try the android guideline where [`Service`](http://developer.android.com/guide/components/services.html) do the same as you wanted. – Murtaza Khursheed Hussain Oct 28 '15 at 09:40

1 Answers1

0

Register a broadcast for listening to network events. Please check android network events.

This is already solved in many other posts like link

Community
  • 1
  • 1
Viswanath Lekshmanan
  • 9,945
  • 1
  • 40
  • 64