Tuno wrote: > Thank you for the reply. I used the word "streaming" because my code > uses C# Stream objects to download the file (one for reading, one for > writing). > > One thing I didn't make clear is that I want my application to execute > the downloads "offline", in the background, something else I still > need to make sure is possible. (Similar to the way my gmail gets > downloaded while the Droid is in standby.)
Sure, downloading in the background is perfectly fine. You will want to create a Service that is scheduled via AlarmManager to wake up and grab the files at your desired time. Since that work may take a while, you'll need to grab a WakeLock, to make sure the phone doesn't go back to sleep while the work is going on. You can see an implementation of that pattern here: http://github.com/commonsguy/cw-advandroid/tree/master/SystemServices/Alarm/ There's probably an existing app that does scheduled file downloads if you don't want to write it yourself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 1.6 Programming Books: http://commonsware.com/books -- 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

