I withdraw my question ... The problem was that the apk file was put in a folder, which was not accessible from the Package Installer application. The latter tries to copy the apk file in other location...
On 18 Дек, 12:35, teo2706 <[email protected]> wrote: > 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" <[email protected]> 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 <[email protected]> > > > > 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 <[email protected]>: > > > > 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 <[email protected]> > > > > >> 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 <[email protected]> wrote: > > > >> > This is not available to applications, sorry. > > > > >> > On Aug 26, 12:25 am, Wesley Sagittarius <[email protected]> wrote: > > > > >> > > hi, > > > > >> > > Does anyone successful use the PackageManager to install apk??? > > > > >> > > wesley. > > > > > -- > > > > Dianne Hackborn > > > > Android framework engineer > > > > [email protected] > > > > > 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 > > [email protected] > > > 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 [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 -~----------~----~----~----~------~----~------~--~---

