In the documentation about the access to Google Fit it appears that the interface to Google Fit is handled in a generic way that is not necessarily coupled to Google Fit as a data supplier only:
https://developers.google.com/fit/android/get-started
Is my assumption correct that therefore it does not necessarily lead to an error when Google Fit is not installed, because the Google Play services are an abstraction over the Fit API?
What does happen if I access Google Fit without Google Fit being installed?
There is no requirement for the Google Fit app to be installed to use Google Fit.
The Fit app is basically just a client of Google Play Services.
Related
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
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 trying to make an Android app to count the steps using the Google Fit API. What I was able to do was getting the steps from the sensors, but only with the Google Fit app installed. If the Google Fit app isn't installed on the device, my application doesn't receive any data from the sensors. Is that intentional (to get data from Google Fit API sensors I need the app installed) or is something I did wrong?
Yes, it's possible to get Google Fit API sensors data.
You should use Google Fit Recording API to use Sensors API without installed Google Fit app.
https://developers.google.com/fit/android/record
The general point is next - your application should subscribe for some data types to collect the data without installed Google Fit app. In the case when Google Fit app is installed you don't need to use recording API because Google Fit app already uses it.
I have an app a productivity app Raise The Bar that allows "Users to level up their life". I am trying to incorporate more game aspects into the application, achievements being one of them. Is there any requirements for an app to use Google's game services in particular Achievements. I don't want to implement it just to find out that it doesn't get approved. Any experiences or links to information is greatly appreciated!
There is no approval process for using Google Play Games and other examples (such as Pedometer) which are not 'games' per se that are using Google Play Games Achievements/Leaderboards.
There are several "simple" apps on the play store using the service.
Check out the official google play service Terms of Service.
Section 1 entails the content policies
"Section 1 Developer Content Policies:
You agree to comply with the Google+ Platform Developer Policies set forth at http://developers.google.com/+/policies and the Google Play content policies set forth at http://play.google.com/about/developer-content-policy.html (or other such URLs as Google may provide for this purpose from time to time).
The content of your API Client, including any content supplied by your users or other content providers, must follow the Google+ User Content and Conduct Policy at http://www.google.com/intl/en/+/policy/content.html. "
You'll realize there's nothing like "Your software application must be a sophisticated video game with high intensive graphics using OpenGL ES 3.0"
I have released a game that uses Google Game Services on Google Play. Everything works, but when I look on my game in Google Play it doesn't show that it's using Game Services. Some other games do (like Riptide GP for instance). What is controlling this?
Implementing the Google Play Game Services features is not sufficient, your users have to use the service for you to get the badges.
Let me quote from this video from Google I/O 2013: Practical Android Games Development
http://youtu.be/ZbQWf7C5ymU?t=23m39s
"As you get more users you will get badges. [...] However, they are not just given out because you put them in the config, and we don't snoop your APK to see if you are making API calls from there. We verify how much the feature is being used and if you meet certain threshold we give you a badge. So you need to actually integrate it, it is not a token thing that you can put there to get more eyeballs in the store."