I`ve been trying to use the Google Fit API for counting steps in my App for the Sony Smartwatch 3. I can't find any basic step-by-step tutorial for using the API.
So my question: does somebody know any tutorials or similar where I can look up how to use it?
I think this documentation of Google Fit can give you the basic or the first step that you need to do in order to connect the Google Fit API in to a Wearable Device.
For the different API from Google FIT, this page of the documentation can give you a sample code on how to use the following APIs:
AndroidWatchFace
BasicSensorsApi
BasicRecordingApi
BasicHistoryApi
BasicHistorySessions
For more information, check this SO question and these tutorials:
How To Develop Your First Google Fit App.
How To: Use GoogleFit API
Related
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 am building an android app which can suggest a list of hospitals/clinics/doctors who specialize in specific division of medicine.
For e.g If a person searches for orthopedics, the app should list all nearby hospitals which specialize in orthopedics.
I am new to android development and have never used any api like the Google Map API or the Google Places API. I read that other vendors like yelp etc. don't have enough information about such services.
Can someone help me decide which API I should be using here?
Also, when do we use google map api vs a google places api ?
Links to tutorials explaining how to use these apis would also be very helpful.
Thanks in advance.
I would suggest using either the Google Places API like you have mentioned or the yelp API:
https://developers.google.com/places/android-api/start
https://www.yelp.com/developers/documentation/v2/search_api
I, have personally used the yelp API for a personal project of mine and it pretty much does what I want it to. Please look at the documentation in both the links above and see what fits your application the best (both should work based on the description you provided). Hope this helps!
Anyone has a tutorial of making LBS applications like this? I want to make an application to determine the trajectory of the city's public transport me, but I did not find his examples everywhere, if you have please help me to develop it, thank you
It is a concept design of my application layout
To develop an android app which uses Google API's would be a combination of Google Maps API, Location Api, Direction API and also Places API(if you want to fetch the details of your source and destination). If you are developing this app for a special transit system in your city than you would specifically need their own set of API to populate your app data.
But if you want to develop something with free open source Google API you can first make use of the Google Play Services by first referring into your app project and then getting the API key, enabling the direction api "ON" in your developer console and writing code.
Please refer to this tutorial in order to get a better insight of the transit system app you want to develop. You can customize you app UI accordingly once you have the data coming in.
Here are the bunch of links from Google's official documentation regarding implementation of all API's.
https://developers.google.com/maps/documentation/android/
https://developers.google.com/maps/documentation/directions/
https://developers.google.com/places/documentation/
Hope this would help!!
I want to use google map coordinate in my android application.
http://www.google.com/intl/en/enterprise/mapsearth/products/coordinate.html?utm_source=google&utm_medium=cpc&utm_campaign=NA-LCS-2013-Geo-Products-MapsCoordinate-HouseAds&utm_term=%2Bgoogle%20%2Bcoordinate&utm_content=SearchAd&gclid=COy759vU2LsCFVMdtAodNGYAdg
I found this example on google play: https://play.google.com/store/apps/details?id=com.google.android.apps.geo.enterprise.flak
I searched on internet but didn't find documentation about how to implement google coordinate in my anndoid app.
Did any one used this before? If yes can you please put links of tutorial or links of samples?
Try this link, to the Google Maps Coordinate API Client Library for Java.
Otherwise, if you want to start from scratch, it's a RESTful api. There are a number of clients and libraries that you could use, including Volley. Also, here is a tutorial for making remote calls.
You can find everything you need here.
I have done it following this official tutorial recently. The version 2 of Google Maps Android API is different from version 1 in many points.
Is there any way to integrate google+ with my app. So that from my app, I can
Read the posts
Post something on my wall
Access different circles
At least post something
Did google provide any Api or SDK for this?
The API has now been announced at: http://googlecode.blogspot.com/2011/09/getting-started-on-google-api.html and the official homepage is: http://developers.google.com/+/
As of 29/07/2011, Google has not provided an SDK yet.
The only thing you can do for now is add a 'plus' button like the 'like' button from facebook in your webpages using javascript - look here.
EDIT:
As #ade said, the API has now been announced. so my answer is no loner relevant.
We definitely plan to involve developers and publishers in the Google+ project, but we don’t have specific details to share just yet. Please stay tuned and sign up to receive more information about Google+ developer opportunities. https://services.google.com/fb/forms/plusdevelopers/
You can only read posts using the newly announced Google plus API but you cannot share or access different circles.
More functionality is yet to be added to the Google plus API.
In order to effectively use the new Google plus API you need to authenticate the new user, so that you can serve large number of people or else you will run out of the API calls which are restricted to 1000 per day.