Checkout DownloadManager, it provides the fall-over, notifications and
error handling you are interested in:

 http://developer.android.com/reference/android/app/DownloadManager.html

Jonathan

On Mar 14, 11:38 pm, monty <[email protected]> wrote:
> Hi All
>  I am downloading encrypted  videos from server in my phone memory and
> decrptying and moving the decrypted video to sdcard. I have the
> following issues and doubts:
>
> 1.Is it good to use Service to handle downloading process of videos or
> is there any other alternative?
>
> 2.I am downloding about 5 videos continuosly in a for loop in a
> Service which will be started from my launcher Activity. The linear
> downloading works fine but when there is some Wifi issue such as
> network is down..then how can the user get notified and if the Wifi is
> up again will the Service work again or it has to be started again?
>
> 3.Could any1 please tell how to show a Download progress bar in
> android

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to