Hello Dianne, I'm following the same approach with starting a VIEW intent on the apk file, but I am unable to install the package, because the Android system complains with:
Out of space: Android System could not be viewed. Free up some space on your phone and try again. I have free space both on the SD card (901Mb) and on the internal phone storage (61Mb). Do you have an idea, what might be problem with my case? I have this problem both on the mobile phone and on the emulator. If I try to install the same package directly through adb, then I am able to do it. --- Thanks, Teodor On 22 Ноем, 02:18, "Dianne Hackborn" <hack...@android.com> wrote: > You can put any .apk on the phone, and start a VIEW intent on it to bring up > the installer UI. > > 2008/11/21 Dorn Hetzel <d...@hetzel.org> > > > > > If PackageManager has to do the installation, can PackageManager be > > launch from another application and passed information to help it > > locate the desired application? > > > 2008/11/21 Dianne Hackborn <hack...@android.com>: > > > Current this API is not planned to be available to third party apps, they > > > will need to go through the system installer UI. > > > > 2008/11/21 teo2706 <teo2...@abv.bg> > > > >> Will PackageManager.installPackage() be available for applications in > > >> future versions? Ot will it be possible to install applications only > > >> through Package Installer application, as you suggested below in this > > >> thread? > > > >> On 26 Авг, 09:36, hackbod <hack...@gmail.com> wrote: > > >> > This is not available to applications, sorry. > > > >> > On Aug 26, 12:25 am, Wesley Sagittarius <sit06...@gmail.com> wrote: > > > >> > > hi, > > > >> > > Does anyone successful use the PackageManager to install apk??? > > > >> > > wesley. > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support. All such questions should be posted on public > > > forums, where I and others can see and answer them. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---