i want to know limitations of google fit API (Midnight reseting issue)
i want to develop android app which is include same as google fit using google fit's API it is possible?
I want details about Google Fit, When Day is changed(How it will manage)
Check these limitations. It will be helpful.
Activity Types and
Manage Google Fit's permissions
Related
I've noticed Google has had this feature for about a year now but I don't see it on Google Places API. If you look up a library or a gym near you, Google will show how long people typically spend at the place (like a gym nearby me, "People typically spend 45 min to 1 hr here.") Is there any way to get this information on Google Places API or is it not available yet?
You are right this information is not available via Places API yet. I can see that people have already filed a feature request for this in the Google issue tracker:
https://issuetracker.google.com/issues/35830308
I would suggest staring the feature request to add your vote and subscribe to further notifications. Hopefully one day Google will implement this feature in the API.
As far as I recall, Google Places API currently does not have any functionality to provide that information. You may consider filling a feature request through Google Code. Alternatively, I'd advise to simply look up the place (in your app, that is) and parse the typical visit duration manually. There are many drawbacks to this solution depending on the method you're gonna use (such as the layout of the page may change and your app will stop working, requiring an immediate update), but it's an option.
How do I get the amount of steps the user has taken outside of an android application? Preferably using the google fit api to get the steps.
All i know is that the steps would have to be fetched in a Service or a BroadcastReceiver, but i don't know how. Does anyone know of some documentation or code that could help?
If you know a way to accomplish this without google fit that would work to.
I don't think you can take out Android apps out of the equation because Google Fit API is part of Goolge Play Services which is found on Android devices. So to work with Google Fit, you need to develop apps for Android phones. This is found in the Get Started guide of the Google Fit API.
To know about counting steps, check this documentation and a related SO post Android 4.4 Step Detector and Counter talking about counting steps using sensor of the android device (w/o Google Fit).
I made small test app which shows daily steps using Google Fit API. During testing, I was not getting any steps count. But later I realised that my Samsung S5 doesn't come's with Google Fit app so I downloaded it and after feeding some data then I tested my app again and Now I can see my steps count on my test app.
So Does this means that in order to use Google Fit API all my app users must have installed Google Fit App?
While the Google Fit app does automatically collect some information for you (such as steps, current activity) throughout the day, it should not be assumed that it is installed. In fact, for any kind of data you wish to show in your app using the Google Fit API, you should use the Recording API to record the data yourself.
In the background, the Google Fit API will dedup any identical requests across multiple apps (i.e., if your app and the Google Fit app are both installed and both record steps, it won't cost double the battery life).
I'm working on a mobile app project that uses Google Places APIs and have some questions:
From my research in Google documentation, they allow FREE and UNLIMITED use of their Google Places API data when used by Android devices. Currently, my development team is accessing Google Places Web Services API for all API calls. For the Android devices, should I have them change to use Google Places API for Android in order to take advantage of this?
I read in Google's API policy that they may allow for caching of API data (with limitations - i.e. you must refresh every 30 days, etc) if you want to increase performance of your code and/or use in offline mode, etc. However, it says you must get their permission for caching from Google. I cannot find how or where to request this permission. Would be helpful if you can point me in the right direction with a form or a link or something.
Appreciate any help. Thanks.
I'm currently using Google maps API and directions API for getting routes, however there is a limitation upto 2500 requests per day. so while searching for a way, got confused after i came across this link..
Google Maps Mobile SDK for Business: Android
Can anyone please explain the difference between this sdk and google maps API..?
its basically a software development kit that makes use of the google maps api and helps you in development of apps that use those apis... if request limitation is an issue try other opensource apis like argcis or tomtom etc
In order to use the individual SDK such as map, you would require a key. That key is persistent, meaning once you have one, you can keep using that same key in your app manifest, regardless of how many copies of the same app you have.
However, there is a daily limit imposed on how much keys can be requested per day from google to prevent abuse. With that said, I don't think you would have a problem of requesting one. If it is given out for today, just wait till tomorrow and the limit would be refreshed.
As for the Enterprise version, you get more support over the normal version. The main differences is that you get the Business SDK as a static library rather than one using the Google Play Services. That is all.