Local Search on google maps

by zeeshan mirza » Wed, 22 Dec 2010 10:26:23 GMT


Sponsored Links
 I am looking for a code example like "Place" application available in
android which helps you to find resturans of coffee shops aroudn you.
I want to code my own application like that place application but not
on a very heigh level but just on a learning level. Let me know if
somebody knows a userful tutorial or have allready created such
application.

-- 



Re: Local Search on google maps

by TreKing » Wed, 22 Dec 2010 11:56:03 GMT


 On Tue, Dec 21, 2010 at 8:26 PM, zeeshan mirza <




 http://code.google.com/apis/maps/documentation/places/ 

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Re: Local Search on google maps

by zeeshan mirza » Wed, 22 Dec 2010 12:34:26 GMT


 thanks treking for your reply. Do you know if there is any code
example available about this place API ? What is the difference
between google SEARCH API and Place API ? I think search api can also
be used for finding places?

-- 



Re: Local Search on google maps

by TreKing » Wed, 22 Dec 2010 13:07:33 GMT


 On Tue, Dec 21, 2010 at 10:34 PM, zeeshan mirza <




I don't.



I don't know. Try going to the website for both and reading the
descriptions.



That's not a question? Try reading the documentation for the search API and
see what it says.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 



Re: Local Search on google maps

by Spiral123 » Wed, 22 Dec 2010 13:07:48 GMT


 I think the Places API is still in limited developer preview.

You could use the ajax api for a local search:
 http://code.google.com/apis/ajaxsearch/documentation/ #fonje.  Not too
difficult, but probably not 'learning level'.  Beware if you use this
as it was deprecated last month.  The replacement is the Custom Search
API......still in Labs with a limit of 100 searches per IP address per
day.  Oh, you need to sign up for a key to use that btw.

On Dec 21, 11:34pm, zeeshan mirza <zeeshan.nabeel.mi...@gmail.com>



-- 



Re: Re: Local Search on google maps

by zeeshan mirza » Wed, 22 Dec 2010 13:18:36 GMT


 Thanks for your reply spiral. Is it possible to use ajax in android
application? and is there any query limitation?

-- 



Re: Re: Local Search on google maps

by Sarwar Erfan » Wed, 22 Dec 2010 13:29:02 GMT


 I have visited the link 
( http://code.google.com/apis/ajaxsearch/documentation/ #fonje), it does have 
a RESTful interface.
But, the top of the page says its deprecated. I wonder how wise will it be 
to use a deprecated API in a new project.
And, it do have limits (though dont know the exact limitations). The top of 
the page says:

*It will continue to work as per our deprecation 
policy< http://code.google.com/apis/websearch/terms.html> ;, 
but the number of requests you may make per day will be limited. Therefore, 
we encourage you to move to the new Custom Search 
API< http://code.google.com/apis/customsearch/v1/overview.html> ;
.*
*
*
Regards
Sarwar Erfan

-- 



Re: Local Search on google maps

by Spiral123 » Wed, 22 Dec 2010 13:29:44 GMT


 yes.  for the local search example (which sends a JSON reply), build
the URL query and wrap it in a getHttpJson call:

jsonResponse = getHttpJson(urlRequest);

query limitations vary by API.  check the Terms of Service for each
one.



On Dec 22, 12:18am, zeeshan mirza <zeeshan.nabeel.mi...@gmail.com>



-- 



Other Threads

1. Short question: Is HTC Dream multi-touch screen natively? Tks

Short answer: no, it is not.






-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~

2. ListPreference how to create Multi-Choice?

ListPreference default is Single-Choice, how to create Multi-Choice?  help!

--~--~---------~--~----~------------~-------~--~----~

3. Clarification on static variables

4. " How long the ADB Support "

5. Callback to activity after layout has completed?

6. Some transactions are charged a 5% transaction fee instead of the usual 30%

7. Short question: Is HTC Dream multi-touch screen natively? Tks