Wednesday, March 16, 2011

[android-developers] Re: Downloading Videos using Service but facing problem with respect to Wifi Connection

1. I think you should create a Thread in service to download the
videos.


On 3月15日, 下午2时38分, monty <neilm30s...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate