Questions tagged [android-install-apk]

An APK file is the file format used for installing software (i.e. an application or a game) on the Android operating system.

An APK file is the file format used for installing software (i.e. an application or a game) on the Android operating system.

An APK file is basically an archive providing the required application information and resources.

More Info

536 questions
7
votes
8 answers

Split Android app in two parts

I'm trying to understand if it is possible to split an Android App into two parts (installed from one APK). I looking into this to install one part on the Device memory and the other part on the SD-CARD. The two parts belong together and should not…
Louis
  • 71
  • 1
  • 2
7
votes
1 answer

Android how to install apk file stored in assets folder

I am able to install an apk file stored on sdcard using the following code: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new File("/mnt/sdcard/downloads/Sample.apk")),…
Sandeep Kumar P K
  • 7,412
  • 6
  • 36
  • 40
7
votes
2 answers

Set "installer" package value as returned in getInstallerPackageName()

I have an Android app that uses a WebView to enable users to install applications. Historically, applications installed from Android Market will have the installer value set to "com.google.android.feedback". With Google Play, this value is now…
Rami
  • 559
  • 1
  • 6
  • 9
7
votes
1 answer

Xamarin Android 10 Install APK - No Activity found to handle Intent

I want to install a 3rd party app from the filesystem from my xamarin android app. The code I used successfully before Android 10 was pretty straightforward and easy. Intent intent = new Intent(Intent.ActionView); Uri data =…
smedasn
  • 1,249
  • 1
  • 13
  • 16
7
votes
4 answers

Cannot install apk when the app is already installed from Playstore

I've an app in Play Store. Now, I need to update that with an updated version. Before, pushing it to Playstore, I thought I'll check the migration with APK. I installed existing version from Playstore. Now, I'm trying to install the latest (signed)…
7
votes
5 answers

Android install apk programmatically

Is it possible to install an apk programmatically in the background or does the user have to accept the installation. My scenario is that I want my employees to all have the same set of applications installed. Of course they can install…
Felix
  • 3,246
  • 4
  • 23
  • 25
7
votes
1 answer

Delta update for Android App updates

I am trying to setup my own Server to host apk files which will be available for installs and updates in the client App. On new version update of apk, only the updated part should get downloaded at the client end. I am able to generate a patch file…
7
votes
2 answers

Android Lollipop - PackageInstaller.Session commit()

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 anything that fit my need. Here is a sample of my…
7
votes
2 answers

Install SD Card Vs Phone memory? and why the size of the app differs?

I am bit confused about memory sizes in android apps, is there any difference between installing the application in Phone memory and SD card. I guess there might be difference of responding and running speed. But i am wondering is there any other…
Kartihkraj Duraisamy
  • 3,171
  • 2
  • 25
  • 36
7
votes
1 answer

Android : programmatically copying apk to /system/app

I am trying to install a system app from my java code, and so far, I haven't had any success. Following is what I have done so far: My device is rooted. My "installer" app is installed as a system app. (copied it manually to /system/app) I have…
Chaitanya
  • 2,039
  • 4
  • 25
  • 32
6
votes
3 answers

opening apk in chrome download list not open the apk Installer

I have a QtQuick2 application.I build it(with signing) for android with Release Configuration with Qt 5.15.1, When I download Apk with chrome And click on it on downloads list on chrome,It should be open with Installer but It will opens with file…
mohsen
  • 1,763
  • 3
  • 17
  • 55
6
votes
3 answers

Prevent Android App from getting installed on multiple users

When I run my app from Android Studio and install it on the primary user on a device, I notice that it gets installed on the secondary user as well. In the first place, why is this happening? The android:requiredForAllUsers flag is false by default,…
Yash Sampat
  • 30,051
  • 12
  • 94
  • 120
6
votes
3 answers

How to convert an app/apk as system/user app, including split-apk apps

Background Without root, I know that it's possible to install a single, normal APK using Intent (here). Given root, I know that it's possible to install it using this . This will install the app like a normal installation process, as a user-app.…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
6
votes
2 answers

Error while Installing APK Android Studio 3.3

I am unable to run application on any android phone. I have Android Studio 3.3 , and it used to work fine. And now suddnely it shows Error while Installing APK . Session 'app': Error Installing APK I tried : -- Clean, Build , -- Invalidate caches…
Ravi
  • 881
  • 1
  • 9
  • 23
6
votes
3 answers

how to get source file from apk file

in android there is any possibility to getting source file from .apk file.
mukesh