Download Google Play app as APK to sdcard - android

My Android application need to be able to download some app from Google Play to sdcard. I am not talking about installation of an application from Google Play, but rather just downloading APK.
And I am looking for API which can do this in either
Android
Google Play web API

Related

Difference between Google API intel x86 atom and Google Play intel x86 atom sytem image

While downloading Android 8.0 sdk platform using Android Studio, I see these two system images.
Google API intel x86 atom system image
Google Play intel x86 atom sytem image
What is the difference between these two?.
The play image has the Google Play store already installed and you can install apps, but there is no root access as it is a production build and not a debug build.
The main difference between Google API system image and Google Play system image basically lays on the capabilities of each one to access the Google Play Store directly or not.
Here is for more explanation regarding that matter.
Hope, could be a helped for the other.
"Google APIs" images include the Play services that many apps rely on but no Play Store app
"Google Play" images include both the Play Store app and the Play services
For Google's description, see Create and manage virtual devices | Android Developers
What all answers are missing: If you use the billing library from Google, you need the "Google Play image" for testing. This has nothing to do with installing apps, but you need the Play Store installed to test your "in-app" purchases and subscription products.
Otherwise you will get this error from BillingClient:
Billing service unavailable on device
Based on Documentation:
A system image labeled with Google APIs includes access to Google Play services. A system image labeled with the Google Play logo in the Play Store column includes the Google Play Store app and access to Google Play services, including a Google Play tab in the Extended controls dialog that provides a convenient button for updating Google Play services on the device.
To ensure app security and a consistent experience with physical devices, system images with the Google Play Store included are signed with a release key, which means that you cannot get elevated privileges (root) with these images. If you require elevated privileges (root) to aid with your app troubleshooting, you can use the Android Open Source Project (AOSP) system images that do not include Google apps or services.
I hope helped you.

Google play services uninstalled

I accidentally uninstalled google play services from Android 5.1 device. I had no backup of the app. Then I searched play store for the app, but didn't get.
Now how can I re-install the app?
If you search with query Google Play Games in play store you should get the first link with the app.
If not, go in the browser of mobile and search on google google play games download.
Go on the below link and download the app from browser.
https://play.google.com/store/apps/details?id=com.google.android.play.games&hl=en

Google Play Store on android emulator

I have created a virtual device API 17 using Google API but after starting the devices I can only see google location apps like Google Maps, Local, Navigation and there is Google Settings too but I can't find Google Play Store even though Google Play Services is listed among the installed applications.

Android google play app

I submitted my app on google play yesterday..my app has some downloads today on the google play developer site. My question is why do I need to include the name of my app in quotes to have the google play search find it? There are no quotes in the name of my app when I created it.

Google api version v1 vs v2

I'm about to put my Android app, which uses google api v1 onto the market. I now see that v1 has been depreciated and that I am urged to use v2 instead. I see that v2 appears an order of magnitude more complex and that google play services are needed.
Since google play services are needed does that mean that my app will only be able to be distributed on google play and not, say, be distributed from my own web site?
thanks, Gary
Since google play services are needed does that mean that my app will
only be able to be distributed on google play
No, you can still distribute through any channel you want. It is a requirement for the device, not the distribution. The device your app installs on needs to have Google Play Services installed, which a number do. It is very similar to the v1 maps which required the phones have Google Maps installed, reflected in the manifest via
<uses-library android:name="com.google.android.maps">
Google likes to keep everybody using their own system as per usual. But it should still be possible to distribute via your website. You would need to save it as a .apk file.
Heres how to save as .apk file
and Heres a tutorial on how users can download and install.

Categories

Resources