google-play-services

Android current location marker ID (name)

喜夏-厌秋 提交于 2019-12-12 05:44:19
问题 I am pretty much a novice at Android development, so please feel free to describe in very simple terms any advice you may give in response to my query. I would like my application to start by displaying an Activity zoomed out to an extent that shows both my current location and that of a marker that I have placed on a map some distance from me. I have successfully placed and displayed the remote marker the on the map and have found this class: LatLngBounds.Builder, which allows me to

Android application update only for one country

一个人想着一个人 提交于 2019-12-12 05:13:17
问题 Guys I have already submitted my application on Google Play store only for 4 countries. But Somehow the second version of the app should be available only for 1 country. If in Google Play Price & Distribution part I only enable for that country is the rest of 3 country will get updates or not? I need confirmation before releasing update on Play Store 回答1: Google Play not allow to update app only for one country. It means its not possible. as per @Tim Castelijns's comment But what happens if

Android : using google analytics v4 to track fragment?

喜你入骨 提交于 2019-12-12 04:49:37
问题 How can we track fragment with google analytics v4 ? Here is my application class: public class MyApplication extends Application { private static final String PROPERTY_ID = "UA-XXXXXXX-1"; public static int GENERAL_TRACKER = 0; public enum TrackerName { APP_TRACKER } HashMap<TrackerName, Tracker> mTrackers = new HashMap<TrackerName, Tracker>(); public MyApplication() { super(); } synchronized Tracker getTracker(TrackerName trackerId) { if (!mTrackers.containsKey(trackerId)) { GoogleAnalytics

Google Play Games - How to ask the user to create a gamerId account when signin in

走远了吗. 提交于 2019-12-12 04:28:20
问题 When a user signs in my web based game with Google SignIn through a web browser, access is granted. However, when the app makes a call to the Games Services API, it returns the following error: User registration incomplete If the user goes then to the Android Play Games app and creates a Gamer ID account, it works. So, is there any way to tell the user to create a Gamer ID account when she signs in if she wants to proceed? Or, better, can Google redirect her to a page for that, complete the

Android: Balancing market presence, API function availability, and approach to cleint/server authentication

可紊 提交于 2019-12-12 03:41:56
问题 I want to use Google Play Services so that I can access Google Saved Games API which allows me to seamlessly obtain authorisation tokens using Games.getGamesServerAuthCode(...) for secure server authentication on my server back end. However this function is only available through Google Play Services r29 which requires at least Android 6.0. On the other hand my actual game only requires at least Android 2.3.1. I'm a little concerned that according to this website Android 6.0 is only available

Google play services maps 9.2.0 issue

心已入冬 提交于 2019-12-12 03:37:49
问题 My Android app has been successfully using maps by including the following in my gradle ... compile project(':googleplayservices_lib') My SDK manager says I have rev 32 which appears to be the latest. So with this, everything has been working just fine. Now I'm enhancing the app and I saw some posts that says I can now use zIndex parameter when adding a marker to control the Z Index. But to do this I must add the following to my gradle . . . compile 'com.google.android.gms:play-services-maps

listChildren returning zero count on rootFolder - googledrive apiMet

二次信任 提交于 2019-12-12 03:37:20
问题 I am getting zero child from the root folder while accessing my drive. DriveFolder mFolder = Drive.DriveApi.getRootFolder(mClient); mFolder.listChildren(mClient).setResultCallback(mChilds); and the callback is - public void onResult(MetadataBufferResult arg0) { MetadataBuffer mBuffer = arg0.getMetadataBuffer(); StringBuilder mBuilder = new StringBuilder(); int count = mBuffer.getCount(); Iterator<Metadata> itr = mBuffer.iterator(); while (itr.hasNext()) { Metadata mData = itr.next(); mBuilder

Can I add Google Play Services to already published app? [closed]

浪尽此生 提交于 2019-12-12 03:36:11
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . My game is published and live on Google Play. But in the next update I want to add Play Services. Is this possible, because I read that I have to publish the Play Services first and then the game. If it's possible can you give me detailed instructions, because I tried once and

Android wear can't connect google play service

本秂侑毒 提交于 2019-12-12 03:35:45
问题 I have some problem when connect android wear with phone. I use android wear emulator (arm) & Genymotion emulator; When I connect from wear to phone my google api client returns a SERVICE_VERSION_UPDATE_REQUIRED error; (First, I also check some question like: Android wear app can't connect to google api services but I think my case is different). Tl;dr use play service wearable 8.4 => connect wear emulator + real phone -> work as well; => connect wear emulator + phone emulator(phone is

Get Email Id of device which is configured with PlayStore

大兔子大兔子 提交于 2019-12-12 02:59:18
问题 Is it possible to get email id/ ids which are configured with PlayStore app in android device. Pattern emailPattern = Patterns.EMAIL_ADDRESS; Account[] accounts = AccountManager.get(getActivity()).getAccounts(); for (Account account : accounts) { if (emailPattern.matcher(account.name).matches()) { primaryEmailID = account.name; } } By using this code I get all sets of email ids configured in device i.e, gmail, yahoo, etc. But how can I get email ids of only gmail account(I guess email ids in