Google Play store app on 4.2.2 AVD? - android

Is it possible to install the Google Play store app on an Android 4.2.2 AVD?
Searching stackoverflow I've come across a lot of questions asking this, but many of the answers are incomplete or are for older versions of Android.
I followed the instructions here and my AVD does have Google Play Services installed. However, it lacks the Google Play app. Is there a way to install it on an AVD? If not, why has Google imposed this limitation?
I'd like to be able to simulate updating system apps on a virtual device. If there's a way to accomplish this without using Google Play, that would solve my problem as well.

Related

Whether google play services is a built-In installation in every android phone?

I had seen some android mobiles that doesn't have google play services. For using GCM, developers need google play services.My doubt is "Whether any android API level has built-In installation of google play services into android mobiles?". Or google play services is an optional installation in android mobiles?
No, the Google Play Services are not mandatory. There are some devices out there that don't offer them as they cost licensing fees and you need to setup the device so it "promotes" Google services. In general Android is open source and free and can be used without these services. But as they are tremendously useful most people want to use them.
Android devices without them are e.g. the Amazon Fire tablets, a lot of local Chinese devices, the new Nokia Android phone (who will ever buy one of these and why??), or most devices with custom ROMs (e.g. Cyanogenmod). As the services add a lot to Android and in fact are seen as substantial to most users, adding them afterwards is possible while not always legal (but why would Google prosecute people who want to use their services?). It is not legal to deliver these services with custom ROMs but you can find them on certain download sites. It is not always fun to get the exactly correct version and to get them working.
Usually all android phone will have play service as built in app.if not You can use the below app to use GCM,Map etc. in your app
https://play.google.com/store/apps/details?id=com.google.android.gms
For more details
http://developer.android.com/google/play-services/index.html
Google Play Service isn't mandatory for Android to run, I think it's 98% included in any Android OS because you need it for others Google Apps (Maps, Play, Google + etc)
But as you can see, it's a standalone app : https://play.google.com/store/apps/details?id=com.google.android.gms&hl=fr
So if you use it, you can check if it exists on the mobile before doing anything (and perhaps popup a Dialog to invite the user to install it)

Google Play app searching filter

I found Google Keep from the Google Play on my device.
However, after reinstalling the Android system, I can not find Google keep from the Google Play and it shows that "Your device is not compatible with this version"
I am very confused for this searching result while the same device ran well with this app before.
I can understand there are several ways to install this app on my device again.
A couple of questions confuse me..
How can I check the features that this app may change in the new version? This may cause the reason why I can not find it in the Google Play.
Will that be any possibility to modify my device source code in order to find this app on the Google Play in my device?
Thanks
I just found that shouldnt the permission(feature) issue because I can find and install other apps which require more permissions than Google Keep.
The permissions that have anything to do with hardware are:
record audio (needs microphone)
precise location (GPS)
control vibration
If your phone has these features and runs Android 4.0 and up, it should be compatible.
I see two possible reasons:
After reinstalling you have an older version of Android. If this is the case, check for updates and after updating it should work
Your device model may have been blacklisted because of compatibility issues. In this case, Google may find a solution in the future and Keep will become available.
You can install Keep anyway, sideloading it. You just have to download the .apk from somewhere (Google it and be careful for malware).

Integrating google drive with a 2.1+ android application

I'm trying to have my apps sync their database with drive so that the app data is n'sync throughout all his devices. I did some research and found this quickstart, Dr.Edit but when I downloaded the source code for a closer inspection I realised it's for 4.1+. Surprised, I checked the google drive app on google play and found out you can install it on 2.1+.
I understand that later versions of android OS not only work better but make our work as developer easier. However I am surprised I cannot find much about integrating google drive with older versions. If we check the current distribution of android versions, we can easily notice that 2.3.X alone is almost on 50% of the devices out there, so why not supporting them with our apps?
Does anyone know where to find code samples/tutorials on integrating google drive with an app written for 2.1+? I just want to sync some data (mostly the app's local database).
You can write a Drive app for any device supporting Google Play Services, which is 2.2+.
http://developer.android.com/google/play-services/index.html

What is the correct / legal procedure to obtain permission to install Android Market or Google Play on a system that's in development?

I am an Android OS developer. I have a tablet in development that I'm in the process porting Android ICS to. Now I want to install Android Market or Google Play. This system is under development, not distributed and not licenses / approved by Google yet.
I see plenty of Q & A about how to install Android Market on an emulator. I'm pretty sure I can use that same procedure to install Android Market on my development system. But that's not my question exactly.
I have a hunch, and I can see others have speculated as much, that installing (side-loading) Android Market without Google's permission is not legal. My question is, as a developer, how do I apply for or obtain or get approval from Google to download and install Android Market or Google Play on my development system? Believe me, I've searched around the Android development website aplenty.
installing (side-loading) Android Market without Google's permission is not legal
Correct.
how do I apply for or obtain or get approval from Google to download and install Android Market or Google Play on my development system?
Quoting the documentation: "Google Play is only licensed to handset manufacturers shipping devices. For questions about specific cases, contact android-partnerships#google.com".
I am also developing a tablet, got the same form but no response from Google, I'm interested in hearing if you got any.
What is happening right now, I decided to implement Slide Me as the end user app store, it is possible to brand it with your name and icon.
It works well on my test devices so I recommend it if you're just looking for a market application, give it a try.
Though, there are a whole lot more markets (and cheaper one too) out there.

Android, official download location for google play apk for testing?

I have some functionality for rating my app and for viewing/installing other apps I have on the marketplace that I need to test in the android avd emulator. To do this I need to have the latest google play apk installed but I am unsure of the official location to download this from so I can install it on to the emulator.
Lot's of the sources I have found are for file sharing sites and out of date apks and I would be grateful for a link to the official apk. For some reason best known to themselves I don;t seem to be ble to get it from the main google play site. this is most confusing!
Or is there another way to test market app functionality on an emulator?
what you are looking for is: "market://details?id=" + APP_PNAME
I strongly recommend using the android code snippet app rater
good luck
First, this is not a programming question. Second, there is no such thing as an 'official download location'. The Play Store application is only available on licensed devices. Even if you pulled the apk from your device, it won't run on the emulator as is, since it requires other components as well. So, test on a real device if you need access to the Market/Play store.

Categories

Resources