android,google-play,google-play-services
Only system apps can install packages without interaction. System apps have root-like access rights. Google play is the system application, and is able to install packages in background without confirmation. that's the only reason.
ios,swift,google-play-services
I think you're supposed to use CocoaPods to install it. https://cocoapods.org/pods/GGLInstanceID...
android,google-play,google-play-services,google-account
The admin always has the access. If you delete him, you get the access right.
java,android,android-studio,google-play-services,google-fit
The API has changed slightly since that video was released. See the SensorApi documentation for more details. The DataSourceListener has been replaced by the OnDataPointListener which is used in a call to SensorApi.add(GoogleApiClient, SensorRequest, OnDataPointListener).
unity3d,google-play-services,android-savedstate
This problem got solved by breaking this into two parts, On game start call Activate platform. And then call for login.
I think I have found the root cause for it, in your build.gradle(app) file inside defaultConfig, set multiDexEnabled flag to true (MultiDex) Put compile dependency compile 'com.android.support:multidex:1.0.0' under dependencies Now, in your Application class, add this @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); MultiDex.install(this); } This works....
android,google-analytics,google-play-services,install-referrer
Try extending CampaignTrackingReceiver instead of BroadcastReceiver. Then in your onReceive method call super.onReceive(context, intent); Also you are calling the Service from the Receiver. Analytics provides both the CampaignTrackingService and CampaignTrackingReceiver. When you are providing your own receiver implementation you should pass the call to Analytics CampaignTrackingReceiver.onReceive instead of direct call...
android,maven,google-play-services
From Google-Developers: In versions of Google Play services prior to 6.5, you had to compile the entire package of APIs into your app. In some cases, doing so made it more difficult to keep the number of methods in your app (including framework APIs, library methods, and your own code)...
android,google-play-services,google-play-games
You should see this tutorial. http://www.androidhive.info/2014/02/android-login-with-google-plus-account-1/
android,android-studio,google-play-services
After you have selected a folder to import as an Android Studio project in the next step you will be presented with a dialog that allows you to select how to import the project. 'Import from external model - Gradle' is one of the options. I believe the instructions you...
java,android,google-play-services,android-location
Can you tell me is there something I'm doing wrong? First, a Service is a Context. You do not need to — or even want to — pass in some Context to it. Second, your constructor should never be used. Replace it with a zero-argument constructor. Third, start() and...
android,google-maps,google-play-services,marker,supportmapfragment
Instead of Making new instance of SupportMapFragment, you should try extending SupportMapFragment class. Check this.
java,android,eclipse,android-gcm,google-play-services
I saw that the method getNoBackupFilesDir is found in android.support.v4.content.ContextCompat. Seems that the problem was that I had an old appcompat-v7 included in the project. Download with the SDK manager the last version of Android Support Library and then follow the steps for Adding libraries with resources and add the...
android,google-play-services,google-maps-api-2
google-play-services.jar will only interract with installed play services on the smartphone. You can't emmbed the play service application in your apk, there's nos sense. For peoples who want to use your application, they need to download it by the play store or maybe they already have google music or google...
android,android-studio,google-play-services
Thanks Murtaza for contributing to this but I found the solution in between all this. I was using Google API image in Emulator where the Google Play Services are already installed. So we have 2 options of Uninstalling/Reinstalling them, of which NONE worked. What I did was downloaded the APK...
android,google-play-services,android-notifications,google-play-games
I realized that I didn't have a listener registered for invitations. After registering one, I was able to achieve my desired functionality. I'm relieved that it's working, but it would have been nice to notice that much sooner...
android,google-plus,google-play-services
[Solved] I try to download new version of google-play-services library and import error is gone. So, always update/download newest version of google-play-services library.....
android,google-play-services,multiplayer,google-play-games
I eneded up using the Serializable attribute built into C#. I chose this route, as it gracefully handles issues around versioning. More information can be found here: https://msdn.microsoft.com/en-us/library/7ay27kt9(v=vs.110).aspx...
What you describe there is why setUpdateCurrent was introduced - apps wanted a way to "only schedule their task if it didn't already exist" But what do you mean by "how do i prevent that the task is running twice"? You are scheduling a PeriodicTask, which means that the task...
unity3d,google-play-services,google-play-games,google-cloud-save
Parse.com might be a good solution for this. It's a cloud database (with support for cloud logic), integrated well with programming languages (including Unity/C#/Javascript).
android,google-play,apk,google-play-services,android-install-apk
The solution that I can think of to installing company apps is to upload an installer app to Google Play that has been developed specifically by the company and used only for the company, even if it's available to everyone in Google Play. I'm pretty certain that only the...
java,android,eclipse,google-play-services
I wasted a lot of time of findout the solution. The core of bug is Android SDK updating went wrong, old version of Eclipse, not enought memory for Eclipse Java Machine (more detailed about memory bug here). Even I've tryed to update build tools, API, etc. it didn't work. But...
android,google-drive-sdk,google-play-services,google-drive-android-api
Do not mix DriveId with ResourceId. Both look like strings, but DriveId is different from ResourceId. See SO 21800257. Also, ResourceId is not immediately available, see SO 22874657. DriveId usually looks like: "DriveId:CAESHDBCMW1RVblahblahblahblahMYjAUgssy8yYFRTTNKRU55" whereas ResourceId is more like: "UW2ablahblaghblahNy00Ums0B1mQ" UPDATE: Since so many developers fight this issue, I'll try to...
android,google-play,google-play-services
Beta versions are not searcheable on Google Play. Even if you are one of the beta testers. Source: https://support.google.com/googleplay/android-developer/troubleshooter/3055329?hl=en...
android,google-play-services,android-wear
Actually the Fit API is available on Android Wear devices. But you still have to do the initial setup (Step 5) one time on a paired handheld device. Once you've logged in and displayed the consent screen on the phone, you can access the API from the watch. A recommendation...
java,android,google-maps,google-play-services,google-maps-api-2
As the error suggests, your AndroidManifest.xml must contain: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> ...
java,android,eclipse,osx,google-play-services
PROBLEM FINALLY SOLVED My Mac osx computer had Eclipse installed in two places, one in applications (Where I canged the .ini) and one in Downloads, which I had not touched. ... osx, this took some hours....
java,android,qt,google-play-services
Well, I've managed to fix this errors by including android support library into my project by copying it from android-sdk\extras\android\support\v4 to PROJECT_DIR\ANDROID_PACKAGE_SOURCE_DIR\libs folder.
android,google-play-services,google-api-client
The Problem is with mGoogleApiClient.isConnected(), it gives you false and that's why it is unable to perform the further working. If you just remove the if(mGoogleApiClient.isConnected()) part, it will work. Do it like this: public void showPlaces() { PendingResult<PlaceLikelihoodBuffer> result = Places.PlaceDetectionApi.getCurrentPlace(mGoogleApiClient, null); result.setResultCallback(new ResultCallback<PlaceLikelihoodBuffer>() { @Override public void onResult(PlaceLikelihoodBuffer...
android,google-play-services,google-play-games
The leaderboard can only be viewed in-app, you can only see how many people improved their scores in console and other stadistics.
android,google-play-services,build.gradle
You may hitted the 65k methods limit. To use Google Play Services with more granularity, follow this guide, you can use only parts that you want. Probably this will fix your problem
java,android,eclipse,google-play-services,google-cloud-messaging
The problem is the bug of SDK and Eclipse. The library google-play-service.jar didn't attached in a proper way. Just full reinstalling Eclipse (with ADT) and SDK helped to me. The connected question about all classes (not only Cloud Messages) is here. Do not forget about memory increasing in eclipse.ini file.
This happens because you used the SHA1 fingerprint from your release key. But the build you test is signed with the android debug key.
android,google-play-services,picasa
Picassa API This is the Picassa API. Enjoy it....
LocationSettingsRequest.Builder has a method setAlwaysShow that, even if documentation says that currently does nothing, changes the buttons of the dialog. Instead the default Yes, Not now and Never buttons if you call setAlwaysShow(true); you will have only Yes and No, so the user won't choose Never and you will never...
android,google-play-services,proguard,android-proguard
Make sure you are compileSDK is >= 19. View#isAttachedToWindow was added in 19.
java,android,geolocation,google-play-services
Well there are a few ways to get the expected result. Let me write the steps for one of them: a) Use a ProgressDialog and start it in onCreate b) Move the getForecast() from onCreate c) In the onConnected method, once the lat and long are available, check if the...
I think you can check sample project by google
java,android,google-play-services
I solved this by basically moving my project to a different location and changing GooglePlayServicesClient with GoogleApiClient wherever possible. Now it compiles and works fine, hopefully this will help some other fella. Also this site kind of explains how to update to the new GoogleApiClient. Updating to GoogleApiClient...
android,libgdx,google-play-services
To send score to multiple leaderboard there is a need to create all those multiple leaderboard and just send score to particular one. To call all leaderboard at once on single button click use this on getleaderboard() startActivityForResult( Games.Leaderboards.getAllLeaderboardsIntent( gameHelper.getApiClient()), 1 ); . Might help somebody. ...
android,google-play,google-play-services
You can use gradle-play-publisher. Add this to your gradle dependancies: classpath 'com.github.triplet.gradle:play-publisher:1.0.2' Set up your credentials play { serviceAccountEmail = 'your-service-account-email' pk12File = file('key.p12') } And you can build and upload your apk using gradlew publishRelease ...
java,android,eclipse,location,google-play-services
The error suggests that the classes from the google-play-service project are not loading. Make sure you are referencing a copy of the project in your workspace, and not the copy that is in the sdk directory. Try doing that or deleting the google service project from your workspace and redoing...
android,google-maps,google-plus,google-play-services,facebook-android-sdk
It entirely depends on what APIs you have added to your GoogleApiClient via addApi - if you include an API that requires login (such as Plus.API, then yes, you will need the user to sign in. If however, you only include APIs that do not require login (such as LocationServices.API),...
android,google-play-services,android-location
No You are not required to be login to Google Play services in the device Just Google Play Services is required to be installed in the device which is running the apk ...
android,google-play-services,google-app-invites
If you add it to your own app it shows the play store content automatically.
android,google-play-services,android-wear,moto-360,data-layer
I have a similar problem when I use Google Play Services on ASUS ZenWatch, In wearable always throw error: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null Google Play services out of date. Requires 7327000 but found 6774534 I found wearable and handheld Google Play Services may be not syncing, I don't know why. So, check...
android,android-studio,google-play-services,usb-debugging
Your device should have the latest Google Play Services Your project should have the latest Google Play Services Gradle configuration: dependencies { compile 'com.google.android.gms:play-services:7.3.0' } Use GoogleApiAvailability class to check for this on the device ...
The problem was I wasn't building the .ane file right. This blog helped me and I got it working: http://jmsliu.com/2143/add-admob-ads-in-flash-based-android-apps.html Specifically, i had no idea i had to include: google-play-services-res: this folder contains all resource required by google play service lib. It is copied from google play services lib. You...
android,google-maps,android-studio,google-play-services,google-play-developer-api
If you are using Android Studio open the build.gradle file and enter inside dependencies dependencies { compile 'com.google.android.gms:play-services:4.2.+' } more info Add Google Play Services to Your Project...
android,svn,google-play-services,subclipse,android-sdk-tools
Finally I solved the issue by deleting two apis i.e API 22(Android M) and Tools. Don't know why the issue is coming after installing these APIs. After all I'm able to get R.java classes and recompile the apps. I have attached a image of both packages after deleting. ...
android,android-gcm,google-play-services,google-cloud-messaging
gcm.jar is the old client library used for registration to GCM and receiving GCM messages in the app. It is deprecated, and therefore you are advised not to use it. Since it's deprecated, it's more likely to have more problems and work in less devices than the GoogleCloudMessaging class of...
java,android,location,google-play-services
You can use the fused location provider APIs in the Google Play Service library to retrieve the device's last known location: Location lastLocation = LocationServices.FusedLocationApi .getLastLocation(mGoogleApiClient); if (lastLocation != null) { double latitude = lastLocation.getLatitude(); double longitude = lastLocation.getLongitude(); //Once you get the coordinates, you can retrieve the city name...
android,admob,google-play-services
You should post your complete code. If you haven't attached the adView to your layout, you can do so in the following manner: RelativeLayout.LayoutParams adViewParams = new RelativeLayout.LayoutParams( RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT); adViewParams.addRule(RelativeLayout.CENTER_HORIZONTAL | RelativeLayout.ALIGN_PARENT_TOP); RelativeLayout layout = new RelativeLayout(this); layout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); AdRequest adRequest...
android,unity3d,google-play-services
The leaderboard score needs to be greater than the last one or it will not be changed, its an incremental leaderboard and you cannot decrease its value. (For each user/player)
android,google-api,google-play-services,google-play-games
Fixed. After getting countless SIGN_IN_REQUIRED I managed to allocate a lot of RESULT_APP_MISCONFIGURED. The solution? It's very important to add a ProGuard exception, as described here....
android,eclipse,apk,google-play-services
So .. I found the solution in goonerdroid comment, I started using Proguard and compiling only relevant parts of google play services and the size of my APK decreased significantly. * the difference is shown only in exported APK but that's what really matters..
android,download,google-play,apk,google-play-services
Unfortunately that functionality is handled by the user's browser, and none automatically install apks (and right so, as that would lead to many malware).
android,google-plus,google-play-services,google-plus-one
The answer to my question is built of 2 parts As noted by TomTsagk and shkschneider - there must have been an exception that was thrown, and there was! - the problem was that we used an experimental 3rd party sdk and it was swallowing our exceptions system wide The...
android,google-play,google-play-services
does Google release Google Play Service beta versions for developers prior to releasing the full versions to the public? No. They do the opposite -- they do not release the updated Play Services SDK until a preponderance of devices have been updated to be able to support it. If...
java,android,google-maps,google-play-services,google-places-api
Well, you can always use Google Places API Web Service, which looks something like this: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&keyword=cruise&key=API_KEY where location — The latitude/longitude around which to retrieve place information. This must be specified as latitude,longitude. ...
android,google-play,google-play-services,google-play-games
You should make the following call on each of the other players devices: Games.TurnBasedMultiplayer.finishMatch( mGoogleApiClient, mMatch.getMatchId()); This will cause the following status changes on each players device: Match status will change from MATCH_STATUS_ACTIVE to MATCH_STATUS_COMPLETE Match turn Status will change from MATCH_TURN_STATUS_MY_TURN to MATCH_TURN_STATUS_COMPLETE. The participant status of the player...
android,android-studio,google-play-services,location-client
There is no LocationClient in package android.location. This is why your import is resulting in an error. In fact, the LocationClient class is deprecated. From Google Play Services | Android Developers: Deprecated clients - The ActivityRecognitionClient, LocationClient, and PlusClient classes are deprecated. If you used those APIs in your app...
admob,cocos2d-x,google-play-services
I was also facing the same problem..This is due to conflict between google-play-services and GoogleAdMobAdsSdk....Here is the solution I found atlast. Update your google-play-services library. Goto your project/cocos2d/plugin/plugins/admob/proj.android/src/org/cocos2dx/plugin/ Modify the file AdsAdmob.java to package org.cocos2dx.plugin; import java.util.HashSet; import java.util.Hashtable; import java.util.Iterator; import java.util.Set; //import com.google.ads.*; //import com.google.android.gms.ads.AdRequest.ErrorCode; import...
android,android-studio,google-play-services,android-gradle,android-build
GCMRegistrar is not part of Google Play Services, but is part of the now entirely deprecated gcm.jar file. You'll need to add gcm.jar to your dependencies if you'd like to temporarily keep using it until you migrate to Google Play Services' GCM implementation: compile files('libs/gcm.jar') ...
android,android-studio,google-play-services,google-places-api
The Places API was only added in Google Play services 7.0: you'll need to update your dependency to be at least 7.0.0, although the latest as of this answer is 7.5.0. Note in almost every case, you should use selective APIs to only include the portions of Google Play services...
android,android-studio,google-play-services,location-client,location-services
LocationClient was removed from the Play Services SDK a few months ago. You now use GoogleApiClient, LocationServices.API, and FusedLocationProviderApi to access the fused location provider in Play Services. This sample project demonstrates how to get a location fix from this new API, and its use is also covered in this...
android,android-fragments,location,google-play-services
I'd make a custom Application and call getLastLocation when requested by user - then store that location in a field and make a getter for that field.
android,geolocation,listener,google-play-services
Inside your onLocationChanged(), update the location and then unregister the listener, like so : LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, this); ...
This is what i found till now: No need to do any changes on manifest file. Version code for Google Play Services is 7 digits number and its complicated from same digits as version name. For example: version 4.1.00 has code 4100000 version 6.5.99 has code 6599000 So, when i...
android,google-maps,google-play-services,android-maps-v2
Google's map-related examples, located in the directory <path-to-sdk>/extras/google/google_play_services/samples/maps keep a reference, so I believe this should be fine. The reason you have to use the async call is (I suppose), because the map probably does network requests while it's initializing (to download the tiles etc, see the docs for more...
java,android,intellij-idea,google-play,google-play-services
Error is clear: you cannot use com.android as package name so you must change it. Since you're not using graddle, I think you're forced to do 2 things Rename your package as @Eduardo Dennis or applying any other strategy Rename your package attribute on manifest.xml to new package name Then...
android,google-play-services,google-oauth
Check that the package name and signing certificate match the client ID created in Developer Console Check Google Developer Console if the given permission is given correctly for your Package Name. ...
android,google-play-services,android-location,android-maps-utils
FusedLocationProvider uses a mix of hardware to determine location based on the context of the request, meaning it's optimized transparently to you. It will also cache captured locations between applications to avoid unnecessary work to determine location info. So if a user has a variety of location-aware apps, they potentially...
c#,monodroid,google-play-services,chromecast
For anyone who might come across this problem, be wary that you need to use this line : CastClass.CastApi.SetMessageReceivedCallbacks(googleApiClient, mediaPlayer.Namespace, mediaPlayer); where mediaPlayer is a RemoteMediaPlayer. My problem was that I was using a custom implementation of the RemoteMediaPlayer and I overrided the Namespace get attribute to return a Namespace...
in-app-purchase,google-play,google-play-services,in-app-billing,in-app
When an app is uploaded to Google Play, you will be asked to set a default price for the app in your home currency. This price will be used for all countries/regions which you do not manually override. Additionally, you can set a price for each app separately in individual...
android,error-handling,google-play-services
You receive this error because you are running your code on an Android device that doesn't have the Google Play Store. You can check if your intent will succeed like this: if (intent.resolveActivity(getPackageManager()) != null) { startActivity(intent); } else { //There isn't an app that handle your intent } ...
android,android-studio,google-play-services
In Android Studio, you need to download the Google Repository from the SDK Manager to get the equivalent of Google Play Services in Eclipse. And check YOUR_ANDROID_SDK_PATH\extras\google\m2repository\com\google\android\gms\play-services and you will be able see which versions you can use.
android,xml,eclipse,ant,google-play-services
Here ant was failing to generate your build because Google no longer provides a build.xml for the Play library, we need to generate the build.xml in the Play library by running the below command android update lib-project --path <playlib_path> Now we need to clean both google_play_services_lib and your_project in eclipse...
android,admob,android-manifest,google-play-services,android-permissions
When you use compile 'com.google.android.gms:play-services:7.5.0' This implies you are using every feature of Google Play Services, including location services. If you only need a particular API, you should be using the selective APIs. In the case of ads, you can use solely: compile 'com.google.android.gms:play-services-ads:7.5.0' ...
android,android-studio,gradle,google-play-services
You have the right idea by checking to make sure you do not have any updates. The easiest way to check is simply when you have the latest downloaded in the Android SDK(locally). I am using Mac OSX: ~/android-sdk/extras/google/m2repository/com/google/android/gms/play-services/ If you look where you have YOUR-ANDROID-SDK/extras/google/m2repository/com/google/android/gms/play-services/, you will see all...
I would suggest using android studio instead of eclipse https://developer.android.com/sdk/index.html. But also, you could try launching eclipse with more memory: How can I give eclipse more memory than 512M?...
this Will the app be invisible for old version mobile Android 2.x users can use old application, but they can't upgrade it. You can try create multiple apk to old and new androids However, I recommend completely abandon support for older versions. Support takes a lot of effort, and users...
java,android,geolocation,google-play,google-play-services
Remove the constructor of MainActivity and call buildGoogleApiClient() in onCreate @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ButterKnife.inject(this); buildGoogleApiClient(); } ...
java,android,google-play-services,ioexception,google-cloud-messaging
If you actually read the logs it is pretty clear what's the problem. You are missing a required permission needed to use GCM. Caused by: java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE Inside AndroidManifest.xml add: <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> And make sure...
android,google-maps,google-play-services
Move the <uses-permission>, <uses-feature>, and <permission> elements out of <application>. They need to be immediate children of <manifest> and peers of <application>.
android,google-play-services,activity-recognition
This may come a little late. However yes this is normal. I have noticed that there is a delay during a transition from activity A to activity B (e.g. from still to walking) while there is generally no delay when the activity is constant. I guess this is because the...
your Android Support Library and Android Support Repository. Just install using the SDK manager. They are not synced with each other. Make sure you have them according to your SDK. Via the SDK Manager, you need to make sure you have Android Support Repository up to date ...
android,eclipse,google-play-services,android-mapview,android-maps-v2
Thank God. Finally it's done. Many websites said that, after doing all the stuff describing at the official tutorial site you need to do some extra things. Some of them are really helpful and some are not. Before you waste your complete day like me, remember the below things- "you...
android,google-play,google-play-services,genymotion
You receive this exception because the Google Play Services are not installed on the device (or emulator). As you can read in the Google Play Services documentation: Note: Because it is hard to anticipate the state of each device, you must always check for a compatible Google Play services APK...
android,eclipse,google-play-services,sha1,google-play-games
When you upload an apk to play store then for any api that require SHA1 must use SHA1 that was generated during signing process. Not the SHA1 that eclipse provide. Try it....