[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-20 Thread Dianne Hackborn
That brings up the system UI, allowing the user to confirm the install. On Sat, Apr 18, 2009 at 7:13 AM, Peter pkana...@gmail.com wrote: Ok...how does this relate to what you said about installing apps being prohibited? On Apr 17, 1:10 pm, Dianne Hackborn hack...@android.com wrote: Yes it

[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-17 Thread Peter
Can't an Activity be started with an Intent created with the Intent.ACTION_PACKAGE_INSTALL action, and a URI pointing to an .apk file? If not, where is information regarding the built-in app installer activity? On Apr 16, 8:10 am, Surendra Reddy T surendraredd...@gmail.com wrote: Hi

[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-17 Thread Dianne Hackborn
Yes it can. On Thu, Apr 16, 2009 at 8:14 AM, Peter pkana...@gmail.com wrote: Can't an Activity be started with an Intent created with the Intent.ACTION_PACKAGE_INSTALL action, and a URI pointing to an .apk file? If not, where is information regarding the built-in app installer activity?

[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-16 Thread Dianne Hackborn
You can't do this. The only way a third party app can install another application is by launching the built-in app installer activity. On Thu, Apr 16, 2009 at 1:08 AM, Surendra Reddy T surendraredd...@gmail.com wrote: Hi, I am developing an app which should be able to install any signed APK

[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-16 Thread Al Sutton
Allowing the silent of APKs would present a security risk as users should always be aware of what is being installed on their device, and so it is unlikely this will ever be possible. Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is

[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-16 Thread Surendra Reddy T
Hi Hackborn, Thanks a lot for your quick response. My application sits on the device with users acceptance only. Once I have installed my app, I should be able to download any properly signed APK onto the device and install it on the device without any user intervention. And the users of the

[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-16 Thread Dianne Hackborn
I repeat, no. If this is allowed, the user has effectively granted you every possible permission in the system. At this point we absolutely aren't going to do this. It isn't a matter of this being a hidden API or there being a workaround. If the security system is working correctly, you can't