[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-30 Thread Xiaoliang Ding
Thanks JBQ and Ralf. Ding 2008/11/30 Jean-Baptiste Queru [EMAIL PROTECTED] The applications that use DownloadProvider are the Browser, Gmail, Market, and the System Updater. LIke Ralf said, the easiest way would be to look at the Downloader sample code. You can also just write it from

[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-29 Thread Jean-Baptiste Queru
Unfortunately, the DownloadProvider is not currently available for non-system applications to use, and that's unlikely to change in the foreseeable future. Even more unfortunately, the current implementation of the DownloadProvider uses private APIs that prevent it from being recompiled on top of

[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-29 Thread Xiaoliang Ding
Hi, Jean-Baptiste Queru Thanks a lot for your nice answers. You said DownloadProvider only can be used by system application. Mind you tell me which system application use DownloadProvider ? If the downloading functionality is really needed in my app, what should I do ? Even though

[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-29 Thread Ralf
You might also want to check the Downloader sample code from apps-for-android: http://code.google.com/p/apps-for-android/source/browse/trunk/Samples/Downloader/README.txt R/ On Sat, Nov 29, 2008 at 8:47 AM, Xiaoliang Ding [EMAIL PROTECTED] wrote: Hi, Jean-Baptiste Queru Thanks a lot for

[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-29 Thread Jean-Baptiste Queru
The applications that use DownloadProvider are the Browser, Gmail, Market, and the System Updater. LIke Ralf said, the easiest way would be to look at the Downloader sample code. You can also just write it from scratch from public classes, you can look for inspiration in the DownloadProvider's