Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6986145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:46:17+00:00 2026-05-27T18:46:17+00:00

I am writing a simple Android app with an EditText and a MapView .

  • 0

I am writing a simple Android app with an EditText and a MapView. I want to be able to type “pizza near austin, tx”, and have the map zoom to pizza places in Austin, TX. I am using the Google API Java Client to send a request to Google Places API, and populate the results as overlays on the map. This is working sort of well, except that the Google Places API requires me to provide a longitude and latitude as part of the search request.

This API seems ideal for finding places near a user’s current location. However, if I am in NYC, and I want to see pizza places near Austin, TX, I would first have to parse the search string, map a location-looking part of the string to a longitude and latitude, and then run the query against Google Places API.

I wouldn’t mind doing this, if I were sure that there weren’t a better way to do it. Is there? It seems like a nut that Google has already cracked. Essentially, what I am looking for is Google Places API which will determine the latitude and longitude from the provided keyword (“pizza near austin, tx”).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:46:18+00:00Added an answer on May 27, 2026 at 6:46 pm

    Currently, the Places API does not support the use case you are describing. So, yes, the only way to do this right now is to perform a geocoding request for “Austin, TX”, then supplying the resulting LatLng in your Places Search request, using “pizza” as the argument. Also, you will have to derive the argument from the viewport returned by the Geocoding API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a simple android app which have a edittext and a button.
I'm writing app for android device, which is simple download manager. I want to
I am writing a simple Android app and have a database that will send
I am working in android. I want to show simple google map in my
To begin with, this is the first Android app I'm writing, and I have
I'm writing simple Android app to filter some events from user's calendar. The questions
I'm in the process of writing my first android app, a simple media player
I'm writing a simple xmpp client in android and I have a problem with
In short, I am writing an Android application that I want to have pull
I am writing my first simple Android App: It loads temperature samples from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.