packageinstaller Questions
9
Solved
I am trying to get my app to automatically install an apk. This works fine for api<24. But for 24, it is failing. Android has implemented extra security:
For apps targeting Android 7.0, the A...
Mizzen asked 4/1, 2017 at 23:1
1
Solved
Background
I have a spare time app which I've made (here), that one of its main features is to install APK files.
The problem
Users who install apps expects that a new app icon will appear on th...
Arbour asked 15/6, 2018 at 9:56
2
Solved
After the PackageInstaller successfully (self) updates the application, the application closes and doesn't launch again.
Possible duplicate: Android PackageInstaller, re-open the app after it updat...
Sunk asked 23/7, 2020 at 9:14
1
Solved
Background
I've noticed there is a new function on the PackageManager called "getPackageInstaller" , with minAPI 21 (Lollipop).
I've reached the "PackageInstaller" class, and this is what it is w...
Humble asked 5/5, 2015 at 12:38
2
I'm trying to install APK in android 7 (samsung and sony) using regular Runtime.getRuntime.exec() routine.
The installation fails with the following exception in the logcat:
09-04 14:14:33.932 166...
Denudate asked 4/9, 2017 at 12:17
1
I need to start the installation of an apk on an android 8 phone, but this should not be silent (adb install). The behavior should be as if the user has touched the apk file on the device.
Before a...
Parasitize asked 26/9, 2017 at 6:20
2
My app has an auto update feature which download an APK and then uses a Intent.ACTION_VIEW to open the package installer.
Up to 7 it worked perfectly (by feeding the Intent with a normal file://)
...
Delay asked 14/9, 2016 at 11:16
1
Solved
I'm developing an app that runs as Device Owner, and I want to build an automatic updater inside it.
To do it I use the PackageInstaller, as I have the privileges to use it due to my Device owner p...
Dissemble asked 12/5, 2017 at 15:7
2
I'm trying to install packages on my device (from a device-owner app that runs on it) only by using the PackageInstaller and PackageManager APIs. I have been looking for examples but couldn't find ...
Aegyptus asked 16/9, 2015 at 12:15
2
PackageInstaller (https://developer.android.com/reference/android/content/pm/PackageInstaller.html) seems to have been added starting in API 21 (Lollipop), however I have not found any solid code e...
Schenk asked 9/9, 2015 at 7:15
1
© 2022 - 2024 — McMap. All rights reserved.