I am preparing my application for the game store and plan to deliver one component as a separate installation package (since my client cannot restore the source code, but the application is signed with its key). I thought of two ways of doing this. My need is this: users with disabled "unknown sources" should be able to install a second application. And: A user should never be redirected to the Google Play store.
Both apps are free.
I was looking for solutions that would allow me to download an additional APK from Google Play and simply present the installation screen to the user to complete the installation. I would like to get a solution in which I sent the intention to the PlayStore application, and it displayed the application name, permissions and the install button. I did not find anything. Is anybody here?
I thought I could pack this additional application into the assets of my application. I will need to write it to the file system and send the intention to install the package to the system. Problem. The application was not downloaded from the Google game and with the fact that the source is unknown. If I used the PackageManager and allowed it to install the APK, does INSTALL_PACKAGES allow my application to install this second application on the user device (since the user has already accepted that my application can install packages)?
I hope someone can help. And thank you in advance.
: " " . : Google Play.
, Android / Play Store. Play Store - Play Store.
, PlayStore, , .
. market:// Uri, Play , , .
market://
Uri
,
, (, ), , INSTALL_PACKAGES . SDK- ACTION_VIEW ACTION_INSTALL_PACKAGE Intent, , , " ".
INSTALL_PACKAGES
ACTION_VIEW
ACTION_INSTALL_PACKAGE
Intent
Source: https://habr.com/ru/post/1669573/More articles:ΠΠΊΠ»ΡΡΠΈΡΡ Π·Π°Π³ΠΎΠ»ΠΎΠ²ΠΎΠΊ OPTIONS Π΄Π»Ρ CORS Π½Π° .NET Core Web API - asp.net-coreangular 2 - how to embed videos on YouTube - angularHow to install the application silently on Android devices? - androidCould not find tube "safeResourceUrl" - javascriptSwift: the correct way to initialize a model class with many properties - initializationCollect-repeat cuts the last element - htmlThe RSA mechanism does not use the functions mentioned in struct - cError loading cygwin packages from mirror sites during installation - cygwinThe browser stack, replacing the session name with a class or test Name - seleniumAngular2 spinner for ngFor - angularAll Articles