Google Place Search for Android using a radius - android

I'm currently getting nearby businesses according to a radius around a given position as well as the type of business using the Google WebApp, as shown here: https://developers.google.com/places/web-service/
However, I noticed this on Google documentation :
The Google Places API Web Service is for use in server applications. If you're building a client-side application, take a look at the Google Places API for Android and the Places Library in the Google Maps JavaScript API.
So, I tried to find an equivalent method using only the Android Api, without result. I know my question is a bit borderline, but what should I use in Android? Or is it okay to keep going with the Web Service?
Thank you,
Q

You can actually integrate Web service with Android. Here is a code sample that could help you do this.
The concept of Android web service is that you can store the response from the web service request in a json file then you can manipulate the file programmatically then use the data into your android application, but not restricted to it.

The Sample and Demo u refer as WebService is an Example of Google Places API [Nearby Search Requests]. That one way using the Places API u can search for Places.
Don't get confused Google Places API Web Service is a service that returns information about places and using the APIs u can access the Places data. Well here is the link that will help u to understand it better.

Related

Using Google Places Web Service in an Android app

All of the Android APIs for Google Place searches return predictions, and these are not as accurate or as complete as the Place Search web service. Though predictions usually deliver the desired place, I've bumped into scenarios where they don't. I want to use the Android API as a primary search tool, but offer the user a search button that delivers more complete results (like those returned by the web service).
I've validated that I have a working web api-key with this url:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=47.725977,-122.047113&keyword=home%20depot&rankBy=distance&key=my-key
In a test app, I called this exact url using HttpURLConnection, and I also use an app-specific API key to validate that I can use GoogleApiClient to to get location information (lattitude and longitude). Here's a screen shot of the result:
I've been unable to successfully call a Google Place web service from my app, regardless of keys I provide (including an Unrestricted key). Google doesn't seem to want us to use web services from an app, though there are a couple of StackOverflow questions that imply it's possible.
My questions are (1) is it technically feasible to call Google Places WS from an app, and (2) if not, is there an alternative in the Android API that I'm overlooking that would achieve the detailed search results I need?

Geolocation in real time on the web

First I am not advanced programmer so be charitable ;) I need to create project which display on the map runner's way (in real time). Runner has android application (I've already create) which send latitude and longtitude. There's should be any API which checking new geolocation and another which displaying it on the map, am I right ?
I need to do this is ASP .NET, so any directions, links and tutorials will be very helpful.
Thanks 4 help
If I understand you right, you already have the android application and now you need the server side in Asp.Net?
First you can have a look at the Asp.Net WebApi. Then you can create an API where you send the latitude and longitude from your Android application.
ASP.Net WebAPI
After you have inserted the data into your database you have to fetch the data and visualize it in a map like Google Maps.
Google Maps Javascript API Examples
Here I found a ASP.Net Google Maps tutorial (but I don't tried it myself):
ASP.Net Google Maps Tutorial

How to use freelancer api for android app

I am making an android app i want to add a feature that user can operate their freelancer account with my app. I searched that freelancer provides api but i don't know that how to use that api.
Some source to get stated and tutorials for how to use that are appreciated.
thanks
Freelancer API is REST webservice API type. For example `link.
Firstly connect and download data from specific URI then parse it with JSON or XML parser.

How to use weather api services in my android app

I am new to the android, I want to develop a sample application to display weather in my android application, for this app how can I use weather API services in my android app to develop my weather application. Thanks in advance for your help.
Use JSON,
something like this http://inchoo.net
However as you see this one is for twitter but you should be able to find a good weather API which support JSON. Have a look at this website : http://www.programmableweb.com/
Good Luck :)
Find a Service that provides weather data. Create an app that will send requests to the Service and get data back. Parse data and show to a user in your app. The rules how to use weather API are different for different services. Find it out on their sites how to use their API.

What are the challenges involved in creating an app like InstaMapper for android

http://www.instamapper.com/android
I am planning to dive into android dev and i have a pretty good java and web-dev background.
i was planning to develop an InstaMapper type of application and i need to know the challenges in so basically the things involved in gps tracking and displaying the information on web page..
In simple words,
You need a web service.
You need an android app.
Your app will collect the (Latitude,Longitude) pair from your GPS receiver and sends it to your web app.
Your web app will get this values and store them in a database.
To display the path from (Lat,Long) pair, you need to implement Google Maps API inside your web pages. (Google Maps API: http://code.google.com/apis/maps/)

Categories

Resources