This is exactly what I want to do - let the user choose to install an
apk.  How do you go about doing this without involving
PackageManager.installPackage() (that inevitably throws a permission
denied exception)?  Right now I'm providing the user with an "install"
Button whose onClick method calls PackageManager.installPackage() to
do the work.  Obviously this results in a permissions exception.  Are
you saying that by 1) downloading an apk, 2) instantiating an Intent,
and 3) using the setData(Uri data) method (where Uri is a file) will
install the apk file at the top level?  If this isn't the case then
how does one allow the user to approve apk installs?

Thanks for the help

- Nick

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to