Right now the download manager (which happens to own /cache) is not
exposed to applications, so you have to do your downloads manually.
JBQ
On Wed, Mar 18, 2009 at 7:58 AM, BoD bodl...@gmail.com wrote:
Well ok then :)
Actually I was also wondering if there was an API somewhere that I
didn't see in the framework to ask for a file download or is the
normal way to do that is to do it manually (using HttpClient or
URL.openConnection and all that jazz).
Thanks a lot!
BoD
On Mar 18, 3:50 pm, Jean-Baptiste Queru j...@android.com wrote:
It's not accessible to applications.
JBQ
On Wed, Mar 18, 2009 at 7:47 AM, BoD bodl...@gmail.com wrote:
Hi!
My app is downloading a file that does not need to be kept. So I was
trying to put it in the directory returned by
Environment.getDownloadCacheDirectory() (that returns /cache).
But apparently it is not accessible, (a FileNotFoundException is
thrown).
Is this normal?
Thanks!
--
Jean-Baptiste M. JBQ Queru
Android Engineer, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
--
Jean-Baptiste M. JBQ Queru
Android Engineer, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---